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

◆ ocrypto_curve_p224_from28bytes()

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.

Parameters
[out]rPoint with r.x loaded, r.y kept.
px as as array of bytes.
Return values
0If r is a valid curve point.
-1Otherwise.