[Pkg-gnupg-commit] [gnupg2] 20/205: g13: Define 3 new tags.

Daniel Kahn Gillmor dkg at fifthhorseman.net
Wed May 11 08:38:10 UTC 2016


This is an automated email from the git hooks/post-receive script.

dkg pushed a commit to branch experimental
in repository gnupg2.

commit 59fc3507d18072833559f227ecab8aa00cad9466
Author: Werner Koch <wk at gnupg.org>
Date:   Thu Feb 11 13:59:19 2016 +0100

    g13: Define 3 new tags.
    
    * g13/keyblob.h (KEYBLOB_TAG_CONT_NSEC): New.
    (KEYBLOB_TAG_ENC_NSEC): New.
    (KEYBLOB_TAG_ENC_OFF): New.
    
    Signed-off-by: Werner Koch <wk at gnupg.org>
---
 g13/keyblob.h | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/g13/keyblob.h b/g13/keyblob.h
index 47310e1..7540e4b 100644
--- a/g13/keyblob.h
+++ b/g13/keyblob.h
@@ -84,6 +84,17 @@
 /* This is an ISO 8601 time string with the date the container was
    created.  */
 
+#define KEYBLOB_TAG_CONT_NSEC 7
+/* Number of 512-byte sectors of the entire container including all
+   copies of the setup area.  */
+
+#define KEYBLOB_TAG_ENC_NSEC  8
+#define KEYBLOB_TAG_ENC_OFF   9
+/* Number of 512-byte sectors used for the encrypted data and its
+   start offset in 512-byte sectors from the begin of the container.
+   Note that these information can also be deduced from the
+   unencrypted part of the setup area.  */
+
 #define KEYBLOB_TAG_ALGOSTR 10
 /* For a dm-crypt container this is the used algorithm string.  For
    example: "aes-cbc-essiv:sha256".  */
@@ -121,7 +132,6 @@
    block (packet 61 with marker "GnuPG/G13\x00".  We use it to allow
    signing of that cleartext data.  */
 
-
 #define KEYBLOB_TAG_FILLER   0xffff
 /* This tag may be used for alignment and padding purposes.  The value
    has no meaning.  */

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-gnupg/gnupg2.git



More information about the Pkg-gnupg-commit mailing list