TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls
/
c5671bdcf4bea8b9b51a0734fa16af78b6b01dd9
/
library
/
rsa.c
66954e1
Merge branch 'development' into development-restricted
by Jaeden Amero
· 8 years ago
9e4f77c
New MD API: rename functions from _ext to _ret
by Gilles Peskine
· 8 years ago
d91f2a2
Merge branch 'development' into iotssl-1251-2.7
by Gilles Peskine
· 8 years ago
d40c22b
Merge branch 'development' into development-restricted
by Gilles Peskine
· 8 years ago
87ae197
Add explicit uint truncation casts
by Hanno Becker
· 8 years ago
71b0060
Merge branch 'development' into iotssl-247
by Hanno Becker
· 8 years ago
31f3f0b
Merge branch 'development' into development-restricted
by Jaeden Amero
· 8 years ago
d4d6057
Address issues found by coverity
by Hanno Becker
· 8 years ago
f342cb7
Merge branch 'development' into development-restricted
by Jaeden Amero
· 8 years ago
3a760a1
Add size check for RSA modulus to `mbedtls_rsa_complete`
by Hanno Becker
· 8 years ago
91048a3
RSA PSS: remove redundant check; changelog
by Gilles Peskine
· 8 years ago
b00b0da
RSA PSS: fix first byte check for keys of size 8N+1
by Gilles Peskine
· 8 years ago
139108a
RSA PSS: fix minimum length check for keys of size 8N+1
by Gilles Peskine
· 8 years ago
6a54b02
RSA: Fix another buffer overflow in PSS signature verification
by Gilles Peskine
· 8 years ago
28a0c72
RSA: Fix buffer overflow in PSS signature verification
by Gilles Peskine
· 8 years ago
f8c028a
Minor corrections
by Hanno Becker
· 8 years ago
c36aab6
Swap D,E parameters in mbedtls_rsa_deduce_primes
by Hanno Becker
· 8 years ago
ebd2c02
Don't require P,Q in `rsa_private` if neither CRT nor blinding used
by Hanno Becker
· 8 years ago
b82a5b5
Fix typos and mixup related to RSA_NO_CRT
by Hanno Becker
· 8 years ago
a565f54
Introduce new files rsa_internal.[ch] for RSA helper functions
by Hanno Becker
· 8 years ago
705fc68
Unify sanity checks for RSA private and public keys
by Hanno Becker
· 8 years ago
e867489
Remove outdated comments from `mbedtls_rsa_complete`
by Hanno Becker
· 8 years ago
7f25f85
Adapt uses of `mbedtls_rsa_complete` to removed PRNG argument
by Hanno Becker
· 8 years ago
f9e184b
Remove PRNG argument from `mbedtls_rsa_complete`
by Hanno Becker
· 8 years ago
68b4d58
Remove PRNG argument from `mbedtls_rsa_deduce_moduli`
by Hanno Becker
· 8 years ago
0f65e0c
Rename `rsa_deduce_moduli` to `rsa_deduce_primes`
by Hanno Becker
· 8 years ago
8ba6ce4
Rename `rsa_deduce_private` to `rsa_deduce_private_exponent`
by Hanno Becker
· 8 years ago
45a0ef3
Correct memory leak in `mbedtls_rsa_validate_crt`
by Hanno Becker
· 8 years ago
e58d38c
Minor improvements
by Hanno Becker
· 8 years ago
2b2f898
Streamline code-path in rsa_rsassa_pkcs1_v15_encode
by Hanno Becker
· 8 years ago
64a8c0a
Verify PKCS1 v1.5 signature without parsing
by Hanno Becker
· 8 years ago
fdf3803
Outsource code for generating PKCS1 v1.5 encoding
by Hanno Becker
· 8 years ago
171a8f1
Move constant time memcmp for signature verification
by Hanno Becker
· 8 years ago
b5beaa8
Check that 1 < D, E < N in `mbedtls_rsa_validate_params`
by Hanno Becker
· 8 years ago
c6fc878
Remove `mbedtls_rsa_check_crt`
by Hanno Becker
· 8 years ago
98838b0
Minor improvements
by Hanno Becker
· 8 years ago
7471631
Make input arguments to `mbedtls_rsa_import_raw` constant
by Hanno Becker
· 8 years ago
bdefff1
Change signature of `mbedtls_rsa_deduce_private`
by Hanno Becker
· 8 years ago
ba5b755
Change signature and semantics of `mbedtls_rsa_deduce_moduli`
by Hanno Becker
· 8 years ago
56bae95
Improve style and documentation, fix typo
by Hanno Becker
· 8 years ago
bead717
Correct typo in rsa.c
by Hanno Becker
· 8 years ago
ba1ba11
Check that length is properly set in `mbedtls_rsa_check_pubkey`
by Hanno Becker
· 8 years ago
2f8f06a
Don't always recompute context length in mbedtls_rsa_get_len
by Hanno Becker
· 8 years ago
2cca6f3
Always deduce N from P, Q in mbedtls_rsa_complete
by Hanno Becker
· 8 years ago
45037ce
Add check for presence of relevant parameters in mbedtls_rsa_private
by Hanno Becker
· 8 years ago
b269a85
Change mbedtls_rsa_check_privkey to use new helper functions
by Hanno Becker
· 8 years ago
d9431a7
Minor comments improvement
by Hanno Becker
· 8 years ago
d363799
Add mbedtls_rsa_validate_crt
by Hanno Becker
· 8 years ago
d56d83a
Remove double-checking code from rsa_deduce_moduli and rsa_complete
by Hanno Becker
· 8 years ago
750e8b4
Rename rsa_check_params->rsa_validate_params and change error codes
by Hanno Becker
· 8 years ago
fb81c0e
Guard primality checks in RSA module by MBEDTLS_GENPRIME
by Hanno Becker
· 8 years ago
ab37731
Add support for alternative RSA implementations
by Hanno Becker
· 8 years ago
6345dd3
Adapt rsa_check_privkey to deal with NO_CRT option
by Hanno Becker
· 8 years ago
bee3aae
Adapt rsa_gen_key to deal with RSA_NO_CRT option
by Hanno Becker
· 8 years ago
dc95c89
Adapt rsa_deduce_crt to deal with RSA_NO_CRT option
by Hanno Becker
· 8 years ago
33c30a0
Adapt rsa_copy and rsa_free to deal with RSA_NO_CRT option
by Hanno Becker
· 8 years ago
23344b5
Adapt rsa_complete to deal with RSA_NO_CRT option
by Hanno Becker
· 8 years ago
83aad1f
Adapt gen_key example program to new RSA interface
by Hanno Becker
· 8 years ago
3a70116
Adapt RSA selftest to new RSA interface
by Hanno Becker
· 8 years ago
617c1ae
Implement new RSA interface functions
by Hanno Becker
· 8 years ago
e2e8b8d
Implement RSA helper functions
by Hanno Becker
· 8 years ago
c5c7d76
Add goto exit; stmt in rsa.c for consistency
by Andres Amaya Garcia
· 8 years ago
94682d1
Fix use of unitialized ret in rsa.c
by Andres Amaya Garcia
· 8 years ago
698089e
Change RSA to use new MD API and check return code
by Andres Amaya Garcia
· 8 years ago
b86b143
Merge remote-tracking branch 'restricted/iotssl-1138-rsa-padding-check-restricted' into development-restricted
by Manuel Pégourié-Gonnard
· 8 years ago
a0bf6ec
Merge remote-tracking branch 'restricted/IOTSSL-1366/development-restricted' into development-restricted
by Manuel Pégourié-Gonnard
· 8 years ago
18ac716
RSA: wipe more stack buffers
by Gilles Peskine
· 8 years ago
4a7f6a0
RSA: wipe stack buffers
by Gilles Peskine
· 8 years ago
f9203b4
Add exponent blinding to RSA with CRT
by Janos Follath
· 8 years ago
e81102e
Add exponent blinding to RSA without CRT
by Janos Follath
· 8 years ago
c1380de
RSA PKCS1v1.5 verification: check padding length
by Manuel Pégourié-Gonnard
· 8 years ago
e7e7650
More length checks in RSA PKCS1v15 verify
by Gilles Peskine
· 8 years ago
0e17eb0
More length checks in RSA PKCS1v15 verify
by Gilles Peskine
· 8 years ago
ef44178
Restore P>Q in RSA key generation (#558)
by Janos Follath
· 9 years ago
ab069c6
Merge branch 'development' into development-restricted
by Simon Butcher
· 9 years ago
e7be5bd
Fixed unchecked calls to mbedtls_md_setup in rsa.c (#502)
by Brian J Murray
· 9 years ago
f991128
Revert accidental changes to file mode of rsa.c
by Simon Butcher
· 9 years ago
a338691
Merge branch 'development' into development-restricted
by Janos Follath
· 9 years ago
50cdede
Revert accidental changes to file mode of rsa.c
by Simon Butcher
· 9 years ago
04b591e
Merge branch 'development' for weekly test report.
by Janos Follath
· 9 years ago
9c22e73
Merge branch 'development'
by Simon Butcher
· 9 years ago
65b1fa6
Fixes warnings found by Clang static analyser
by Simon Butcher
· 9 years ago
930a370
fix indentation in output of selftest.c
by Brian Murray
· 9 years ago
38d1888
Cleanup ifdef statements
by Paul Bakker
· 9 years ago
e735303
Shut up a few clang-analyze warnings about use of uninitialized variables
by Nicholas Wilson
· 9 years ago
94bafdf
Merge branch 'development'
by Simon Butcher
· 9 years ago
c21bec8
Merge branch 'development'
by Simon Butcher
· 9 years ago
21cc574
Cleanup ifdef statements
by Paul Bakker
· 9 years ago
f4743a6
Merge pull request #457 from NWilson/clang-analyze-fixes
by Paul Bakker
· 9 years ago
2300776
Merge branch 'development'
by Simon Butcher
· 9 years ago
1ed9f99
Fix null pointer dereference in the RSA module.
by Janos Follath
· 9 years ago
3f5c875
Adds test for odd bit length RSA key size
by Simon Butcher
· 9 years ago
10c575b
Fix odd bitlength RSA key generation
by Janos Follath
· 9 years ago
409401c
Shut up a few clang-analyze warnings about use of uninitialized variables
by Nicholas Wilson
· 9 years ago
078bcdd
Merge branch 'IOTSSL-628-BufferOverread'
by Simon Butcher
· 9 years ago
0203745
Swap C++ comments to C for style consistency in rsa.c
by Simon Butcher
· 9 years ago
c69fa50
Removing 'if' branch from the fix.
by Janos Follath
· 9 years ago
b6eb1ca
Length check added
by Janos Follath
· 9 years ago
370717b
Add precision about exploitability in ChangeLog
by Manuel Pégourié-Gonnard
· 9 years ago
eddfe8f
Included tests for the overflow
by Janos Follath
· 9 years ago
Next »