Set the security-bits callback on a custom EVP_PKEY_ASN1_METHOD.
Declared in <openssl/evp.h>
void
EVP_PKEY_asn1_set_security_bits(
EVP_PKEY_ASN1_METHOD* ameth,
int(* pkey_security_bits)(EVP_PKEY const*));
| Name | Description |
|---|---|
| ameth | ASN.1 method being constructed. |
| pkey_security_bits | Callback returning an estimate of security strength in bits. |