Function hacl::hazmat::p256::validate_point

source ยท
pub fn validate_point(point: &[u8; 64]) -> Result<(), Error>
Expand description

Validate a P256 point, where point is a 64 byte array with the concatenation of X and Y.

Returns Error::InvalidPoint if the point is not valid.