summaryrefslogtreecommitdiffstats
path: root/crypto/evp
diff options
context:
space:
mode:
authorDr. Stephen Henson <steve@openssl.org>2011-09-16 23:04:07 +0000
committerDr. Stephen Henson <steve@openssl.org>2011-09-16 23:04:07 +0000
commitc0d29439525277c05325f6a8184b1ab2c6866713 (patch)
tree5e7af88747bce3e65ffea82b074f54a3d413f713 /crypto/evp
parent7d453a3b49e911e85883fe367a7cb18ef03382ad (diff)
Typo.
Diffstat (limited to 'crypto/evp')
-rw-r--r--crypto/evp/e_aes.c3
-rw-r--r--crypto/evp/evp.h1
-rw-r--r--crypto/evp/evp_err.c1
3 files changed, 4 insertions, 1 deletions
diff --git a/crypto/evp/e_aes.c b/crypto/evp/e_aes.c
index d84bc80ef9..6dc9234012 100644
--- a/crypto/evp/e_aes.c
+++ b/crypto/evp/e_aes.c
@@ -106,6 +106,7 @@ typedef struct
/*
* AES-NI section
*/
+
extern unsigned int OPENSSL_ia32cap_P[2];
#define AESNI_CAPABLE (1<<(57-32))
@@ -473,7 +474,7 @@ static int aesni_xts_cipher(EVP_CIPHER_CTX *ctx, unsigned char *out,
if (FIPS_module_mode() && !(ctx->flags & EVP_CIPH_FLAG_NON_FIPS_ALLOW) &&
(len > (1L<<20)*16))
{
- EVPerr(EVPNI_F_AES_XTS, EVP_R_TOO_LARGE);
+ EVPerr(EVP_F_AESNI_XTS_CIPHER, EVP_R_TOO_LARGE);
return -1;
}
#endif
diff --git a/crypto/evp/evp.h b/crypto/evp/evp.h
index 828af5fb5c..49d2240883 100644
--- a/crypto/evp/evp.h
+++ b/crypto/evp/evp.h
@@ -1253,6 +1253,7 @@ void ERR_load_EVP_strings(void);
/* Function codes. */
#define EVP_F_AESNI_INIT_KEY 165
+#define EVP_F_AESNI_XTS_CIPHER 176
#define EVP_F_AES_INIT_KEY 133
#define EVP_F_AES_XTS 172
#define EVP_F_AES_XTS_CIPHER 175
diff --git a/crypto/evp/evp_err.c b/crypto/evp/evp_err.c
index e3c7752968..db0f76d59b 100644
--- a/crypto/evp/evp_err.c
+++ b/crypto/evp/evp_err.c
@@ -71,6 +71,7 @@
static ERR_STRING_DATA EVP_str_functs[]=
{
{ERR_FUNC(EVP_F_AESNI_INIT_KEY), "AESNI_INIT_KEY"},
+{ERR_FUNC(EVP_F_AESNI_XTS_CIPHER), "AESNI_XTS_CIPHER"},
{ERR_FUNC(EVP_F_AES_INIT_KEY), "AES_INIT_KEY"},
{ERR_FUNC(EVP_F_AES_XTS), "AES_XTS"},
{ERR_FUNC(EVP_F_AES_XTS_CIPHER), "AES_XTS_CIPHER"},