TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls.git
/
fb18b6ccd2f7f33e893dbf5d299f232b51a7c41f
/
library
/
rsa.c
ce8f919
Merge remote-tracking branch 'restricted/iotssl-1138-rsa-padding-check-1.3-restricted' into mbedtls-1.3-restricted
by Manuel Pégourié-Gonnard
· 8 years ago
9105b18
Merge remote-tracking branch 'restricted/IOTSSL-1366/mbedtls-1.3' into mbedtls-1.3-restricted
by Manuel Pégourié-Gonnard
· 8 years ago
2634aa9
Merge remote-tracking branch 'restricted/mbedtls-1.3' into mbedtls-1.3
by Manuel Pégourié-Gonnard
· 8 years ago
73e7f4c
RSA: wipe more stack buffers
by Gilles Peskine
· 8 years ago
213aec8
RSA: wipe stack buffers
by Gilles Peskine
· 8 years ago
139708d
Fix backporting errors
by Manuel Pégourié-Gonnard
· 8 years ago
19c10e9
RSA PKCS1v1.5 verification: check padding length
by Manuel Pégourié-Gonnard
· 8 years ago
bb1e688
Add exponent blinding to RSA with CRT
by Janos Follath
· 8 years ago
5d39257
Add exponent blinding to RSA without CRT
by Janos Follath
· 8 years ago
6e598a2
More length checks in RSA PKCS1v15 verify
by Gilles Peskine
· 8 years ago
6de05fa
More length checks in RSA PKCS1v15 verify
by Gilles Peskine
· 8 years ago
6037145
Merge branch for fix for #502 - Unchecked calls
by Simon Butcher
· 9 years ago
bfcd032
Restore P>Q in RSA key generation (#558)
by Janos Follath
· 9 years ago
4556d20
Fixed unchecked calls to mbedtls_md_setup in rsa.c (#502)
by Brian J Murray
· 9 years ago
742783f
Included tests for the overflow
by Janos Follath
· 9 years ago
d3253b0
Fix for backprt of IOTSSL-628
by Simon Butcher
· 9 years ago
092f2c4
Move underflow test to make time constant
by Janos Follath
· 9 years ago
3bed13d
Included test for integer underflow.
by Janos Follath
· 9 years ago
f18263d
Removing 'if' branch from the fix.
by Janos Follath
· 9 years ago
f570f7f
Length check added
by Janos Follath
· 9 years ago
7ddc2cd
Fix null pointer dereference in the RSA module.
by Janos Follath
· 9 years ago
e9f8427
Adds test for odd bit length RSA key size
by Simon Butcher
· 9 years ago
d61fc68
Fix odd bitlength RSA key generation
by Janos Follath
· 9 years ago
7d3f3a8
Fix for memory leak in RSA-SSA signing
by Simon Butcher
· 10 years ago
a1cdcd2
Add counter-measure against RSA-CRT attack
by Manuel Pégourié-Gonnard
· 10 years ago
5efed09
Fix possible unlock before lock in RSA
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
88fca3e
Fix thread safety issue in RSA operations
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
a273371
Fix "int vs enum" warnings from armcc v5
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
2f8d1f9
Add rsa_check_pub_priv()
by Manuel Pégourié-Gonnard
· 11 years ago
e10e06d
Blind RSA operations even without CRT
by Manuel Pégourié-Gonnard
· 11 years ago
21e081b
Prevent (incorrect) compiler warning
by Paul Bakker
· 11 years ago
84bbeb5
Adapt cipher and MD layer with _init() and _free()
by Paul Bakker
· 11 years ago
66d5d07
Fix formatting in various code to match spacing from coding style
by Paul Bakker
· 11 years ago
d8bb826
Fix code styling for return statements
by Paul Bakker
· 11 years ago
88aa6e0
Fix potential memory leak in RSASSA-PSS verify
by Manuel Pégourié-Gonnard
· 11 years ago
0eaa8be
Fix signedness warning
by Manuel Pégourié-Gonnard
· 11 years ago
5ec628a
Add rsa_rsassa_pss_verify_ext()
by Manuel Pégourié-Gonnard
· 11 years ago
e6d1d82
Relax checks on RSA mode for public key operations
by Manuel Pégourié-Gonnard
· 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
f96f7b6
On OpenBSD, use arc4random_buf() instead of rand() to prevent warnings
by Paul Bakker
· 11 years ago
24f37cc
rsa_check_pubkey() now allows an E up to N
by Paul Bakker
· 11 years ago
3d8fb63
Added missing MPI_CHK around mpi functions
by Paul Bakker
· 11 years ago
fdddac9
Fix stupid bug in rsa_copy()
by Manuel Pégourié-Gonnard
· 11 years ago
844a4c0
Fix RSASSA-PSS example programs
by Manuel Pégourié-Gonnard
· 11 years ago
7dc4c44
Library files moved to use platform layer
by Paul Bakker
· 11 years ago
fbf0915
Fix bug in RSA PKCS#1 v1.5 "reversed" operations
by Manuel Pégourié-Gonnard
· 11 years ago
42099c3
Revert "Add pk_rsa_set_padding() and rsa_set_padding()"
by Paul Bakker
· 12 years ago
b4fae57
Add pk_rsa_set_padding() and rsa_set_padding()
by Manuel Pégourié-Gonnard
· 12 years ago
7c59363
Remove a few dead stores
by Manuel Pégourié-Gonnard
· 12 years ago
4de44aa
Rewrote check to prevent read of uninitialized data in rsa_rsassa_pss_verify()
by Paul Bakker
· 12 years ago
fef3c5a
Fixed typo in POLARSSL_PKCS1_V15 in rsa.c
by Paul Bakker
· 12 years ago
27290da
Check PKCS 1.5 padding in a more constant-time way
by Manuel Pégourié-Gonnard
· 12 years ago
ab44d7e
Check OAEP padding in a more constant-time way
by Manuel Pégourié-Gonnard
· 12 years ago
a5cfc35
RSA-OAEP decrypt: reorganise code
by Manuel Pégourié-Gonnard
· 12 years ago
b9cfaa0
Explicit conversions and minor changes to prevent MSVC compiler warnings
by Paul Bakker
· 12 years ago
ae10299
RSA blinding: lock for a smaller amount of time
by Manuel Pégourié-Gonnard
· 12 years ago
4d89c7e
RSA blinding: check highly unlikely cases
by Manuel Pégourié-Gonnard
· 12 years ago
971f8b8
Fix compile errors with RSA_NO_CRT
by Manuel Pégourié-Gonnard
· 12 years ago
c9965dc
RSA blinding threading support
by Paul Bakker
· 12 years ago
3e41fe8
Remove printf when RSA selftest is skipped
by Paul Bakker
· 12 years ago
735b8fc
Fix blunder in 8a109f1
by Manuel Pégourié-Gonnard
· 12 years ago
9013af7
Merged major refactoring of x509write module into development
by Paul Bakker
· 12 years ago
8a109f1
Optimize RSA blinding by caching-updating values
by Manuel Pégourié-Gonnard
· 12 years ago
ea53a55
Refactor to prepare for RSA blinding optimisation
by Manuel Pégourié-Gonnard
· 12 years ago
1c3853b
oid_get_oid_by_*() now give back oid length as well
by Paul Bakker
· 12 years ago
f451bac
Blinding RSA only active when f_rng is provided
by Paul Bakker
· 12 years ago
48377d9
Configuration option to enable/disable POLARSSL_PKCS1_V15 operations
by Paul Bakker
· 12 years ago
aab30c1
RSA blinding added for CRT operations
by Paul Bakker
· 12 years ago
548957d
Refactored RSA to have random generator in every RSA operation
by Paul Bakker
· 12 years ago
3053f5b
Get rid of pk_wrap_rsa()
by Manuel Pégourié-Gonnard
· 12 years ago
cc0a9d0
Fix const-correctness of rsa_*_verify()
by Manuel Pégourié-Gonnard
· 12 years ago
c70b982
OID functionality moved to a separate module.
by Paul Bakker
· 12 years ago
8804f69
Removed timing differences due to bad padding from RSA decrypt for
by Paul Bakker
· 12 years ago
a43231c
Added support for custom labels when using rsa_rsaes_oaep_encrypt() or rsa_rsaes_oaep_decrypt()
by Paul Bakker
· 12 years ago
b386913
Split up the RSA PKCS#1 encrypt, decrypt, sign and verify functions
by Paul Bakker
· 12 years ago
02303e8
Moved md_init_ctx() calls around to minimize exit points
by Paul Bakker
· 13 years ago
40628ba
Memory leak when using RSA_PKCS_V21 operations fixed
by Paul Bakker
· 13 years ago
9a73632
- Merged changesets 1399 up to and including 1415 into 1.2 branch
by Paul Bakker
· 13 years ago
0be82f2
- Updated rsa_pkcs1_verify() and rsa_pkcs1_sign() to use appropriate buffer size for max MPIs
by Paul Bakker
· 13 years ago
321df6f
- Expanded rsa_check_privkey() to check DP, DQ and QP as well
by Paul Bakker
· 13 years ago
bb51f0c
- Only include md.h if needed by POLARSSL_PKCS1_V21
by Paul Bakker
· 13 years ago
3c16db9
- Fixed potential memory zeroization on miscrafted RSA key
by Paul Bakker
· 13 years ago
e6ee41f
- Added OpenSSL / PolarSSL compatibility script (tests/compat.sh) and example application (programs/ssl/o_p_test) (Requires OpenSSL)
by Paul Bakker
· 13 years ago
56a7684
- Added alternative for SHA1 signature structure to check for (without NULL)
by Paul Bakker
· 13 years ago
ed375ca
- Fixed signed status of ret
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
1fe7d9b
- Fixed incorrect behaviour in case of RSASSA-PSS with a salt length smaller than the hash length. (Closes ticket #41)
by Paul Bakker
· 14 years ago
b125ed8
- Fixed typo in doxygen tag
by Paul Bakker
· 14 years ago
Next »