From 76c264b3d7483c7301a02d916d6c1268201f41d4 Mon Sep 17 00:00:00 2001 From: Alexander Wagner Date: Thu, 16 Mar 2023 21:23:44 +0100 Subject: [PATCH] WIP --- cryptolib/botan/algo_dilithium/dilithium.cpp | 6 +++--- cryptolib/botan/algo_kyber/kyber.cpp | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cryptolib/botan/algo_dilithium/dilithium.cpp b/cryptolib/botan/algo_dilithium/dilithium.cpp index 8180bd0..28616b8 100644 --- a/cryptolib/botan/algo_dilithium/dilithium.cpp +++ b/cryptolib/botan/algo_dilithium/dilithium.cpp @@ -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); diff --git a/cryptolib/botan/algo_kyber/kyber.cpp b/cryptolib/botan/algo_kyber/kyber.cpp index bb30566..7586fa5 100644 --- a/cryptolib/botan/algo_kyber/kyber.cpp +++ b/cryptolib/botan/algo_kyber/kyber.cpp @@ -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);