1
1
mirror of https://github.com/henrydcase/pqc.git synced 2024-11-22 15:39:07 +00:00

memsan: modify ending of the ciphertext as in the paper

This commit is contained in:
Henry Case 2021-07-16 23:48:56 +01:00
parent b4622770fd
commit 470295de62

View File

@ -105,7 +105,7 @@ TEST(Frodo, Decaps_Negative) {
pqc_kem_encapsulate(p, ct.data(), ss1.data(), pk.data()));
// Alter C1 of the ciphertext
ct[2] ^= 1;
ct[ct.size()-2] ^= 1;
ct_expect_uum();
res = pqc_kem_decapsulate(p, ss2.data(), ct.data(), sk.data());