![]() |
nrfxlib API 3.3.99
|
| void ocrypto_curve448_scalarmult | ( | uint8_t | r[(56)], |
| const uint8_t | n[(56)], | ||
| const uint8_t | p[(56)] ) |
#include <crypto/nrf_oberon/include/ocrypto_curve448.h>
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.
| [out] | r | Resulting curve point. |
| [in] | n | Scalar factor. |
| [in] | p | Point factor. |
r may be same as n.