[Cryptech-Commits] [core/pkey/ed25519] 01/08: Added randomized test vector to testbench.
git at cryptech.is
git at cryptech.is
Fri Nov 9 15:56:38 UTC 2018
This is an automated email from the git hooks/post-receive script.
meisterpaul1 at yandex.ru pushed a commit to branch master
in repository core/pkey/ed25519.
commit 10892cbfc88dddf397c6f3573a6e9cd936e05fa2
Author: Pavel V. Shatov (Meister) <meisterpaul1 at yandex.ru>
AuthorDate: Fri Nov 9 17:58:35 2018 +0300
Added randomized test vector to testbench.
---
bench/{ed25519_test_vectors.v => ed25519_test_vectors_rfc8032.vh} | 0
bench/tb_base_point_multiplier.v | 6 +++++-
2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/bench/ed25519_test_vectors.v b/bench/ed25519_test_vectors_rfc8032.vh
similarity index 100%
rename from bench/ed25519_test_vectors.v
rename to 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");
More information about the Commits
mailing list