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

◆ ocrypto_curve25519_scalarmult_base_ctx()

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.

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