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

◆ ocrypto_curve_p224_scalarmult_base()

int ocrypto_curve_p224_scalarmult_base ( ocrypto_cp_p224 * r,
const ocrypto_sc_p224 * s )

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

P224 scalar base multiplication.

r = basePoint * s r = [0,0] if s mod q = 0

Parameters
[out]rOutput point.
sScalar.
Return values
-1If r = [0,0].
0If 0 < s < q.
1If s > q.