nrfxlib API 0.1.0
|
int ocrypto_curve_p224_from28bytes | ( | ocrypto_cp_p224 * | r, |
const uint8_t | p[28] | ||
) |
#include <crypto/nrf_oberon/include/ocrypto_curve_p224.h>
Load r.x from bytes, keep r.y.
[out] | r | Point with r.x loaded, r.y kept. |
p | x as as array of bytes. |
0 | If r is a valid curve point. |
-1 | Otherwise. |