diff options
author | Dr. Stephen Henson <steve@openssl.org> | 2006-04-09 21:24:48 +0000 |
---|---|---|
committer | Dr. Stephen Henson <steve@openssl.org> | 2006-04-09 21:24:48 +0000 |
commit | 75d44c0452e8807dcd9dd126390dd8df35c57efa (patch) | |
tree | ac28208d2d3dc38b2eab15bae118af8cde81d098 /crypto/rsa/rsa.h | |
parent | a58a6368383d55ab35ad4f4cdcb0f54310e7fd32 (diff) |
Store digests as EVP_MD instead of a NID.
Add digest size sanity checks.
Diffstat (limited to 'crypto/rsa/rsa.h')
-rw-r--r-- | crypto/rsa/rsa.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/rsa/rsa.h b/crypto/rsa/rsa.h index a7a06b4acb..e9f87694de 100644 --- a/crypto/rsa/rsa.h +++ b/crypto/rsa/rsa.h @@ -351,6 +351,7 @@ void ERR_load_RSA_strings(void); /* Function codes. */ #define RSA_F_CHECK_PADDING_NID 140 #define RSA_F_MEMORY_LOCK 100 +#define RSA_F_PKEY_RSA_SIGN 142 #define RSA_F_PKEY_RSA_VERIFYRECOVER 141 #define RSA_F_RSA_BUILTIN_KEYGEN 129 #define RSA_F_RSA_CHECK_KEY 123 @@ -412,6 +413,7 @@ void ERR_load_RSA_strings(void); #define RSA_R_D_E_NOT_CONGRUENT_TO_1 123 #define RSA_R_FIRST_OCTET_INVALID 133 #define RSA_R_INVALID_DIGEST 105 +#define RSA_R_INVALID_DIGEST_LENGTH 143 #define RSA_R_INVALID_HEADER 137 #define RSA_R_INVALID_MESSAGE_LENGTH 131 #define RSA_R_INVALID_PADDING 138 |