diff options
author | tb <> | 2023-03-10 16:41:07 +0000 |
---|---|---|
committer | tb <> | 2023-03-10 16:41:07 +0000 |
commit | 54398fc74dd9018ac351906f678ed25f5e0ff3af (patch) | |
tree | 079c19f02ccf47cfbe1bb59379225d7b3caf32ec /src/lib | |
parent | ccbb1a9bdc8ccf09bfe96b0d7e030089cd54e33b (diff) | |
download | openbsd-54398fc74dd9018ac351906f678ed25f5e0ff3af.tar.gz openbsd-54398fc74dd9018ac351906f678ed25f5e0ff3af.tar.bz2 openbsd-54398fc74dd9018ac351906f678ed25f5e0ff3af.zip |
Expose the EVP_CIPHER_meth_* API (setter only) in evp.h
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/libcrypto/evp/evp.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h index c2008493a2..035b4ad28c 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.113 2023/03/01 11:17:22 tb Exp $ */ | 1 | /* $OpenBSD: evp.h,v 1.114 2023/03/10 16:41:07 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 | * |
@@ -407,7 +407,6 @@ unsigned char *EVP_CIPHER_CTX_buf_noconst(EVP_CIPHER_CTX *ctx); | |||
407 | unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx); | 407 | unsigned long EVP_CIPHER_CTX_flags(const EVP_CIPHER_CTX *ctx); |
408 | #define EVP_CIPHER_CTX_mode(e) (EVP_CIPHER_CTX_flags(e) & EVP_CIPH_MODE) | 408 | #define EVP_CIPHER_CTX_mode(e) (EVP_CIPHER_CTX_flags(e) & EVP_CIPH_MODE) |
409 | 409 | ||
410 | #if defined(LIBRESSL_INTERNAL) || defined(LIBRESSL_NEXT_API) | ||
411 | EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); | 410 | EVP_CIPHER *EVP_CIPHER_meth_new(int cipher_type, int block_size, int key_len); |
412 | EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher); | 411 | EVP_CIPHER *EVP_CIPHER_meth_dup(const EVP_CIPHER *cipher); |
413 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); | 412 | void EVP_CIPHER_meth_free(EVP_CIPHER *cipher); |
@@ -429,7 +428,6 @@ int EVP_CIPHER_meth_set_get_asn1_params(EVP_CIPHER *cipher, | |||
429 | int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *)); | 428 | int (*get_asn1_parameters)(EVP_CIPHER_CTX *, ASN1_TYPE *)); |
430 | int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher, | 429 | int EVP_CIPHER_meth_set_ctrl(EVP_CIPHER *cipher, |
431 | int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr)); | 430 | int (*ctrl)(EVP_CIPHER_CTX *, int type, int arg, void *ptr)); |
432 | #endif /* LIBRESSL_INTERNAL || LIBRESSL_NEXT_API */ | ||
433 | 431 | ||
434 | EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *engine, | 432 | EVP_PKEY *EVP_PKEY_new_raw_private_key(int type, ENGINE *engine, |
435 | const unsigned char *private_key, size_t len); | 433 | const unsigned char *private_key, size_t len); |