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

◆ ocrypto_curve_p224_add()

int ocrypto_curve_p224_add ( ocrypto_cp_p224 * r,
const ocrypto_cp_p224 * p,
const ocrypto_cp_p224 * q )

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

P224 add and double

r = p + q p == [0,0] -> r = q q == [0,0] -> r = p p == -q -> r = [0,0]

Parameters
[out]rResulting point
pInput point.
qinput point.
Return values
-1if r = [0,0].
0if successfull.