feat: remove duplicated check in falcon verification (#368)
This commit is contained in:
parent
a424652ba7
commit
d569c71666
2 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
## 0.14.0 (TBD)
|
## 0.14.0 (TBD)
|
||||||
|
|
||||||
- [BREAKING] Increment minimum supported Rust version to 1.84.
|
- [BREAKING] Increment minimum supported Rust version to 1.84.
|
||||||
|
- Removed duplicated check in RpoFalcon512 verification (#368).
|
||||||
|
|
||||||
## 0.13.2 (2025-01-24)
|
## 0.13.2 (2025-01-24)
|
||||||
|
|
||||||
|
|
|
@ -97,7 +97,7 @@ impl Signature {
|
||||||
}
|
}
|
||||||
|
|
||||||
let c = hash_to_point_rpo256(message, &self.nonce);
|
let c = hash_to_point_rpo256(message, &self.nonce);
|
||||||
h_digest == pubkey_com && verify_helper(&c, &self.s2, self.pk_poly())
|
verify_helper(&c, &self.s2, self.pk_poly())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue