TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls.git
/
fb18b6ccd2f7f33e893dbf5d299f232b51a7c41f
/
library
/
bignum.c
ca3ff06
Merge remote-tracking branch 'hanno/mpi_read_file_underflow_backport-1.3' into mbedtls-1.3
by Manuel Pégourié-Gonnard
· 8 years ago
8c7698b
Fix potential stack underflow in mpi_read_file.
by Hanno Becker
· 8 years ago
1c6339f
Abort modular inversion when modulus is one.
by Hanno Becker
· 8 years ago
88bbab2
Correct sign in modular exponentiation algorithm.
by Hanno Becker
· 8 years ago
2b2fc11
Fix buffer overflow in mpi_write_string()
by Andres AG
· 8 years ago
mbedtls-1.3.19-rc1
faae6d2
Fix backporting mistakes in previous 5 commits
by Manuel Pégourié-Gonnard
· 10 years ago
2db440d
Improved on the previous fix and added a test case to cover both types
by Janos Follath
· 10 years ago
2b806fa
Removed recursion from fix #309.
by Janos Follath
· 10 years ago
ff5317e
Improved on the fix of #309 and extended the test to cover subroutines.
by Janos Follath
· 10 years ago
87f1494
Tests and fix added for #309 (inplace mpi doubling).
by Janos Follath
· 10 years ago
d7fe6fb
Fix for MPI divide on MSVC
by Simon Butcher
· 10 years ago
14400c8
Merge memory leak fix into branch 'mbedtls-1.3'
by Simon Butcher
· 10 years ago
e4ed347
Added integer divide by as separate function
by Simon Butcher
· 10 years ago
fa647a7
Fix references to non-standard SIZE_T_MAX
by Manuel Pégourié-Gonnard
· 10 years ago
59efb6a
Fix potential buffer overflow in mpi_read_string()
by Manuel Pégourié-Gonnard
· 10 years ago
770b5e1
Fix missing NULL check in MPI
by Manuel Pégourié-Gonnard
· 10 years ago
aac657a
Merge remote-tracking branch 'pj/development' into mbedtls-1.3
by Manuel Pégourié-Gonnard
· 10 years ago
b99183d
Added more constant-time code and removed biases in the prime number generation routines.
by Pascal Junod
· 10 years ago
fe44643
Rename website and repository
by Manuel Pégourié-Gonnard
· 10 years ago
c531b4a
Apply the semantic patch rm-malloc-cast.cocci.
by Mansour Moufid
· 10 years ago
d72704b
Remove work-around for alleged compiler bug
by Manuel Pégourié-Gonnard
· 10 years ago
00ab470
cleanup library and some basic tests. Includes, add guards to includes
by Rich Evans
· 10 years ago
860b516
Fix url again
by Manuel Pégourié-Gonnard
· 11 years ago
085ab04
Fix website url to use https.
by Manuel Pégourié-Gonnard
· 11 years ago
9698f58
Remove maintainer line.
by Manuel Pégourié-Gonnard
· 11 years ago
19f6b5d
Remove redundant "all rights reserved"
by Manuel Pégourié-Gonnard
· 11 years ago
a658a40
Update copyright
by Manuel Pégourié-Gonnard
· 11 years ago
967a2a5
Change name to mbed TLS in the copyright notice
by Manuel Pégourié-Gonnard
· 11 years ago
7f4ed67
Fix compile error with armcc in mpi_is_prime()
by Manuel Pégourié-Gonnard
· 11 years ago
6c343d7
Fix mpi_write_string() to write "00" as hex output for empty MPI
by Paul Bakker
· 11 years ago
66d5d07
Fix formatting in various code to match spacing from coding style
by Paul Bakker
· 11 years ago
db20c10
Add #endif comments for #endif more than 10 lines from #if / #else
by Paul Bakker
· 11 years ago
d8bb826
Fix code styling for return statements
by Paul Bakker
· 11 years ago
3461772
Introduce polarssl_zeroize() instead of memset() for zeroization
by Paul Bakker
· 11 years ago
c37b0ac
Fix typo in bignum.c
by Paul Bakker
· 11 years ago
b9e4e2c
Fix formatting: fix some 'easy' > 80 length lines
by Paul Bakker
· 11 years ago
9af723c
Fix formatting: remove trailing spaces, #endif with comments (> 10 lines)
by Paul Bakker
· 11 years ago
9bb04b6
Removed redundant code in mpi_fill_random()
by Paul Bakker
· 11 years ago
cef4ad2
Adapt sources to configurable config.h name
by Manuel Pégourié-Gonnard
· 11 years ago
33dc46b
Fix bug with mpi_fill_random() on big-endian
by Paul Bakker
· 11 years ago
75a2860
Potential memory leak in mpi_exp_mod() when error occurs during
by Paul Bakker
· 11 years ago
2eea292
Make the compiler work-around more specific
by Manuel Pégourié-Gonnard
· 11 years ago
bb8661e
Work around a compiler bug on OS X.
by Manuel Pégourié-Gonnard
· 11 years ago
fdf3f0e
Avoid "unreachable code" warning
by Manuel Pégourié-Gonnard
· 11 years ago
7dc4c44
Library files moved to use platform layer
by Paul Bakker
· 11 years ago
c2024f4
Added MPI_CHK around unguarded mpi calls
by Paul Bakker
· 12 years ago
9e987ed
Fix potential memory leak in bignum selftest
by Manuel Pégourié-Gonnard
· 12 years ago
fd6a191
Fix misplaced initialisation.
by Manuel Pégourié-Gonnard
· 12 years ago
6ea1a95
Added missing MPI_CHK() around some statements
by Paul Bakker
· 12 years ago
a60fe89
Add mpi_safe_cond_swap()
by Manuel Pégourié-Gonnard
· 12 years ago
9a4a5ac
Fix bug in mpi_set_bit
by Manuel Pégourié-Gonnard
· 12 years ago
3209ce3
Merged ECP improvements
by Paul Bakker
· 12 years ago
96c7a92
Change mpi_safe_cond_assign() for more const-ness
by Manuel Pégourié-Gonnard
· 12 years ago
45f457d
Reverted API change for mpi_is_prime()
by Paul Bakker
· 12 years ago
ddf7615
gen_prime: check small primes early (3x speed-up)
by Manuel Pégourié-Gonnard
· 12 years ago
378fb4b
Split mpi_is_prime() and make its first arg const
by Manuel Pégourié-Gonnard
· 12 years ago
0160eac
gen_prime: ensure X = 2 mod 3 -> 2.5x speedup
by Manuel Pégourié-Gonnard
· 12 years ago
711507a
gen_prime: ensure X = 3 mod 4 always (2x speed-up)
by Manuel Pégourié-Gonnard
· 12 years ago
3e3d2b8
Fix bug in mpi_safe_cond_assign()
by Manuel Pégourié-Gonnard
· 12 years ago
71c2c21
Add mpi_safe_cond_assign()
by Manuel Pégourié-Gonnard
· 12 years ago
5868163
Add mpi_shrink()
by Manuel Pégourié-Gonnard
· 12 years ago
0d7702c
Minor change that makes life easier for static analyzers / compilers
by Paul Bakker
· 12 years ago
60b1d10
Fixed spelling / typos (from PowerDNS:codespell)
by Paul Bakker
· 12 years ago
df0142b
Fix some dependencies in tests
by Manuel Pégourié-Gonnard
· 12 years ago
f499993
Add ecdsa_from_keypair()
by Manuel Pégourié-Gonnard
· 12 years ago
6e339b5
Memory-allocation abstraction layer and buffer-based allocator added
by Paul Bakker
· 12 years ago
fc4f46f
Fixed bignum.c and bn_mul.h to support Thumb2 and LLVM compiler
by Paul Bakker
· 12 years ago
8ddb645
Added conversion to int for a t_uint value to prevent compiler warnings
by Paul Bakker
· 12 years ago
e44ec10
Fixed segfault in mpi_shift_r()
by Manuel Pégourié-Gonnard
· 13 years ago
f02c564
- Allow R and A to point to same mpi in mpi_div_mpi
by Paul Bakker
· 13 years ago
096348f
- Fixed comments / typos
by Paul Bakker
· 13 years ago
d9374b0
- Moved mpi_inv_mod() outside POLARSSL_GENPRIME
by Paul Bakker
· 13 years ago
d2c167e
- And fixed order
by Paul Bakker
· 13 years ago
98fe5ea
- Removed snprintf altogether for critical code paths
by Paul Bakker
· 13 years ago
331f563
- Do not use sprintf(), use snprintf() instead.
by Paul Bakker
· 13 years ago
c110d02
- Added extra check to prevent crash on failed memory allocation
by Paul Bakker
· 13 years ago
62261d6
- Rewrote bignum type definition #ifdef tree to work better on all systems
by Paul Bakker
· 13 years ago
5c2364c
- Moved from unsigned long to uint32_t throughout code
by Paul Bakker
· 13 years ago
5531c6d
- Change buffer size on mpi_write_file() to cover larger size MPIs
by Paul Bakker
· 13 years ago
2d319fd
- Fixed bug in mpi_add_abs with adding a small number to a large mpi with carry rollover.
by Paul Bakker
· 13 years ago
5054692
- Moved to prevent uninitialized exit var
by Paul Bakker
· 13 years ago
f6198c1
- mpi_exp_mod() now correctly handles negative base numbers (Closes ticket #52)
by Paul Bakker
· 13 years ago
6b906e5
- Const correctness mpi_get_bit() - Documentation mpi_lsb(), mpi_msb()
by Paul Bakker
· 13 years ago
901c656
- Fill full buffer (Wrong parameter usage)
by Paul Bakker
· 13 years ago
0c8f73b
- Fixed a mistake in mpi_cmp_mpi() where longer B values are handled wrong
by Paul Bakker
· 13 years ago
39dfdac
- Fixed mpi_fill_random() to fill and create right size MPI
by Paul Bakker
· 13 years ago
17caec1
- Changed back statement
by Paul Bakker
· 14 years ago
cf0360a
- Fixed compiler error on 64-bit systems not using GCC
by Paul Bakker
· 14 years ago
69e095c
- Changed the behaviour of x509parse_parse_crt for permissive parsing. Now returns the number of 'failed certificates' instead of having a switch to enable it.
by Paul Bakker
· 14 years ago
cb37aa5
- Better buffer handling in mpi_read_file()
by Paul Bakker
· 14 years ago
a3d195c
- Changed the used random function pointer to more flexible format. Renamed havege_rand() to havege_random() to prevent mistakes. Lots of changes as a consequence in library code and programs
by Paul Bakker
· 14 years ago
fe3256e
- Introduced POLARSSL_MPI_MAX_SIZE and POLARSSL_MPI_MAX_BITS for MPI size management (Closes ticket #44)
by Paul Bakker
· 14 years ago
b6d5f08
- Added POLARSSL_MPI_WINDOW_SIZE definition to allow easier time to memory trade-off
by Paul Bakker
· 14 years ago
adb7ce1
- Fixed unconverted t_dbl into t_udbl
by Paul Bakker
· 14 years ago
5690efc
- Fixed a whole bunch of dependencies on defines between files, examples and tests
by Paul Bakker
· 14 years ago
2f5947e
- Added mpi_get_bit() and mpi_set_bit() individual bit setter/getter functions.
by Paul Bakker
· 14 years ago
6c591fa
- mpi_init() and mpi_free() only accept a single argument and do not accept variable arguments anymore. This prevents unexpected memory corruption in a number of use cases.
by Paul Bakker
· 14 years ago
f968857
- Removed conversions to int when not needed to prevent signed / unsigned situations
by Paul Bakker
· 14 years ago
335db3f
- Functions requiring File System functions can now be disables by undefining POLARSSL_FS_IO
by Paul Bakker
· 14 years ago
a755ca1
- Renamed t_s_int, t_int and t_dbl to respectively t_sint, t_uint and t_udbl for clarity
by Paul Bakker
· 14 years ago
Next »