Test P-521 (#127)

This commit is contained in:
daxpedda
2023-11-12 16:14:52 -08:00
committed by GitHub
parent 59e3fedb21
commit 68cc7d3709
7 changed files with 63 additions and 0 deletions
+4
View File
@@ -17,6 +17,7 @@ use crate::{Error, Group, Result};
fn test_group_properties() -> Result<()> {
use p256::NistP256;
use p384::NistP384;
use p521::NistP521;
#[cfg(feature = "ristretto255")]
{
@@ -32,6 +33,9 @@ fn test_group_properties() -> Result<()> {
test_identity_element_error::<NistP384>()?;
test_zero_scalar_error::<NistP384>()?;
test_identity_element_error::<NistP521>()?;
test_zero_scalar_error::<NistP521>()?;
Ok(())
}