pub unsafe extern "C" fn Hacl_P256_validate_private_key(
    private_key: *mut u8
) -> bool
Expand description

Private key validation.

The function returns true if a private key is valid and false otherwise.

The argument private_key points to 32 bytes of valid memory, i.e., uint8_t[32].

The private key is valid: • 0 < private_key < the order of the curve