DH_get0_key function
DH_get0_key sets |*out_pub_key| and |*out_priv_key|, if non-NULL, to |dh|'s public and private key, respectively. If |dh| is a public key, the private key will be set to NULL.
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Void Function(
ffi.Pointer<DH>,
ffi.Pointer<ffi.Pointer<BIGNUM>>,
ffi.Pointer<ffi.Pointer<BIGNUM>>,
)
>(symbol: 'bssl_dart_DH_get0_key')
external void DH_get0_key(
ffi.Pointer<DH> dh,
ffi.Pointer<ffi.Pointer<BIGNUM>> out_pub_key,
ffi.Pointer<ffi.Pointer<BIGNUM>> out_priv_key,
);