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