TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls.git
/
4087c47043cb7b8b51e69f1de47ab6a2bccead3d
/
library
/
bignum.c
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
23986e5
- Major type rewrite of int to size_t for most variables and arguments used for buffer lengths and loops
by Paul Bakker
· 14 years ago
287781a
- Added mpi_fill_random() for centralized filling of big numbers with random data (Fixed ticket #10)
by Paul Bakker
· 14 years ago
b94081b
- Make A only smaller if it is larger than |X| - 1
by Paul Bakker
· 15 years ago
b96f154
- Fixed copyright message
by Paul Bakker
· 15 years ago
84f12b7
- Updated Copyright to correct entity
by Paul Bakker
· 15 years ago
08f3c30
- Enlarged buffer to allow better debugging.
by Paul Bakker
· 15 years ago
fc8c436
- Updated copyright line to 2010
by Paul Bakker
· 15 years ago
1f3c39c
- Removed copyright line for Christophe Devine for clarity
by Paul Bakker
· 15 years ago
41d13f4
- Found algorithmic bug in mpi_is_prime()
by Paul Bakker
· 15 years ago
ff60ee6
- Added const-correctness to main codebase
by Paul Bakker
· 15 years ago
77b385e
- Updated copyright messages on all relevant files
by Paul Bakker
· 16 years ago
48eab26
- Corrected is_prime() results for 0, 1 and 2 (found by code coverage tests)
by Paul Bakker
· 16 years ago
ce40a6d
- Fixed incorrect handling of negative first input value in mpi_mod_mpi() and mpi_mod_int(). Resulting change also affects mpi_write_string() (found by code coverage tests).
by Paul Bakker
· 16 years ago
1ef7a53
- Fixed incorrect handling of negative first input value in mpi_sub_abs() (found by code coverage tests).
by Paul Bakker
· 16 years ago
f7ca7b9
- Fixed incorrect handling of one single negative input value in mpi_add_abs() (found by code coverage tests).
by Paul Bakker
· 16 years ago
05feca6
- Fixed incorrect handling of negative strings in mpi_read_string() (found by code coverage tests).
by Paul Bakker
· 16 years ago
70b3eed
- Moved mpi_gcd() outside of the POLARSSL_GENPRIME define. Is needed in rsa.c for normal use.
by Paul Bakker
· 16 years ago
4e0d7ca
- Fixed a bug in mpi_gcd() that prevented correct funtioning when both input numbers are even.
by Paul Bakker
· 17 years ago
785a9ee
- Added email address to header license information
by Paul Bakker
· 17 years ago
e0ccd0a
- Updated Copyright notices
by Paul Bakker
· 17 years ago
40e4694
- First replacement of xyssl by polarssl where needed
by Paul Bakker
· 17 years ago
5121ce5
- Renamed include directory to polarssl
by Paul Bakker
· 17 years ago