nrfxlib API 0.1.0
|
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]
[out] | r | Resulting point |
p | Input point. | |
q | input point. |
-1 | if r = [0,0]. |
0 | if successfull. |