diff options
| author | tb <> | 2022-07-07 13:01:28 +0000 |
|---|---|---|
| committer | tb <> | 2022-07-07 13:01:28 +0000 |
| commit | 144c180757b1433631a8e64a3dd86b9e3364d97c (patch) | |
| tree | 539767872181d9087ed86b86848b9b25031ed468 /src/lib/libcrypto/evp | |
| parent | 42eea85c684d57fd6947ac89719d3c7cb26cd34e (diff) | |
| download | openbsd-144c180757b1433631a8e64a3dd86b9e3364d97c.tar.gz openbsd-144c180757b1433631a8e64a3dd86b9e3364d97c.tar.bz2 openbsd-144c180757b1433631a8e64a3dd86b9e3364d97c.zip | |
Expose new API in headers.
These are mostly security-level related, but there are also ASN1_TIME
and ASN_INTEGER functions here, as well as some missing accessors.
ok jsing
Diffstat (limited to 'src/lib/libcrypto/evp')
| -rw-r--r-- | src/lib/libcrypto/evp/evp.h | 6 |
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); | |||
| 769 | int EVP_PKEY_id(const EVP_PKEY *pkey); | 769 | int EVP_PKEY_id(const EVP_PKEY *pkey); |
| 770 | int EVP_PKEY_base_id(const EVP_PKEY *pkey); | 770 | int EVP_PKEY_base_id(const EVP_PKEY *pkey); |
| 771 | int EVP_PKEY_bits(const EVP_PKEY *pkey); | 771 | int EVP_PKEY_bits(const EVP_PKEY *pkey); |
| 772 | #ifdef LIBRESSL_INTERNAL | ||
| 773 | int EVP_PKEY_security_bits(const EVP_PKEY *pkey); | 772 | int EVP_PKEY_security_bits(const EVP_PKEY *pkey); |
| 774 | #endif | ||
| 775 | int EVP_PKEY_size(const EVP_PKEY *pkey); | 773 | int EVP_PKEY_size(const EVP_PKEY *pkey); |
| 776 | int EVP_PKEY_set_type(EVP_PKEY *pkey, int type); | 774 | int EVP_PKEY_set_type(EVP_PKEY *pkey, int type); |
| 777 | int EVP_PKEY_set_type_str(EVP_PKEY *pkey, const char *str, int len); | 775 | int 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)); |
| 935 | void EVP_PKEY_asn1_set_ctrl(EVP_PKEY_ASN1_METHOD *ameth, | 933 | void 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 | ||
| 938 | void EVP_PKEY_asn1_set_security_bits(EVP_PKEY_ASN1_METHOD *ameth, | 935 | void 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 | ||
| 942 | void EVP_PKEY_asn1_set_check(EVP_PKEY_ASN1_METHOD *ameth, | 938 | void 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)); |
