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]; 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] {