boringssl/crypto/bn
David Benjamin 81edc9beb6 Do away with BN_LLONG in favor of BN_ULLONG.
BN_LLONG is only ever used in #ifdefs. The actual type is BN_ULLONG. Switch the
ifdefs to check on BN_ULLONG and remove BN_LLONG. Also fix signedness of all
the constants (potentially avoiding undefined behavior in some operations).

Change-Id: I3e7739bbe14c50ea7db04fc507a034a8cb315a5f
Reviewed-on: https://boringssl-review.googlesource.com/6518
Reviewed-by: Adam Langley <agl@google.com>
2015-11-20 19:59:07 +00:00
..
asm Add AArch64 Montgomery assembly. 2015-11-10 19:13:46 +00:00
add.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
bn_asn1.c Work around even more Estonian ID card misissuances. 2015-09-23 20:35:47 +00:00
bn_test.cc Remove stl_compat.h. 2015-11-11 22:19:36 +00:00
bn.c Share common definitions of |TOBN| and |BIGNUM_STATIC|. 2015-11-19 01:38:52 +00:00
CMakeLists.txt Add AArch64 Montgomery assembly. 2015-11-10 19:13:46 +00:00
cmp.c
convert.c Re-add |BN_bn2mpi| and |BN_mpi2bn| from OpenSSL at fd682e4c. 2015-08-18 23:49:31 +00:00
ctx.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
div.c Do away with BN_LLONG in favor of BN_ULLONG. 2015-11-20 19:59:07 +00:00
exponentiation.c Constify more BN_MONT_CTX parameters. 2015-11-06 20:04:36 +00:00
gcd.c s/BN_BITS/BN_BITS2/ in |BN_mod_inverse_ex|; remove |BN_BITS| & |BN_MASK|. 2015-11-19 01:39:32 +00:00
generic.c Do away with BN_LLONG in favor of BN_ULLONG. 2015-11-20 19:59:07 +00:00
internal.h Do away with BN_LLONG in favor of BN_ULLONG. 2015-11-20 19:59:07 +00:00
kronecker.c
montgomery.c Remove the |ri| field of |BN_MONT_CTX|. 2015-11-19 01:40:13 +00:00
mul.c Check for BN_copy failures. 2015-06-15 17:52:40 +00:00
prime.c Avoid signed/unsigned comparison in crypto/bn's |probable_prime|. 2015-10-26 21:27:12 +00:00
random.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
rsaz_exp.c Support building with PNaCl. 2014-07-11 19:04:04 +00:00
rsaz_exp.h Fix license on rsaz_exp.h. 2015-07-27 22:21:11 +00:00
shift.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00
sqrt.c Remove the func parameter to OPENSSL_PUT_ERROR. 2015-07-16 02:02:37 +00:00