summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2018-11-09 17:58:35 +0300
committerPavel V. Shatov (Meister) <meisterpaul1@yandex.ru>2018-11-09 17:58:35 +0300
commit10892cbfc88dddf397c6f3573a6e9cd936e05fa2 (patch)
tree682b5c6a3c4343006a2df9f82ae1b08ab70ccc0a /bench
parent427794f1880bdb05f301d606df728c01eb3ebd25 (diff)
Added randomized test vector to testbench.
Diffstat (limited to 'bench')
-rw-r--r--bench/ed25519_test_vectors_rfc8032.vh (renamed from bench/ed25519_test_vectors.v)0
-rw-r--r--bench/tb_base_point_multiplier.v6
2 files changed, 5 insertions, 1 deletions
diff --git a/bench/ed25519_test_vectors.v b/bench/ed25519_test_vectors_rfc8032.vh
index 019447a..019447a 100644
--- a/bench/ed25519_test_vectors.v
+++ b/bench/ed25519_test_vectors_rfc8032.vh
diff --git a/bench/tb_base_point_multiplier.v b/bench/tb_base_point_multiplier.v
index b77b6e2..0f6bf15 100644
--- a/bench/tb_base_point_multiplier.v
+++ b/bench/tb_base_point_multiplier.v
@@ -46,7 +46,8 @@ module tb_base_point_multiplier;
//
// Test Vectors
//
- `include "ed25519_test_vectors.v"
+ `include "ed25519_test_vectors_rfc8032.vh"
+ `include "ed25519_test_vector_randomized.vh"
//
@@ -163,6 +164,9 @@ module tb_base_point_multiplier;
$display("5. Q = d * G...");
test_base_point_multiplier(ED25519_D_HASHED_LSB_5, ED25519_Q_Y_5);
+
+ $display("6. Q = d * G...");
+ test_base_point_multiplier(ED25519_D_HASHED_LSB_6, ED25519_Q_Y_6);
/* print result */
if (ok) $display("tb_base_point_multiplier: SUCCESS");