Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions hash2curve/src/group_digest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,8 @@ where
X: ExpandMsg<C::SecurityLevel>,
{
let [u] = hash_to_field::<1, X, _, C::FieldElement, C::Length>(msg, dst)?;
let q0 = C::map_to_curve(u);
Ok(q0.clear_cofactor())
let q = C::map_to_curve(u);
Ok(q.clear_cofactor())
}

/// Computes the hash to field routine according to
Expand Down
Loading