]> granicus.if.org Git - openssl/commitdiff
Typo.
authorDr. Stephen Henson <steve@openssl.org>
Fri, 16 Sep 2011 23:04:07 +0000 (23:04 +0000)
committerDr. Stephen Henson <steve@openssl.org>
Fri, 16 Sep 2011 23:04:07 +0000 (23:04 +0000)
crypto/evp/e_aes.c
crypto/evp/evp.h
crypto/evp/evp_err.c

index d84bc80ef9a478d2a7697e91e1050485b0341d2c..6dc923401201d2f1e438ba766273c83f3c17df51 100644 (file)
@@ -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
index 828af5fb5c9e8dc7eb2fa365e509ab94731dcb7b..49d2240883b7e99371f910cbdd519ab80577f8e6 100644 (file)
@@ -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
index e3c7752968f9dbfad51fc42b1c8481bcb52c297a..db0f76d59bcd8d034e0e9c91b3445e6add0a4391 100644 (file)
@@ -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"},