diff options
author | Neal H. Walfield <[email protected]> | 2016-02-03 13:23:51 +0000 |
---|---|---|
committer | Neal H. Walfield <[email protected]> | 2016-02-14 13:46:30 +0000 |
commit | 9663b088480cef6734a3c5892d5ddbbd60ecc1a4 (patch) | |
tree | f8ec39ad5d9f271b7a8c7c61528d8df25985d1e8 /g10/dek.h | |
parent | gpg: Fix calc_header_length when LEN is 0 and improve documentation. (diff) | |
download | gnupg-9663b088480cef6734a3c5892d5ddbbd60ecc1a4.tar.gz gnupg-9663b088480cef6734a3c5892d5ddbbd60ecc1a4.zip |
gpg: Improve API documentation.
* g10/seskey.c (make_session_key): Improve documentation.
(encode_session_key): Improve documentation.
* g10/encrypt.c (encrypt_seskey): Remove gratuitous initialization.
* g10/dek.h (DEK): Improve documenation.
--
Signed-off-by: Neal H. Walfield <[email protected]>
Diffstat (limited to 'g10/dek.h')
-rw-r--r-- | g10/dek.h | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -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]; |