pub fn validate_element(element: &[u8; 33]) -> Result<()>Expand description
Check that element is a valid serialized element: compressed, on the
curve, not the identity. For protocols built on this group, such as
OPAQUE, which receive keys in the same encoding.