diff options
Diffstat (limited to 'crypto/newhope/newhope_statistical_test.cc')
-rw-r--r-- | crypto/newhope/newhope_statistical_test.cc | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/crypto/newhope/newhope_statistical_test.cc b/crypto/newhope/newhope_statistical_test.cc index 44fac48a..d3a54430 100644 --- a/crypto/newhope/newhope_statistical_test.cc +++ b/crypto/newhope/newhope_statistical_test.cc @@ -25,6 +25,8 @@ #include "internal.h" +namespace bssl { + static const unsigned kNumTests = 1000; static bool TestNoise(void) { @@ -146,9 +148,11 @@ static bool TestKeys(void) { return true; } +} // namespace bssl + int main(void) { - if (!TestKeys() || - !TestNoise()) { + if (!bssl::TestKeys() || + !bssl::TestNoise()) { return 1; } printf("PASS\n"); |