aboutsummaryrefslogtreecommitdiffstats
path: root/test/bnmul.txt
diff options
context:
space:
mode:
authorRich Salz <rsalz@openssl.org>2017-06-05 13:32:05 -0400
committerRich Salz <rsalz@openssl.org>2017-06-05 13:41:30 -0400
commitae269dd8b72dbed1f2c5f92dbe0fbf5b7b905e7b (patch)
tree53de9420e6c8c8c3808967cbc1418c94f7880a98 /test/bnmul.txt
parent71dd3b6464df1ba524601c3705e1d1e3c7c5406d (diff)
downloadopenssl-ae269dd8b72dbed1f2c5f92dbe0fbf5b7b905e7b.tar.gz
Use common STANZA for bn and exp tests
Standardize file:line messages Reduce buff size; move to end of STANZA Add some Title entries (with blank line after) Add Title to some BN test files. Reviewed-by: Andy Polyakov <appro@openssl.org> (Merged from https://github.com/openssl/openssl/pull/3608)
Diffstat (limited to 'test/bnmul.txt')
-rw-r--r--test/bnmul.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/bnmul.txt b/test/bnmul.txt
index c2d02b00ad..dc13a9229e 100644
--- a/test/bnmul.txt
+++ b/test/bnmul.txt
@@ -5,10 +5,10 @@
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html
-# Square tests.
-#
# These test vectors satisfy A^2 = Square.
+Title = Square tests.
+
# Regression test for a BN_sqr overflow bug.
Square = 4000000000000000800000000000000240000000000000000000000000000001fffffffffffffff8000000000000000400000000000000000000000000000000
A = 80000000000000008000000000000001fffffffffffffffe0000000000000000
@@ -318,10 +318,10 @@ Square = eea8028b26e0df090504d54da714a6f5f2695202e53cff479c78aedd47a8dc676243ec5
A = -3dcb44be1e54c5a5d7db48055ca9afa1ebe2ae648aa6e16ac497502a7deee09ffa124720fad0ab163ce8b3ea6a90f110ea52b67dbc424d0cf1e8c9726dfd9e45bebcefaa5cd5706edeed27896525f31c6bbea3d67ee97badefabf3e2532470b66e3ae3100f66ddf50cf02fc3a8e3f44c304251d3b6a7ca3a6e4bd5d16a41bd97a4
-# Product tests.
-#
# These test vectors satisfy A * B = Product.
+Title = Product tests
+
Product = 5befab3320f8f90542f3120235abd926aac3805a19e343f690
A = b057af553afb120db6b7764f8
B = 857734c4c27a1d17f7cf59dee