New "i15" implementation of big integers (faster, and constant-time, on ARM Cortex...
authorThomas Pornin <pornin@bolet.org>
Wed, 4 Jan 2017 18:21:09 +0000 (19:21 +0100)
committerThomas Pornin <pornin@bolet.org>
Wed, 4 Jan 2017 18:21:09 +0000 (19:21 +0100)
commit28e4e120b84dacdf53963639f1a8a6fec2793662
treef162c6bce7b492c80a5c182cb97fae24dbd4f495
parent6dd8c51ba7e8ca106ede7ff58b5c507042bbf6eb
New "i15" implementation of big integers (faster, and constant-time, on ARM Cortex M0/M0+); imported into EC, ECDSA, RSA.
29 files changed:
Makefile
inc/bearssl_ec.h
inc/bearssl_rsa.h
src/ec/ec_prime_i15.c [new file with mode: 0644]
src/ec/ec_prime_i31.c
src/ec/ecdsa_i15_bits.c [new file with mode: 0644]
src/ec/ecdsa_i15_sign_asn1.c [new file with mode: 0644]
src/ec/ecdsa_i15_sign_raw.c [new file with mode: 0644]
src/ec/ecdsa_i15_vrfy_asn1.c [new file with mode: 0644]
src/ec/ecdsa_i15_vrfy_raw.c [new file with mode: 0644]
src/inner.h
src/int/i15_core.c [new file with mode: 0644]
src/int/i15_ext1.c [new file with mode: 0644]
src/int/i15_ext2.c [new file with mode: 0644]
src/int/i31_fmont.c
src/int/i31_montmul.c
src/int/i31_muladd.c
src/rsa/rsa_i15_pkcs1_sign.c [new file with mode: 0644]
src/rsa/rsa_i15_pkcs1_vrfy.c [new file with mode: 0644]
src/rsa/rsa_i15_priv.c [new file with mode: 0644]
src/rsa/rsa_i15_pub.c [new file with mode: 0644]
src/rsa/rsa_i31_pkcs1_sign.c
src/rsa/rsa_i31_pkcs1_vrfy.c
src/rsa/rsa_i32_pkcs1_sign.c
src/rsa/rsa_i32_pkcs1_vrfy.c
src/rsa/rsa_pkcs1_sig_pad.c [new file with mode: 0644]
src/rsa/rsa_pkcs1_sig_unpad.c [new file with mode: 0644]
test/test_crypto.c
test/test_speed.c