From 59fc3507d18072833559f227ecab8aa00cad9466 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 11 Feb 2016 13:59:19 +0100 Subject: 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 --- g13/keyblob.h | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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. */ -- cgit v1.2.3