Function nrfxlib_sys::ocrypto_p160_scalar_mult_alt
source · pub unsafe extern "C" fn ocrypto_p160_scalar_mult_alt(
r: *mut u8,
s: *const u8
)
Expand description
ECDH secp160r1 scalar multiplication r = (s mod n) * G
.
r
- Resulting curve point in the form (x,y).s
- Scalar value. 256 bit big endian.
@remark * r
- may be same as * s
- .