From a32fd62512d9e9db09095026f0ac5a5f14559581 Mon Sep 17 00:00:00 2001 From: Michael Hamburg Date: Wed, 9 Mar 2016 11:58:14 -0800 Subject: [PATCH] mark more things at toy --- test/bench_decaf.cxx | 2 +- test/test_ct.cxx | 1 + test/test_decaf.cxx | 6 +++--- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/test/bench_decaf.cxx b/test/bench_decaf.cxx index e744088..70da794 100644 --- a/test/bench_decaf.cxx +++ b/test/bench_decaf.cxx @@ -319,7 +319,7 @@ static void macro() { printf("CFRG crypto benchmarks:\n"); cfrg(); - printf("\nSample crypto benchmarks:\n"); + printf("\nToy crypto benchmarks:\n"); SpongeRng rng(Block("macro rng seed"),SpongeRng::DETERMINISTIC); PrivateKey s1((NOINIT())), s2(rng); PublicKey p1((NOINIT())), p2(s2); diff --git a/test/test_ct.cxx b/test/test_ct.cxx index 46595ea..ae5e389 100644 --- a/test/test_ct.cxx +++ b/test/test_ct.cxx @@ -17,6 +17,7 @@ #include using namespace decaf; +using namespace decaf::TOY; static const long NTESTS = 10; diff --git a/test/test_decaf.cxx b/test/test_decaf.cxx index 77ef19e..2ad3a05 100644 --- a/test/test_decaf.cxx +++ b/test/test_decaf.cxx @@ -410,8 +410,8 @@ static void test_ec() { } } -static void test_crypto() { - Test test("Sample crypto"); +static void test_toy_crypto() { + Test test("Toy crypto"); SpongeRng rng(Block("test_decaf_crypto"),SpongeRng::DETERMINISTIC); for (int i=0; i