boringssl/crypto/bn
David Benjamin 15eaafb18a Fix bn_test's bc output and shut it up a little.
bn_test's output is meant to be piped to bc, but this got broken somewhat:

- OpenSSL uses uppercase hex rather than BoringSSL's lowercase. bc only accepts
  uppercase. Document that this needs some shell pipeline until we replace
  them with better tests because this is all ridiculous.

- Some stderr outputs moved to stdout to avoid cluttering stdout. Just remove
  them. The operations are fast enough to not need progress.

- To cut down on noise, only write the bc transcript given a command-line flag.
  Also remove the -results flag since it's pointless. (It writes only the
  results and not the inputs.)

Change-Id: I08f87cac1e03fab461f0dc40b9d4285bd877807d
Reviewed-on: https://boringssl-review.googlesource.com/4896
Reviewed-by: Adam Langley <agl@google.com>
2015-05-28 17:25:41 +00:00
..
asm Don't use x86_64-gcc.c with NO_ASM. 2015-05-15 22:23:49 +00:00
add.c
bn_test.cc Fix bn_test's bc output and shut it up a little. 2015-05-28 17:25:41 +00:00
bn.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
CMakeLists.txt Add malloc test support to unit tests. 2015-05-21 17:59:48 +00:00
cmp.c
convert.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
ctx.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
div.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
exponentiation.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
gcd.c Add some missing error failure checks. 2015-02-17 20:55:56 +00:00
generic.c Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
internal.h Require source files define __STDC_FORMAT_MACROS to use BN FMT macros. 2015-05-11 18:38:08 +00:00
kronecker.c
montgomery.c Convert BN_MONT_CTX to new-style locking. 2015-04-14 20:10:27 +00:00
mul.c Add in missing curly braces part 1. 2015-02-11 19:31:01 +00:00
prime.c Avoid undefined behavior in probable_prime. 2015-03-19 11:36:49 +00:00
random.c Fix off-by-one in BN_rand 2015-05-27 22:03:05 +00:00
rsaz_exp.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
rsaz_exp.h Convert all zero-argument functions to '(void)' 2014-08-21 01:06:07 +00:00
shift.c Reject negative shifts for BN_rshift and BN_lshift. 2015-05-27 21:59:35 +00:00
sqrt.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00