Function hacl_sys::Hacl_P256_raw_to_uncompressed
source · pub unsafe extern "C" fn Hacl_P256_raw_to_uncompressed(
pk_raw: *mut u8,
pk: *mut u8
)
Expand description
Convert a public key from raw to its uncompressed form.
The outparam pk
points to 65 bytes of valid memory, i.e., uint8_t[65].
The argument pk_raw
points to 64 bytes of valid memory, i.e., uint8_t[64].
The function DOESN’T check whether (x, y) is a valid point.