EVP_PKEY_get_ec_curve_nid function
EVP_PKEY_get_ec_curve_nid returns |pkey|'s curve as a NID constant, such as |NID_X9_62_prime256v1|, or |NID_undef| if |pkey| is not an EC key.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<EVP_PKEY>)>(
symbol: 'bssl_dart_EVP_PKEY_get_ec_curve_nid',
)
external int EVP_PKEY_get_ec_curve_nid(
ffi.Pointer<EVP_PKEY> pkey,
);