EVP_PKEY_new_raw_public_key function
EVP_PKEY_new_raw_public_key interprets in as a raw public key of type
type, which must be an EVP_PKEY_* constant, such as EVP_PKEY_X25519,
and returns a newly-allocated EVP_PKEY, or nullptr on error.
Prefer EVP_PKEY_from_raw_private_key, which allows dead code elimination to
discard algorithms that aren't reachable from the caller.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Pointer<EVP_PKEY> Function(
ffi.Int,
ffi.Pointer<ENGINE>,
ffi.Pointer<ffi.Uint8>,
ffi.Size,
)
>(symbol: 'bssl_dart_EVP_PKEY_new_raw_public_key')
external ffi.Pointer<EVP_PKEY> EVP_PKEY_new_raw_public_key(
int type,
ffi.Pointer<ENGINE> unused,
ffi.Pointer<ffi.Uint8> in$,
int len,
);