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.h9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp.h b/src/lib/libcrypto/evp/evp.h
index c7942cc12a..a48b81c915 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.100 2022/05/05 08:48:50 tb Exp $ */ 1/* $OpenBSD: evp.h,v 1.101 2022/06/27 12:36:05 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,6 +769,9 @@ 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);
774#endif
772int EVP_PKEY_size(const EVP_PKEY *pkey); 775int EVP_PKEY_size(const EVP_PKEY *pkey);
773int EVP_PKEY_set_type(EVP_PKEY *pkey, int type); 776int EVP_PKEY_set_type(EVP_PKEY *pkey, int type);
774int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len); 777int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len);
@@ -931,6 +934,10 @@ void EVP_PKEY_asn1_set_free(EVP_PKEY_ASN1_METHOD *ameth,
931 void (*pkey_free)(EVP_PKEY *pkey)); 934 void (*pkey_free)(EVP_PKEY *pkey));
932void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, 935void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth,
933 int (*pkey_ctrl)(EVP_PKEY *pkey, int op, long arg1, void *arg2)); 936 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,
939 int (*pkey_security_bits)(const EVP_PKEY *pkey));
940#endif
934 941
935void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth, 942void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth,
936 int (*pkey_check)(const EVP_PKEY *pk)); 943 int (*pkey_check)(const EVP_PKEY *pk));