aboutsummaryrefslogtreecommitdiffstats
path: root/g10/dek.h
diff options
context:
space:
mode:
Diffstat (limited to 'g10/dek.h')
-rw-r--r--g10/dek.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/g10/dek.h b/g10/dek.h
index 31ebbb6d2..1a879e3af 100644
--- a/g10/dek.h
+++ b/g10/dek.h
@@ -22,10 +22,16 @@
typedef struct
{
+ /* The algorithm (e.g., CIPHER_ALGO_AES). */
int algo;
+ /* The length of the key (in bytes). */
int keylen;
+ /* Whether we've already printed information about this key. This
+ is currently only used in decrypt_data() and only if we are in
+ verbose mode. */
int algo_info_printed;
int use_mdc;
+ /* This key was read from a SK-ESK packet (see proc_symkey_enc). */
int symmetric;
byte key[32]; /* This is the largest used keylen (256 bit). */
char s2k_cacheid[1+16+1];