nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ ocrypto_p160_scalar_mult()

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.

Parameters
[out]rResulting curve point in the form (x,y).
sScalar value. 256 bit big endian.
Remarks
r may be same as s.