diff options
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index f1fe8a1e34..ca51429fa0 100644 --- a/src/lib/libcrypto/evp/evp.h +++ b/src/lib/libcrypto/evp/evp.h | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: evp.h,v 1.79 2020/04/27 19:31:02 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.80 2021/03/29 15:57:23 tb Exp $ */ |
2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) | 2 | /* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com) |
3 | * All rights reserved. | 3 | * All rights reserved. |
4 | * | 4 | * |
@@ -1149,6 +1149,10 @@ void EVP_PKEY_CTX_set0_keygen_info(EVP_PKEY_CTX *ctx, int *dat, int datlen); | |||
1149 | 1149 | ||
1150 | EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *key, | 1150 | EVP_PKEY *EVP_PKEY_new_mac_key(int type, ENGINE *e, const unsigned char *key, |
1151 | int keylen); | 1151 | int keylen); |
1152 | #if defined(LIBRESSL_INTERNAL) | ||
1153 | EVP_PKEY *EVP_PKEY_new_CMAC_key(ENGINE *e, const unsigned char *priv, | ||
1154 | size_t len, const EVP_CIPHER *cipher); | ||
1155 | #endif | ||
1152 | 1156 | ||
1153 | void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void *data); | 1157 | void EVP_PKEY_CTX_set_data(EVP_PKEY_CTX *ctx, void *data); |
1154 | void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx); | 1158 | void *EVP_PKEY_CTX_get_data(EVP_PKEY_CTX *ctx); |
@@ -1512,6 +1516,9 @@ void ERR_load_EVP_strings(void); | |||
1512 | #define EVP_R_INVALID_OPERATION 148 | 1516 | #define EVP_R_INVALID_OPERATION 148 |
1513 | #define EVP_R_IV_TOO_LARGE 102 | 1517 | #define EVP_R_IV_TOO_LARGE 102 |
1514 | #define EVP_R_KEYGEN_FAILURE 120 | 1518 | #define EVP_R_KEYGEN_FAILURE 120 |
1519 | #if defined(LIBRESSL_INTERNAL) | ||
1520 | #define EVP_R_KEY_SETUP_FAILED 180 | ||
1521 | #endif | ||
1515 | #define EVP_R_MESSAGE_DIGEST_IS_NULL 159 | 1522 | #define EVP_R_MESSAGE_DIGEST_IS_NULL 159 |
1516 | #define EVP_R_METHOD_NOT_SUPPORTED 144 | 1523 | #define EVP_R_METHOD_NOT_SUPPORTED 144 |
1517 | #define EVP_R_MISSING_PARAMETERS 103 | 1524 | #define EVP_R_MISSING_PARAMETERS 103 |