nrfxlib API 2.8.99
|
void ocrypto_p160_scalar_mult | ( | uint8_t | r[40], |
const uint8_t | s[32] ) |
ECDH secp160r1 scalar multiplication r = (1 + s mod (n-1)) * G
.
[out] | r | Resulting curve point in the form (x,y). |
s | Scalar value. 256 bit big endian. |
r
may be same as s
.