Function nrfxlib_sys::ocrypto_curve_p256_from64bytes
source · pub unsafe extern "C" fn ocrypto_curve_p256_from64bytes(
r: *mut ocrypto_cp_p256,
p: *const u8
) -> c_int
Expand description
Load point from bytes.
r
- Loaded point.p
- Point as array of bytes.
Returns 0 If * r
- is a valid curve point.
Returns -1 Otherwise.