Browse Source

Change names of the tests

blog/frodo_constant_time_issue
Henry Case 3 years ago
parent
commit
4f25353aa9
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      test/ut.cpp

+ 2
- 2
test/ut.cpp View File

@@ -4,7 +4,7 @@
#include <pqc/pqc.h> #include <pqc/pqc.h>
#include <random> #include <random>


TEST(Kyber,KEMOneOff) {
TEST(KEM,OneOff) {


for (int i=0; i<PQC_ALG_KEM_MAX; i++) { for (int i=0; i<PQC_ALG_KEM_MAX; i++) {
const pqc_ctx_t *p = pqc_kem_alg_by_id(i); const pqc_ctx_t *p = pqc_kem_alg_by_id(i);
@@ -26,7 +26,7 @@ TEST(Kyber,KEMOneOff) {
} }
} }


TEST(Kyber,SIGNOneOff) {
TEST(SIGN,OneOff) {


std::random_device rd; std::random_device rd;
std::uniform_int_distribution<uint8_t> dist(0, 0xFF); std::uniform_int_distribution<uint8_t> dist(0, 0xFF);


Loading…
Cancel
Save