summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/evp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/evp')
-rw-r--r--src/lib/libcrypto/evp/evp_local.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/evp/evp_local.h b/src/lib/libcrypto/evp/evp_local.h
index 3e90e068e6..5d541ffec4 100644
--- a/src/lib/libcrypto/evp/evp_local.h
+++ b/src/lib/libcrypto/evp/evp_local.h
@@ -1,4 +1,4 @@
1/* $OpenBSD: evp_local.h,v 1.23 2024/08/22 12:24:24 tb Exp $ */ 1/* $OpenBSD: evp_local.h,v 1.24 2024/08/28 07:15:04 tb Exp $ */
2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL 2/* Written by Dr Stephen N Henson (steve@openssl.org) for the OpenSSL
3 * project 2000. 3 * project 2000.
4 */ 4 */
@@ -112,6 +112,9 @@ struct evp_pkey_asn1_method_st {
112 int (*pkey_bits)(const EVP_PKEY *pk); 112 int (*pkey_bits)(const EVP_PKEY *pk);
113 int (*pkey_security_bits)(const EVP_PKEY *pk); 113 int (*pkey_security_bits)(const EVP_PKEY *pk);
114 114
115 int (*signature_info)(const X509_ALGOR *sig_alg, int *out_md_nid,
116 int *out_pkey_nid, int *out_security_bits, uint32_t *out_flags);
117
115 int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder, 118 int (*param_decode)(EVP_PKEY *pkey, const unsigned char **pder,
116 int derlen); 119 int derlen);
117 int (*param_encode)(const EVP_PKEY *pkey, unsigned char **pder); 120 int (*param_encode)(const EVP_PKEY *pkey, unsigned char **pder);