diff options
author | Werner Koch <wk@gnupg.org> | 2016-02-11 13:59:19 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2016-02-13 17:06:40 +0100 |
commit | 59fc3507d18072833559f227ecab8aa00cad9466 (patch) | |
tree | 935f0a284df52e201679426ab517d7b89d8461c2 /g13 | |
parent | g13: Rename utils.c to g13tuple.c (diff) | |
download | gnupg2-59fc3507d18072833559f227ecab8aa00cad9466.tar.xz gnupg2-59fc3507d18072833559f227ecab8aa00cad9466.zip |
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@gnupg.org>
Diffstat (limited to 'g13')
-rw-r--r-- | g13/keyblob.h | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/g13/keyblob.h b/g13/keyblob.h index 47310e185..7540e4bfa 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. */ |