nrfxlib API 2.8.99
|
void ocrypto_curve25519_scalarmult_base_ctx | ( | ocrypto_curve25519_ctx * | ctx, |
uint8_t | r[(32)], | ||
const uint8_t | n[(32)] ) |
#include <crypto/nrf_oberon/include/ocrypto_curve25519.h>
Curve25519 scalar multiplication r = n * basePoint
with context.
Given a secret key n
, the corresponding Curve25519 public key is computed and put into r
.
ctx | Context. | |
[out] | r | Resulting curve point. |
[in] | n | Scalar factor. |
r
may be same as n
.