aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-02-11 12:59:19 +0000
committerWerner Koch <[email protected]>2016-02-13 16:06:40 +0000
commit59fc3507d18072833559f227ecab8aa00cad9466 (patch)
tree935f0a284df52e201679426ab517d7b89d8461c2
parentg13: Rename utils.c to g13tuple.c (diff)
downloadgnupg-59fc3507d18072833559f227ecab8aa00cad9466.tar.gz
gnupg-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 <[email protected]>
-rw-r--r--g13/keyblob.h12
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. */