|
@@ -402,7 +402,6 @@ struct evp_cipher_st
|
|
|
/* Length of tag for TLS */
|
|
|
#define EVP_GCM_TLS_TAG_LEN 16
|
|
|
|
|
|
-
|
|
|
typedef struct evp_cipher_info_st
|
|
|
{
|
|
|
const EVP_CIPHER *cipher;
|
|
@@ -789,8 +788,8 @@ const EVP_CIPHER *EVP_aes_128_cfb128(void);
|
|
|
# define EVP_aes_128_cfb EVP_aes_128_cfb128
|
|
|
const EVP_CIPHER *EVP_aes_128_ofb(void);
|
|
|
const EVP_CIPHER *EVP_aes_128_ctr(void);
|
|
|
-const EVP_CIPHER *EVP_aes_128_gcm(void);
|
|
|
const EVP_CIPHER *EVP_aes_128_ccm(void);
|
|
|
+const EVP_CIPHER *EVP_aes_128_gcm(void);
|
|
|
const EVP_CIPHER *EVP_aes_128_xts(void);
|
|
|
const EVP_CIPHER *EVP_aes_192_ecb(void);
|
|
|
const EVP_CIPHER *EVP_aes_192_cbc(void);
|
|
@@ -800,8 +799,8 @@ const EVP_CIPHER *EVP_aes_192_cfb128(void);
|
|
|
# define EVP_aes_192_cfb EVP_aes_192_cfb128
|
|
|
const EVP_CIPHER *EVP_aes_192_ofb(void);
|
|
|
const EVP_CIPHER *EVP_aes_192_ctr(void);
|
|
|
-const EVP_CIPHER *EVP_aes_192_gcm(void);
|
|
|
const EVP_CIPHER *EVP_aes_192_ccm(void);
|
|
|
+const EVP_CIPHER *EVP_aes_192_gcm(void);
|
|
|
const EVP_CIPHER *EVP_aes_256_ecb(void);
|
|
|
const EVP_CIPHER *EVP_aes_256_cbc(void);
|
|
|
const EVP_CIPHER *EVP_aes_256_cfb1(void);
|
|
@@ -810,8 +809,8 @@ const EVP_CIPHER *EVP_aes_256_cfb128(void);
|
|
|
# define EVP_aes_256_cfb EVP_aes_256_cfb128
|
|
|
const EVP_CIPHER *EVP_aes_256_ofb(void);
|
|
|
const EVP_CIPHER *EVP_aes_256_ctr(void);
|
|
|
-const EVP_CIPHER *EVP_aes_256_gcm(void);
|
|
|
const EVP_CIPHER *EVP_aes_256_ccm(void);
|
|
|
+const EVP_CIPHER *EVP_aes_256_gcm(void);
|
|
|
const EVP_CIPHER *EVP_aes_256_xts(void);
|
|
|
#if !defined(OPENSSL_NO_SHA) && !defined(OPENSSL_NO_SHA1)
|
|
|
const EVP_CIPHER *EVP_aes_128_cbc_hmac_sha1(void);
|
|
@@ -1243,6 +1242,8 @@ void EVP_PKEY_meth_set_ctrl(EVP_PKEY_METHOD *pmeth,
|
|
|
int (*ctrl_str)(EVP_PKEY_CTX *ctx,
|
|
|
const char *type, const char *value));
|
|
|
|
|
|
+void EVP_add_alg_module(void);
|
|
|
+
|
|
|
/* BEGIN ERROR CODES */
|
|
|
/* The following lines are auto generated by the script mkerr.pl. Any changes
|
|
|
* made after this point may be overwritten when the script is next run.
|
|
@@ -1257,6 +1258,7 @@ void ERR_load_EVP_strings(void);
|
|
|
#define EVP_F_AES_INIT_KEY 133
|
|
|
#define EVP_F_AES_XTS 172
|
|
|
#define EVP_F_AES_XTS_CIPHER 175
|
|
|
+#define EVP_F_ALG_MODULE_INIT 177
|
|
|
#define EVP_F_CAMELLIA_INIT_KEY 159
|
|
|
#define EVP_F_CMAC_INIT 173
|
|
|
#define EVP_F_D2I_PKEY 100
|
|
@@ -1350,15 +1352,19 @@ void ERR_load_EVP_strings(void);
|
|
|
#define EVP_R_DIFFERENT_PARAMETERS 153
|
|
|
#define EVP_R_DISABLED_FOR_FIPS 163
|
|
|
#define EVP_R_ENCODE_ERROR 115
|
|
|
+#define EVP_R_ERROR_LOADING_SECTION 165
|
|
|
+#define EVP_R_ERROR_SETTING_FIPS_MODE 166
|
|
|
#define EVP_R_EVP_PBE_CIPHERINIT_ERROR 119
|
|
|
#define EVP_R_EXPECTING_AN_RSA_KEY 127
|
|
|
#define EVP_R_EXPECTING_A_DH_KEY 128
|
|
|
#define EVP_R_EXPECTING_A_DSA_KEY 129
|
|
|
#define EVP_R_EXPECTING_A_ECDSA_KEY 141
|
|
|
#define EVP_R_EXPECTING_A_EC_KEY 142
|
|
|
+#define EVP_R_FIPS_MODE_NOT_SUPPORTED 167
|
|
|
#define EVP_R_INITIALIZATION_ERROR 134
|
|
|
#define EVP_R_INPUT_NOT_INITIALIZED 111
|
|
|
#define EVP_R_INVALID_DIGEST 152
|
|
|
+#define EVP_R_INVALID_FIPS_MODE 168
|
|
|
#define EVP_R_INVALID_KEY_LENGTH 130
|
|
|
#define EVP_R_INVALID_OPERATION 148
|
|
|
#define EVP_R_IV_TOO_LARGE 102
|
|
@@ -1383,6 +1389,7 @@ void ERR_load_EVP_strings(void);
|
|
|
#define EVP_R_TOO_LARGE 164
|
|
|
#define EVP_R_UNKNOWN_CIPHER 160
|
|
|
#define EVP_R_UNKNOWN_DIGEST 161
|
|
|
+#define EVP_R_UNKNOWN_OPTION 169
|
|
|
#define EVP_R_UNKNOWN_PBE_ALGORITHM 121
|
|
|
#define EVP_R_UNSUPORTED_NUMBER_OF_ROUNDS 135
|
|
|
#define EVP_R_UNSUPPORTED_ALGORITHM 156
|