diff --git a/src/faest.rs b/src/faest.rs
index aca6c80..d892704 100644
--- a/src/faest.rs
+++ b/src/faest.rs
@@ -443,7 +443,7 @@ fn sign
(
let mut chall2 =
GenericArray::::BaseParams as BaseParameters>::Chall>::default();
- RO::::hash_challenge_2(&mut chall2, &chall1, &u_t, &hv, d);
+ RO::
::hash_challenge_2(&mut chall2, &chall1, u_t, &hv, d);
// FIXME: this is only re-shapping gv
let gv = Box::, O::LAMBDA>>::from_iter(
@@ -499,7 +499,7 @@ fn sigma_to_signature<'a>(
x.0.iter().for_each(|v| {
signature.write_all(v).unwrap();
});
- signature.write_all(&x.1).unwrap();
+ signature.write_all(x.1).unwrap();
});
signature.write_all(chall3).unwrap();
signature.write_all(iv).unwrap();
@@ -566,10 +566,7 @@ where
+ O::LAMBDABYTES::USIZE
+ 2];
- gq[0] = gq_p[0..::K0::USIZE]
- .iter()
- .cloned()
- .collect();
+ gq[0] = gq_p[0..::K0::USIZE].to_vec();
gd_t[0] = P::Tau::decode_challenge_as_iter(chall3, 0)
.map(|d| {
if d == 1 {