Function nrfxlib_sys::ocrypto_curve_p224_from28bytes
source · pub unsafe extern "C" fn ocrypto_curve_p224_from28bytes(
r: *mut ocrypto_cp_p224,
p: *const u8
) -> c_int
Expand description
Load r.x from bytes, keep r.y.
r
- Point with r.x loaded, r.y kept.p
- x as as array of bytes.
Returns 0 If * r
- is a valid curve point.
Returns -1 Otherwise.