Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
aewag committed Mar 16, 2023
1 parent 30407ab commit 76c264b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions cryptolib/botan/algo_dilithium/dilithium.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -105,9 +105,9 @@ int main(int argc, char *argv[]) {
Botan::PK_Signer sig(priv_key, rng, "Deterministic");
signature = sig.sign_message(message, rng);

Botan::PK_Verifier ver(priv_key, "");
ver.update(message);
assert(ver.check_signature(signature));
// Botan::PK_Verifier ver(priv_key, "");
// ver.update(message);
// assert(ver.check_signature(signature));
} else {
cout << str_operation << " is no valid operation!" << endl;
assert(false);
Expand Down
2 changes: 1 addition & 1 deletion cryptolib/botan/algo_kyber/kyber.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ int main(int argc, char* argv[]) {
kyber_kem_encrypt(pub_key, cipher_text, key_bob);
kyber_kem_decrypt(priv_key, cipher_text, key_alice);

assert(key_bob == key_alice);
// assert(key_bob == key_alice);
} else {
cout << str_operation << " is no valid operation!" << endl;
assert(false);
Expand Down

0 comments on commit 76c264b

Please sign in to comment.