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

◆ ocrypto_curve_p256_from32bytes()

int ocrypto_curve_p256_from32bytes ( ocrypto_cp_p256 * r,
const uint8_t p[32] )

#include <crypto/nrf_oberon/include/ocrypto_curve_p256.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.