diff options
author | Nick Mathewson <nickm@torproject.org> | 2004-04-06 03:44:36 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2004-04-06 03:44:36 +0000 |
commit | 257d509b91f12dc3f4f380a1238a05264ecb50a8 (patch) | |
tree | f68d88e98498d406442396daf5d2c447fbc9d840 /src/common/crypto.h | |
parent | 1dca309769f94777d210ba3dddf4ba8781191456 (diff) | |
download | tor-257d509b91f12dc3f4f380a1238a05264ecb50a8.tar.gz tor-257d509b91f12dc3f4f380a1238a05264ecb50a8.zip |
Document stuff, reduce magic numbers, add emacs magic
svn:r1502
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r-- | src/common/crypto.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index 36bc21fcaa..94a18abf2e 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -20,6 +20,9 @@ #define PK_PKCS1_PADDING 60001 #define PK_PKCS1_OAEP_PADDING 60002 +#define PKCS1_PADDING_OVERHEAD 11 +#define PKCS1_OAEP_PADDING_OVERHEAD 42 + typedef struct crypto_pk_env_t crypto_pk_env_t; typedef struct crypto_cipher_env_t crypto_cipher_env_t; typedef struct crypto_digest_env_t crypto_digest_env_t; |