镜像自地址
https://github.com/henrydcase/pqc.git
已同步 2024-11-22 07:35:38 +00:00
memsan: modify ending of the ciphertext as in the paper
这个提交包含在:
父节点
b4622770fd
当前提交
470295de62
@ -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());
|
||||
|
正在加载...
在新工单中引用
屏蔽一个用户