From fdbb44c64b3034c990c080b7054ec66ca44cdec4 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Mon, 28 Jul 2025 09:29:39 +0300 Subject: [PATCH 1/2] Update field.rs --- curve25519-dalek/src/backend/serial/fiat_u32/field.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curve25519-dalek/src/backend/serial/fiat_u32/field.rs b/curve25519-dalek/src/backend/serial/fiat_u32/field.rs index 411e75fef..d8c2355d2 100644 --- a/curve25519-dalek/src/backend/serial/fiat_u32/field.rs +++ b/curve25519-dalek/src/backend/serial/fiat_u32/field.rs @@ -239,7 +239,7 @@ impl FieldElement2625 { FieldElement2625(output) } - /// Serialize this `FieldElement51` to a 32-byte array. The + /// Serialize this `FieldElement2625` to a 32-byte array. The /// encoding is canonical. pub fn to_bytes(self) -> [u8; 32] { let mut bytes = [0u8; 32]; From 032eb50ddce344bf21051750e4e71ca877029d13 Mon Sep 17 00:00:00 2001 From: VolodymyrBg Date: Mon, 28 Jul 2025 09:30:05 +0300 Subject: [PATCH 2/2] Update field.rs --- curve25519-dalek/src/backend/serial/u32/field.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/curve25519-dalek/src/backend/serial/u32/field.rs b/curve25519-dalek/src/backend/serial/u32/field.rs index 2aff69684..11cf338fe 100644 --- a/curve25519-dalek/src/backend/serial/u32/field.rs +++ b/curve25519-dalek/src/backend/serial/u32/field.rs @@ -431,7 +431,7 @@ impl FieldElement2625 { FieldElement2625::reduce(h) } - /// Serialize this `FieldElement51` to a 32-byte array. The + /// Serialize this `FieldElement2625` to a 32-byte array. The /// encoding is canonical. #[allow(clippy::identity_op)] pub fn to_bytes(self) -> [u8; 32] {