diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-01-11 12:52:52 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-01-11 12:52:52 -0500 |
commit | ac3b559e934b02d2fa690ea7dcd2e7e92553dc9e (patch) | |
tree | c47ffa1383441605ade9e0ef68150e505efaa2db /src/common | |
parent | f31b3857febf793a12408dc60cd793fe85778637 (diff) | |
parent | 870b5e2227c4382aef1d98b1b5fc9d5f4d275c1c (diff) | |
download | tor-ac3b559e934b02d2fa690ea7dcd2e7e92553dc9e.tar.gz tor-ac3b559e934b02d2fa690ea7dcd2e7e92553dc9e.zip |
Merge branch 'bug20569_030_02_squashed'
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/crypto.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h index bf2fa06aaa..64df52cb58 100644 --- a/src/common/crypto.h +++ b/src/common/crypto.h @@ -59,10 +59,12 @@ #define DIGEST256_LEN 32 /** Length of the output of our 64-bit optimized message digests (SHA512). */ #define DIGEST512_LEN 64 -/** Length of our symmetric cipher's keys. */ +/** Length of our symmetric cipher's keys of 128-bit. */ #define CIPHER_KEY_LEN 16 -/** Length of our symmetric cipher's IV. */ +/** Length of our symmetric cipher's IV of 128-bit. */ #define CIPHER_IV_LEN 16 +/** Length of our symmetric cipher's keys of 256-bit. */ +#define CIPHER256_KEY_LEN 32 /** Length of our public keys. */ #define PK_BYTES (1024/8) /** Length of our DH keys. */ |