TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls
/
refs/heads/better-cf-padding-checks
/
library
/
bignum.c
1e14827
Update copyright notices to use Linux Foundation guidance
by Bence Szépkúti
· 5 years ago
db09ef6
Include common.h instead of config.h in library source files
by Gilles Peskine
· 5 years ago
09ec10a
Clean up some comments
by Gilles Peskine
· 5 years ago
0e5faf6
mbedtls_mpi_sub_abs: check the range of the result when it happens
by Gilles Peskine
· 5 years ago
221626f
Simplify the final reduction in mpi_montmul
by Gilles Peskine
· 5 years ago
c097e9e
Move carry propagation out of mpi_sub_hlp
by Gilles Peskine
· 5 years ago
37ecc61
More logical parameter order for mpi_sub_hlp
by Gilles Peskine
· 5 years ago
026f555
Explicitly cast down from mbedtls_mpi_uint to unsigned char
by Gilles Peskine
· 5 years ago
132c097
Remove a secret-dependent branch in Montgomery multiplication
by Gilles Peskine
· 5 years ago
f04d11e
Separate out low-level mpi_safe_cond_assign
by Gilles Peskine
· 5 years ago
2a82f72
Document some internal bignum functions
by Gilles Peskine
· 5 years ago
4e91d47
Revert "Shut up a clang-analyzer warning"
by Gilles Peskine
· 5 years ago
742f1a4
Add a const annotation to the non-changing argument of mpi_sub_mul
by Gilles Peskine
· 5 years ago
518d435
Fix GCC format-signedness warnings
by Kenneth Soerensen
· 5 years ago
4d8c836
Merge pull request #346 from gilles-peskine-arm/mpi_copy_shrink
by Manuel Pégourié-Gonnard
· 5 years ago
322752b
Minor comment improvement
by Gilles Peskine
· 6 years ago
e2f563e
Improve comments in mpi_shrink
by Gilles Peskine
· 6 years ago
db42062
mpi_copy: make the 0 case slightly more robust
by Gilles Peskine
· 6 years ago
d27a884
Merge branch 'development' into development-restricted
by Janos Follath
· 6 years ago
24eed8d
Initialise return values to an error
by Janos Follath
· 6 years ago
87ef0c2
Merge branch 'development' into development-restricted
by Gilles Peskine
· 6 years ago
3070242
mpi_lt_mpi_ct: fix condition handling
by Janos Follath
· 6 years ago
67ce647
ct_lt_mpi_uint: cast the return value explicitely
by Janos Follath
· 6 years ago
c50e6d5
mbedtls_mpi_lt_mpi_ct: simplify condition
by Janos Follath
· 6 years ago
5e614ce
Rename variable for better readability
by Janos Follath
· 6 years ago
bb5147f
mbedtls_mpi_lt_mpi_ct: Improve documentation
by Janos Follath
· 6 years ago
73ba9ec
Make mbedtls_mpi_lt_mpi_ct more portable
by Janos Follath
· 6 years ago
3f6f0e4
Document ct_lt_mpi_uint
by Janos Follath
· 6 years ago
4abc172
mpi_lt_mpi_ct: make use of unsigned consistent
by Janos Follath
· 6 years ago
a0f732b
ct_lt_mpi_uint: make use of biL
by Janos Follath
· 6 years ago
0e5532d
Change mbedtls_mpi_cmp_mpi_ct to check less than
by Janos Follath
· 6 years ago
1fc9759
mbedtls_mpi_cmp_mpi_ct: remove multiplications
by Janos Follath
· 6 years ago
b259079
Remove declaration after statement
by Janos Follath
· 6 years ago
ee6abce
Add new, constant time mpi comparison
by Janos Follath
· 6 years ago
d19a193
Fix code review comments:
by Alexander K
· 6 years ago
35d6d46
Small performance improvement of mbedtls_mpi_div_mpi():
by Alexander K
· 6 years ago
8269077
Merge remote-tracking branch 'origin/pr/2623' into development
by Jaeden Amero
· 6 years ago
3d7005f
Merge remote-tracking branch 'tls/pr/2363' into development
by Jaeden Amero
· 6 years ago
932e496
Merge pull request #224 from tempesta-tech/development
by Jaeden Amero
· 6 years ago
c95d9ee
Remove a redundant function call
by Ron Eldor
· 6 years ago
e8ad49f
Remove unused TG variable in mbedtls_mpi_gcd()
by Alexander K
· 6 years ago
031d633
Fix mpi_bigendian_to_host() on bigendian systems
by Hanno Becker
· 6 years ago
62ab1f9
Merge remote-tracking branch 'origin/pr/2405' into development
by Jaeden Amero
· 6 years ago
57773d4
Merge remote-tracking branch 'restricted/pr/551' into development
by Jaeden Amero
· 6 years ago
8047062
Fix typo
by Janos Follath
· 6 years ago
e344d0f
Add little endian export to Bignum
by Janos Follath
· 6 years ago
171a7ef
Add mbedtls_ecp_read_key
by Janos Follath
· 6 years ago
a778a94
Add little endian import to Bignum
by Janos Follath
· 6 years ago
23cfea0
Improve documentation of mbedtls_mpi_write_string()
by Hanno Becker
· 6 years ago
c983c81
Fix 1-byte buffer overflow in mbedtls_mpi_write_string()
by Hanno Becker
· 6 years ago
e6bcad3
Fix DEADCODE in mbedtls_mpi_exp_mod()
by Peter Kolbus
· 7 years ago
91af329
Merge remote-tracking branch 'origin/pr/2214' into development
by Jaeden Amero
· 6 years ago
f08aa3e
fix memory leak in mpi_miller_rabin()
by Jens Wiklander
· 7 years ago
0e810b9
Don't call memcpy with NULL pointer in mbedtls_mpi_read_binary()
by Hanno Becker
· 7 years ago
9f6d16a
Fix preprocessor macro existence check in bignum.c
by Hanno Becker
· 7 years ago
6dab620
Fix typo after rebase
by Hanno Becker
· 7 years ago
5d91c0b
Add missing macro existence check in byte swapping code in bignum.c
by Hanno Becker
· 7 years ago
f872007
Optimize mpi_bigendian_to_host() for speed and size
by Hanno Becker
· 7 years ago
2be8a55
Change signature of mpi_bigendian_to_host() to reflect usage
by Hanno Becker
· 7 years ago
da1655a
Remove temporary stack-buffer from mbedtls_mpi_fill_random()
by Hanno Becker
· 8 years ago
f25ee7f
Fix parameter validation for mbedtls_mpi_lsb()
by Hanno Becker
· 7 years ago
8ce11a3
Minor improvements to bignum module
by Hanno Becker
· 7 years ago
54c91dd
Remove double semicolon from bignum.c
by Hanno Becker
· 7 years ago
73d7d79
Implement parameter validation for MPI module
by Hanno Becker
· 7 years ago
b9eb786
Merge remote-tracking branch 'restricted/pr/535' into development
by Simon Butcher
· 7 years ago
a16fa29
Refactor mpi_write_hlp to not be recursive
by Ron Eldor
· 7 years ago
11cdb05
mbedtls_mpi_write_binary: don't leak the exact size of the number
by Gilles Peskine
· 7 years ago
e3f95ed
Fix bias in random number generation in Miller-Rabin test
by Darryl Green
· 7 years ago
a0b67c2
Bignum: Deprecate mbedtls_mpi_is_prime()
by Janos Follath
· 7 years ago
da31fa1
Bignum: Fix prime validation vulnerability
by Janos Follath
· 7 years ago
b728c29
Bignum: Remove dead code
by Janos Follath
· 7 years ago
f301d23
Bignum: Improve primality test for FIPS primes
by Janos Follath
· 7 years ago
7c025a9
Generalize dh_flag in mbedtls_mpi_gen_prime
by Janos Follath
· 7 years ago
a331e0f
Merge remote-tracking branch 'upstream-restricted/pr/421' into development-proposed
by Jaeden Amero
· 7 years ago
6698d2f
Fix style for mbedtls_mpi_zeroize()
by Andres Amaya Garcia
· 7 years ago
1f6301b
Rename mbedtls_zeroize to mbedtls_platform_zeroize
by Andres Amaya Garcia
· 7 years ago
6668927
Generate primes according to FIPS 186-4
by Jethro Beekman
· 7 years ago
90a8b52
Merge branch 'pr_1480' into development-proposed
by Gilles Peskine
· 7 years ago
5bdb671
Merge branch 'pr_403' into development-proposed
by Gilles Peskine
· 7 years ago
4e4be7c
Optimize unnecessary zeorizing in mbedtls_mpi_copy
by Gilles Peskine
· 7 years ago
a3389eb
Merge branch 'development-restricted' into iotssl-1306-rsa-is-vulnerable-to-bellcore-glitch-attack
by Hanno Becker
· 7 years ago
8880711
Zeroize stack before returning from mpi_fill_random
by Hanno Becker
· 8 years ago
073c199
Make mpi_read_binary time constant
by Hanno Becker
· 8 years ago
8d1dd1b
Fix bug in mbedtls_mpi_exp_mod
by Hanno Becker
· 8 years ago
db108ac
Merge remote-tracking branch 'hanno/mpi_read_file_underflow' into development
by Manuel Pégourié-Gonnard
· 8 years ago
b2034b7
Fix potential stack underflow in mpi_read_file.
by Hanno Becker
· 8 years ago
4bcb491
Abort modular inversion when modulus is one.
by Hanno Becker
· 8 years ago
a4af1c4
Correct sign in modular exponentiation algorithm.
by Hanno Becker
· 8 years ago
d1cc7f6
Fix buffer overflow in mbedtls_mpi_write_string()
by Andres AG
· 9 years ago
2917689
Adds additional casts to calloc calls
by Simon Butcher
· 9 years ago
91c68a5
Shut up a clang-analyzer warning
by Nicholas Wilson
· 9 years ago
e17a8da
Rename MPI zeroize function to mbedtls_mpi_zeroize
by Alexey Skalozub
· 10 years ago
3d53f41
Faster mbedtls_zeroize for MPI
by Alexey Skalozub
· 10 years ago
8e75e68
Remove redundant i increments
by Alexey Skalozub
· 10 years ago
e9c1b1a
Merge remote-tracking branch 'yanesca/iss309' into development
by Manuel Pégourié-Gonnard
· 10 years ago
9803d07
Fix for MPI divide on MSVC
by Simon Butcher
· 10 years ago
f5ba045
Fix for compiler warnings and style
by Simon Butcher
· 10 years ago
1630888
Fix two more compiler warnings
by Manuel Pégourié-Gonnard
· 10 years ago
e3e8edf
Fix potential integer overflow in prev. commit
by Manuel Pégourié-Gonnard
· 10 years ago
15b15d1
Added integer divide by as separate function
by Simon Butcher
· 10 years ago
Next »