EVP_PKEY_asn1_set_security_bits

Set the security-bits callback on a custom EVP_PKEY_ASN1_METHOD.

Synopsis

Declared in <openssl/evp.h>

void
EVP_PKEY_asn1_set_security_bits(
    EVP_PKEY_ASN1_METHOD* ameth,
    int(* pkey_security_bits)(EVP_PKEY const*));

Parameters

NameDescription
amethASN.1 method being constructed.
pkey_security_bitsCallback returning an estimate of security strength in bits.