TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls
/
refs/heads/archive/better-cf-padding-checks
/
library
/
dhm.c
abccfc1
Merge development into development-restricted
by Dan Handley
· 5 years ago
1e14827
Update copyright notices to use Linux Foundation guidance
by Bence Szépkúti
· 5 years ago
1718265
Merge pull request #709 from mpg/protect-base-blinding-dev-restricted
by Gilles Peskine
· 5 years ago
db09ef6
Include common.h instead of config.h in library source files
by Gilles Peskine
· 5 years ago
af72167
DHM: blind call to mpi_inv_mod() on secret value
by Manuel Pégourié-Gonnard
· 5 years ago
9f58c4b
DHM: make drawing of blinding value a function
by Manuel Pégourié-Gonnard
· 5 years ago
24eed8d
Initialise return values to an error
by Janos Follath
· 6 years ago
8b0f9e6
Allow DHM selftest to run if MBEDTLS_PEM_PARSE_C is unset
by Hanno Becker
· 6 years ago
c470b6b
Merge development commit 8e76332 into development-psa
by Andrzej Kurek
· 6 years ago
1f6301b
Rename mbedtls_zeroize to mbedtls_platform_zeroize
by Andres Amaya Garcia
· 7 years ago
e32df08
Remove individual copies of mbedtls_zeroize()
by Andres Amaya Garcia
· 8 years ago
784de59
Merge remote-tracking branch 'upstream-restricted/pr/410' into development-restricted
by Jaeden Amero
· 8 years ago
aaaa98c
Merge branch 'development-proposed' into development-restricted
by Gilles Peskine
· 8 years ago
08ba530
Remove some extra lines
by nirekh01
· 8 years ago
49762fa
Add 'MBEDTLS_DHM_ALT' #DEFINE to library/config.h
by nirekh01
· 8 years ago
1f35ca9
Added alternated Diffie-Hellman module.
by Reuven Levin
· 8 years ago
9c8ac0c
Merge remote-tracking branch 'upstream-restricted/pr/404' into development-restricted
by Gilles Peskine
· 8 years ago
c753f5d
Merge remote-tracking branch 'upstream-restricted/pr/369' into development-restricted
by Gilles Peskine
· 8 years ago
8880e75
Add new function mbedtls_dhm_set_group to DHM Group
by Hanno Becker
· 8 years ago
e2fcfa8
Stick to the use of constant-macros
by Hanno Becker
· 8 years ago
de6c164
Add brackets around arguments of internal macro DHM_MPI_EXPORT
by Hanno Becker
· 8 years ago
e71ad12
Minor code-improvements in dhm.c
by Hanno Becker
· 8 years ago
4c72b00
Add const-qualifiers to prime constants
by Hanno Becker
· 8 years ago
b2bad80
Introduce Diffie-Hellman parameters from RFC 7919
by Hanno Becker
· 8 years ago
0e6dc84
Deprecate Diffie-Hellman groups from RFC 5114
by Hanno Becker
· 8 years ago
1ad1c6d
Fix typo
by Janos Follath
· 8 years ago
aa325d7
DHM: Fix dhm_check_range() always returning 0
by Janos Follath
· 8 years ago
7269fee
Check return code of mbedtls_mpi_fill_random
by Ron Eldor
· 9 years ago
bdbca7b
Zeroize tmp buf on fail in load_file() dhm.c
by Andres Amaya Garcia
· 8 years ago
bdae02c
Corrected references for RSA and DHM
by Simon Butcher
· 10 years ago
37ff140
Change main license to Apache 2.0
by Manuel Pégourié-Gonnard
· 10 years ago
6fb8187
Update date in copyright line
by Manuel Pégourié-Gonnard
· 10 years ago
53585ee
Remove test DHM params from certs.c
by Manuel Pégourié-Gonnard
· 10 years ago
3335205
Avoid in-out length in dhm_calc_secret()
by Manuel Pégourié-Gonnard
· 10 years ago
6a8ca33
Rename ERR_xxx_MALLOC_FAILED to ..._ALLOC_FAILED
by Manuel Pégourié-Gonnard
· 10 years ago
7551cb9
Replace malloc with calloc
by Manuel Pégourié-Gonnard
· 10 years ago
0ece0f9
Fix checks for nul-termination
by Manuel Pégourié-Gonnard
· 10 years ago
43b37cb
Fix use of pem_read_buffer() in PK, DHM and X509
by Manuel Pégourié-Gonnard
· 10 years ago
de9b363
Merge branch mbedtls-1.3 into development
by Manuel Pégourié-Gonnard
· 10 years ago
2ed8173
accept PKCS#3 DH parameters with privateValueLength included
by Daniel Kahn Gillmor
· 10 years ago
2cf5a7c
The Great Renaming
by Manuel Pégourié-Gonnard
· 10 years ago
998930a
Replace non-ascii characters in source files
by Manuel Pégourié-Gonnard
· 10 years ago
7f80997
Rename include directory to mbedtls
by Manuel Pégourié-Gonnard
· 10 years ago
fe44643
Rename website and repository
by Manuel Pégourié-Gonnard
· 10 years ago
981732b
Fix missing/misplaced #include's
by Manuel Pégourié-Gonnard
· 10 years ago
c531b4a
Apply the semantic patch rm-malloc-cast.cocci.
by Mansour Moufid
· 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
· 10 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
b196fc2
Fix dhm_selftest() return value
by Manuel Pégourié-Gonnard
· 11 years ago
8f870b0
Add dhm_init()
by Paul Bakker
· 11 years ago
66d5d07
Fix formatting in various code to match spacing from coding style
by Paul Bakker
· 11 years ago
3461772
Introduce polarssl_zeroize() instead of memset() for zeroization
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
cef4ad2
Adapt sources to configurable config.h name
by Manuel Pégourié-Gonnard
· 11 years ago
3d8fb63
Added missing MPI_CHK around mpi functions
by Paul Bakker
· 11 years ago
3fec220
Add test for dhm_parse_dhmfile
by Manuel Pégourié-Gonnard
· 11 years ago
648656a
Fix error code in dhm_selftest()
by Manuel Pégourié-Gonnard
· 11 years ago
7dc4c44
Library files moved to use platform layer
by Paul Bakker
· 11 years ago
d61cc3b
Possible naming collision in dhm_context
by Paul Bakker
· 12 years ago
15d5de1
Simplify usage of DHM blinding
by Manuel Pégourié-Gonnard
· 12 years ago
cff6842
POLARSSL_PEM_C split into POLARSSL_PEM_PARSE_C and POLARSSL_PEM_WRITE_C
by Paul Bakker
· 12 years ago
40ce79f
Moved DHM parsing from X509 module to DHM module
by Paul Bakker
· 12 years ago
b72b4ed
Fix memory leak in DHM
by Manuel Pégourié-Gonnard
· 12 years ago
ed8a02b
Simplify DH blinding a bit
by Manuel Pégourié-Gonnard
· 12 years ago
143b502
Implement DH blinding
by Manuel Pégourié-Gonnard
· 12 years ago
2d62764
Change dhm_calc_secret() prototype
by Manuel Pégourié-Gonnard
· 12 years ago
48f7a5d
DHE-PSK based ciphersuite support added and cleaner key exchange based
by Paul Bakker
· 12 years ago
b5b20f1
- Extra sanity check for input added
by Paul Bakker
· 13 years ago
aec37cb
- Added extra sanity check to DHM values
by Paul Bakker
· 13 years ago
901c656
- Fill full buffer (Wrong parameter usage)
by Paul Bakker
· 13 years ago
13ed9ab
- Removed unused variable
by Paul Bakker
· 13 years ago
1ef83d6
- Initial bare version of TLS 1.2
by Paul Bakker
· 13 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
9d78140
- A error_strerror function() has been added to translate between error codes and their description.
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
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
99a03af
- Fixed possible uninitialized values
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
345a6fe
- Replaced function that fixes man-in-the-middle attack
by Paul Bakker
· 14 years ago
c47840e
- Updated sanity checks
by Paul Bakker
· 14 years ago
b96f154
- Fixed copyright message
by Paul Bakker
· 15 years ago
84f12b7
- Updated Copyright to correct entity
by Paul Bakker
· 15 years ago
ff7fe67
- Minor DHM code cleanup/comments
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
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
2a1fadf
- Increased size of generated value X
by Paul Bakker
· 16 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