DH_check function
DH_check checks the suitability of dh as a Diffie-Hellman group. and sets
DH_CHECK_* flags in *out_flags if it finds any errors. It returns one if
*out_flags was successfully set and zero on error.
Note: these checks may be quite computationally expensive.
Implementation
@meta.RecordUse()
@ffi.Native<ffi.Int Function(ffi.Pointer<DH>, ffi.Pointer<ffi.Int>)>(
symbol: 'bssl_dart_DH_check',
)
external int DH_check(
ffi.Pointer<DH> dh,
ffi.Pointer<ffi.Int> out_flags,
);