From 3e41f2441d78d44da2c6e5adcd3f4472d14ce1f2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Garillot?= Date: Fri, 3 Jul 2020 16:12:14 -0400 Subject: [PATCH] mention issue for direct call into uniform_bytes in RistrattoPoint --- src/group.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/group.rs b/src/group.rs index 1aa4a77..18be92f 100644 --- a/src/group.rs +++ b/src/group.rs @@ -94,7 +94,7 @@ impl Group for RistrettoPoint { type UniformBytesLen = U64; fn hash_to_curve(uniform_bytes: &GenericArray) -> Self { - // This is because RistrettoPoint is on an obsolete sha2 version + // This is because RistrettoPoint is on an obsolete sha2 version, see https://github.com/dalek-cryptography/curve25519-dalek/pull/327 let mut bits = [0u8; 64]; let mut hasher = sha2::Sha512::new(); hasher.update(uniform_bytes);