BN_sqr function
BN_sqr sets r = a^2 (i.e. squares), where r may be the same pointer as
a. Returns one on success and zero otherwise. This is more efficient than
BN_mul(r, a, a, ctx).
Implementation
@meta.RecordUse()
@ffi.Native<
ffi.Int Function(
ffi.Pointer<BIGNUM>,
ffi.Pointer<BIGNUM>,
ffi.Pointer<BN_CTX>,
)
>(symbol: 'bssl_dart_BN_sqr')
external int BN_sqr(
ffi.Pointer<BIGNUM> r,
ffi.Pointer<BIGNUM> a,
ffi.Pointer<BN_CTX> ctx,
);