aboutsummaryrefslogtreecommitdiffstats
path: root/g10/seskey.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-04-07 18:16:10 +0000
committerWerner Koch <[email protected]>1998-04-07 18:16:10 +0000
commit86f261dbc50544d73e4b9ae71fcbc2c6df5b9612 (patch)
treed3ba75484a73e1fe891f7ff862ab1f3722cb126c /g10/seskey.c
parentcast5 does now work (diff)
downloadgnupg-86f261dbc50544d73e4b9ae71fcbc2c6df5b9612.tar.gz
gnupg-86f261dbc50544d73e4b9ae71fcbc2c6df5b9612.zip
cipher reorganisiert
Diffstat (limited to 'g10/seskey.c')
-rw-r--r--g10/seskey.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/g10/seskey.c b/g10/seskey.c
index b17302ea5..4ce8fe03b 100644
--- a/g10/seskey.c
+++ b/g10/seskey.c
@@ -78,6 +78,9 @@ encode_session_key( DEK *dek, unsigned nbits )
*
* 0 2 RND(n bytes) 0 A DEK(k bytes) CSUM(2 bytes)
*
+ * (But how can we store the leading 0 - the external representaion
+ * of MPIs don't allow leading zeroes =:-)
+ *
* RND are non-zero random bytes.
* A is the cipher algorithm
* DEK is the encryption key (session key) length k depends on the