Test P-384 (#84)

This commit is contained in:
daxpedda
2023-02-08 15:48:12 -08:00
committed by GitHub
parent 5badeff8d2
commit 83eb78b232
7 changed files with 64 additions and 0 deletions
+4
View File
@@ -15,6 +15,7 @@ use crate::{Error, Group, Result};
#[test]
fn test_group_properties() -> Result<()> {
use p256::NistP256;
use p384::NistP384;
#[cfg(feature = "ristretto255")]
{
@@ -27,6 +28,9 @@ fn test_group_properties() -> Result<()> {
test_identity_element_error::<NistP256>()?;
test_zero_scalar_error::<NistP256>()?;
test_identity_element_error::<NistP384>()?;
test_zero_scalar_error::<NistP384>()?;
Ok(())
}