mirror of
https://github.com/saymrwulf/pasta_curves-source.git
synced 2026-09-06 20:20:34 +00:00
Fix a clippy lint.
Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
parent
e408a351d5
commit
16e5f96f3f
1 changed files with 1 additions and 1 deletions
|
|
@ -50,9 +50,9 @@ pub fn hash_to_field<F: FieldExt>(message: &[u8], domain_separation_tag: &[u8],
|
||||||
.update(&[1])
|
.update(&[1])
|
||||||
.update(&dst_prime),
|
.update(&dst_prime),
|
||||||
);
|
);
|
||||||
|
let mut empty_hasher = empty_hasher;
|
||||||
let b_2 = finalize(
|
let b_2 = finalize(
|
||||||
empty_hasher
|
empty_hasher
|
||||||
.clone()
|
|
||||||
.update(&xor(&b_0, &b_1))
|
.update(&xor(&b_0, &b_1))
|
||||||
.update(&[2])
|
.update(&[2])
|
||||||
.update(&dst_prime),
|
.update(&dst_prime),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue