boringssl/crypto/bn
David Benjamin b9c579db6d Add crypto/bytestring-based BIGNUM DER functions.
RSA and ECDSA will both require being able to convert ASN.1 INTEGERs to
and from DER. Don't bother handling negative BIGNUMs for now. It doesn't
seem necessary and saves bothering with two's-complement vs
sign-and-magnitude.

BUG=499653

Change-Id: I1e80052067ed528809493af73b04f82539d564ff
Reviewed-on: https://boringssl-review.googlesource.com/5268
Reviewed-by: Adam Langley <agl@google.com>
2015-07-07 00:47:39 +00:00
..
asm Don't use x86_64-gcc.c with NO_ASM. 2015-05-15 22:23:49 +00:00
add.c Inital import. 2014-06-20 13:17:32 -07:00
asn1.c Add crypto/bytestring-based BIGNUM DER functions. 2015-07-07 00:47:39 +00:00
bn_test.cc Add crypto/bytestring-based BIGNUM DER functions. 2015-07-07 00:47:39 +00:00
bn.c Remove unnecessary NULL checks, part 1. 2015-05-04 23:05:17 +00:00
CMakeLists.txt Add crypto/bytestring-based BIGNUM DER functions. 2015-07-07 00:47:39 +00:00
cmp.c Inital import. 2014-06-20 13:17:32 -07:00
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 Check for BN_copy failures. 2015-06-15 17:52:40 +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 Inital import. 2014-06-20 13:17:32 -07:00
montgomery.c Convert BN_MONT_CTX to new-style locking. 2015-04-14 20:10:27 +00:00
mul.c Check for BN_copy failures. 2015-06-15 17:52:40 +00:00
prime.c Check for BN_copy failures. 2015-06-15 17:52:40 +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 Check for BN_copy failures. 2015-06-15 17:52:40 +00:00