nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ ocrypto_curve25519_scalarmult_base()

void ocrypto_curve25519_scalarmult_base ( uint8_t r[(32)],
const uint8_t n[(32)] )

#include <crypto/nrf_oberon/include/ocrypto_curve25519.h>

Curve25519 scalar multiplication r = n * basePoint.

Given a secret key n, the corresponding Curve25519 public key is computed and put into r.

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