Sign in
pigweed
/
third_party
/
github
/
ARMmbed
/
mbedtls
/
b29a7ba3f2fa62ed0e4daa6609f236083e36817c
/
library
/
rsa.c
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
· 11 years ago
b4fae57
Add pk_rsa_set_padding() and rsa_set_padding()
by Manuel Pégourié-Gonnard
· 11 years ago
7c59363
Remove a few dead stores
by Manuel Pégourié-Gonnard
· 11 years ago
4de44aa
Rewrote check to prevent read of uninitialized data in rsa_rsassa_pss_verify()
by Paul Bakker
· 11 years ago
fef3c5a
Fixed typo in POLARSSL_PKCS1_V15 in rsa.c
by Paul Bakker
· 11 years ago
27290da
Check PKCS 1.5 padding in a more constant-time way
by Manuel Pégourié-Gonnard
· 11 years ago
ab44d7e
Check OAEP padding in a more constant-time way
by Manuel Pégourié-Gonnard
· 11 years ago
a5cfc35
RSA-OAEP decrypt: reorganise code
by Manuel Pégourié-Gonnard
· 11 years ago
b9cfaa0
Explicit conversions and minor changes to prevent MSVC compiler warnings
by Paul Bakker
· 11 years ago
ae10299
RSA blinding: lock for a smaller amount of time
by Manuel Pégourié-Gonnard
· 11 years ago
4d89c7e
RSA blinding: check highly unlikely cases
by Manuel Pégourié-Gonnard
· 11 years ago
971f8b8
Fix compile errors with RSA_NO_CRT
by Manuel Pégourié-Gonnard
· 11 years ago
c9965dc
RSA blinding threading support
by Paul Bakker
· 11 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
· 12 years ago
40628ba
Memory leak when using RSA_PKCS_V21 operations fixed
by Paul Bakker
· 12 years ago
9a73632
- Merged changesets 1399 up to and including 1415 into 1.2 branch
by Paul Bakker
· 12 years ago
0be82f2
- Updated rsa_pkcs1_verify() and rsa_pkcs1_sign() to use appropriate buffer size for max MPIs
by Paul Bakker
· 12 years ago
321df6f
- Expanded rsa_check_privkey() to check DP, DQ and QP as well
by Paul Bakker
· 12 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
· 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
· 13 years ago
fe3256e
- Introduced POLARSSL_MPI_MAX_SIZE and POLARSSL_MPI_MAX_BITS for MPI size management (Closes ticket #44)
by Paul Bakker
· 13 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
· 13 years ago
b125ed8
- Fixed typo in doxygen tag
by Paul Bakker
· 13 years ago
684ddce
- Minor fixer to remove compiler warnings for ARMCC
by Paul Bakker
· 14 years ago
27fdf46
- Removed deprecated casts to int for now unsigned values
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
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
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
0216cc1
- Added flag to disable Chinese Remainder Theorem when using RSA private operation (POLARSSL_RSA_NO_CRT)
by Paul Bakker
· 14 years ago
53019ae
- RSASSA-PSS verification now properly handles salt lengths other than hlen
by Paul Bakker
· 14 years ago
9dcc322
- Added support for PKCS#1 v2.1 encoding and thus support for the RSAES-OAEP and RSASSA-PSS operations (enabled by POLARSSL_PKCS1_V21)
by Paul Bakker
· 14 years ago
21eb280
- Changed origins of random function and pointer in rsa_pkcs1_encrypt, rsa_init, rsa_gen_key.
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
545570e
- Added initialization for RSA where needed
by Paul Bakker
· 15 years ago
b572adf
- Removed dependency on rand() in rsa_pkcs1_encrypt(). Now using random fuction provided to context
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
38e2b48
- Fixed typo in name of POLARSSL_ERR_RSA_OUTPUT_TOO_LARGE.
by Paul Bakker
· 16 years ago
fc22c44
- Renamed RSA_RAW to SIG_RSA_RAW for consistency in the code.
by Paul Bakker
· 16 years ago
37940d9f
- Added test coverage for X509parse
by Paul Bakker
· 16 years ago
cde5157
- Fixed missing support for SHA2 in rsa_pkcs1_sign()
by Paul Bakker
· 16 years ago
4593aea
- Added support for RFC4055 SHA2 and SHA4 signature algorithms for
by Paul Bakker
· 16 years ago
785a9ee
- Added email address to header license information
by Paul Bakker
· 16 years ago
060c568
- Fixed possible heap overflow in pkcs1_decrypt on data larger than output
by Paul Bakker
· 16 years ago
e0ccd0a
- Updated Copyright notices
by Paul Bakker
· 16 years ago
40e4694
- First replacement of xyssl by polarssl where needed
by Paul Bakker
· 16 years ago
5121ce5
- Renamed include directory to polarssl
by Paul Bakker
· 16 years ago