arnaucube
arnaucube/miden-cryptoPublic Self-hosted repository
remove duplicated check in falcon verification

Minor change removing a duplicated check of `h_digest==pubkey_com`at
`src/dsa/rpo_falcon512/signature.rs#L100`, which is already done at
`src/dsa/rpo_falcon512/signature.rs#L95`.
arnaucube git@arnaucube.com
Sun, 26 Jan 2025 00:21:52 +0100
commit

38148bd09cfea82f0ca3d4fc9d652a5e3fc8dde7

parent

a424652ba77406578db4bbfce9953203811ef941

2 files changed, 2 insertions(+), 1 deletions(-)

jump to
M CHANGELOG.md → CHANGELOG.md

@@ -1,6 +1,7 @@

## 0.14.0 (TBD) - [BREAKING] Increment minimum supported Rust version to 1.84. +- Removed duplicated check in RpoFalcon512 verification (#368). ## 0.13.2 (2025-01-24)
M src/dsa/rpo_falcon512/signature.rs → src/dsa/rpo_falcon512/signature.rs

@@ -97,7 +97,7 @@ return false;

} 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()) } }