nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ ocrypto_curve448_scalarmult()

void ocrypto_curve448_scalarmult ( uint8_t  r[(56)],
const uint8_t  n[(56)],
const uint8_t  p[(56)] 
)

Curve448 scalar multiplication r = n * p.

A shared secret is computed from the local secret key n and another party's public key p and put into r. The same shared secret is generated when the other party combines its private key with the local public key.

Parameters
[out]rResulting curve point.
[in]nScalar factor.
[in]pPoint factor.
Remarks
r may be same as n.