Introduce ristretto255 crate feature (#35)

This commit is contained in:
daxpedda
2021-12-23 01:50:48 -05:00
committed by GitHub
parent 140f9e063d
commit 6669a0c4e6
9 changed files with 194 additions and 154 deletions
+3 -2
View File
@@ -1196,7 +1196,8 @@ mod tests {
#[test]
fn test_functionality() -> Result<(), InternalError> {
cfg_ristretto! { {
#[cfg(feature = "ristretto255")]
{
use curve25519_dalek::ristretto::RistrettoPoint;
use sha2::Sha512;
@@ -1211,7 +1212,7 @@ mod tests {
zeroize_base_server::<RistrettoPoint, Sha512>();
zeroize_verifiable_client::<RistrettoPoint, Sha512>();
zeroize_verifiable_server::<RistrettoPoint, Sha512>();
} }
}
#[cfg(feature = "p256")]
{