aboutsummaryrefslogtreecommitdiff
path: root/src/common/crypto.h
diff options
context:
space:
mode:
authorArlo Breault <arlolra@gmail.com>2013-05-16 12:05:50 -0700
committerNick Mathewson <nickm@torproject.org>2013-05-17 10:11:33 -0400
commit0ab38b93660b4c9cb53771a454805e978ad9f406 (patch)
tree5efcd897310a37b85ad5435e8437cfab7dd92ec0 /src/common/crypto.h
parent95c34399cfb66a46371562f1532e8aa396243876 (diff)
downloadtor-0ab38b93660b4c9cb53771a454805e978ad9f406.tar
tor-0ab38b93660b4c9cb53771a454805e978ad9f406.tar.gz
Remove PK_PKCS1_PADDING
See #8792
Diffstat (limited to 'src/common/crypto.h')
-rw-r--r--src/common/crypto.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/common/crypto.h b/src/common/crypto.h
index 38eb45517..2886306a6 100644
--- a/src/common/crypto.h
+++ b/src/common/crypto.h
@@ -69,13 +69,9 @@
* signs removed. */
#define BASE64_DIGEST256_LEN 43
-/** Constant used to indicate PKCS1 padding for public-key encryption */
-#define PK_PKCS1_PADDING 60001
/** Constant used to indicate OAEP padding for public-key encryption */
#define PK_PKCS1_OAEP_PADDING 60002
-/** Number of bytes added for PKCS1 padding. */
-#define PKCS1_PADDING_OVERHEAD 11
/** Number of bytes added for PKCS1-OAEP padding. */
#define PKCS1_OAEP_PADDING_OVERHEAD 42