summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp/evp.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp/evp.h')
-rw-r--r--src/lib/libcrypto/evp/evp.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index a48b81c915..0574556b63 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.101 2022/06/27 12:36:05 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.102 2022/07/07 13:01:28 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 *
@@ -769,9 +769,7 @@ int EVP_PKEY_type(int type);
769int EVP_PKEY_id(const EVP_PKEY *pkey); 769int EVP_PKEY_id(const EVP_PKEY *pkey);
770int EVP_PKEY_base_id(const EVP_PKEY *pkey); 770int EVP_PKEY_base_id(const EVP_PKEY *pkey);
771int EVP_PKEY_bits(const EVP_PKEY *pkey); 771int EVP_PKEY_bits(const EVP_PKEY *pkey);
772#ifdef LIBRESSL_INTERNAL
773int EVP_PKEY_security_bits(const EVP_PKEY *pkey); 772int EVP_PKEY_security_bits(const EVP_PKEY *pkey);
774#endif
775int EVP_PKEY_size(const EVP_PKEY *pkey); 773int EVP_PKEY_size(const EVP_PKEY *pkey);
776int EVP_PKEY_set_type(EVP_PKEY *pkey, int type); 774int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
777int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len); 775int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len);
@@ -934,10 +932,8 @@ void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth,
934 void (*pkey_free)(EVP_PKEY *pkey)); 932 void (*pkey_free)(EVP_PKEY *pkey));
935void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, 933void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
936 int (*pkey_ctrl)(EVP_PKEY *pkey, int op, long arg1, void *arg2)); 934 int (*pkey_ctrl)(EVP_PKEY *pkey, int op, long arg1, void *arg2));
937#ifdef LIBRESSL_INTERNAL
938void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth, 935void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth,
939 int (*pkey_security_bits)(const EVP_PKEY *pkey)); 936 int (*pkey_security_bits)(const EVP_PKEY *pkey));
940#endif
941 937
942void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth, 938void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth,
943 int (*pkey_check)(const EVP_PKEY *pk)); 939 int (*pkey_check)(const EVP_PKEY *pk));