mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-03 22:56:33 +02:00
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 <neal@g10code.com>
This commit is contained in:
parent
5cdde08ea8
commit
9663b08848
3 changed files with 24 additions and 13 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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue