aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorMatt Braithwaite <mab@google.com>2016-06-02 17:23:29 -0700
committerAdam Langley <agl@google.com>2016-06-03 21:26:18 +0000
commit6b7436b0d29ac3018e23cfc0dd734dfd8024a80f (patch)
tree2a00fe68d57d3fb07a4a4a79be529f89f9f97e35 /util
parent0fc7df55c04e439e765c32a4dd93e43387fe40be (diff)
downloadboringssl-6b7436b0d29ac3018e23cfc0dd734dfd8024a80f.zip
boringssl-6b7436b0d29ac3018e23cfc0dd734dfd8024a80f.tar.gz
boringssl-6b7436b0d29ac3018e23cfc0dd734dfd8024a80f.tar.bz2
newhope: restore statistical tests.
One of these tests the distribution of noise polynomials; the other tests that that agreed-upon keys (prior to whitening) have roughly equal numbers of 0s and 1s. Along the way, expose a few more API bits. Change-Id: I6b04708d41590de45d82ea95bae1033cfccd5d67 Reviewed-on: https://boringssl-review.googlesource.com/8130 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'util')
-rw-r--r--util/all_tests.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/util/all_tests.json b/util/all_tests.json
index 9e3445c..bfbeebf 100644
--- a/util/all_tests.json
+++ b/util/all_tests.json
@@ -51,6 +51,7 @@
["crypto/lhash/lhash_test"],
["crypto/modes/gcm_test"],
["crypto/newhope/newhope_test"],
+ ["crypto/newhope/newhope_statistical_test"],
["crypto/newhope/newhope_vectors_test", "crypto/newhope/newhope_test.txt"],
["crypto/obj/obj_test"],
["crypto/pkcs8/pkcs12_test"],