TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-crypto
/
refs/heads/dev/shared/secure-element
/
library
/
rsa.c
6f7703d
rsa: Enable use of zero-length null output
by Jaeden Amero
· 6 years ago
004f87b
RSA encryption: accept input=NULL if ilen=0
by Gilles Peskine
· 7 years ago
fb23673
Revert "Forbid passing NULL input buffers to RSA encryption routines"
by Jaeden Amero
· 6 years ago
c470b6b
Merge development commit 8e76332 into development-psa
by Andrzej Kurek
· 6 years ago
cdd1a6c
Merge remote-tracking branch 'restricted/pr/510' into development-restricted-proposed
by Simon Butcher
· 7 years ago
b8fc1b0
RSA: Use MBEDTLS_MPI_GEN_PRIME_FLAG_LOW_ERR
by Janos Follath
· 7 years ago
3725bb2
rsa: pss: Enable use of big hashes with small keys
by Jaeden Amero
· 7 years ago
ff21572
rsa: pss: Use size_t when computing signatures
by Jaeden Amero
· 7 years ago
a331e0f
Merge remote-tracking branch 'upstream-restricted/pr/421' into development-proposed
by Jaeden Amero
· 7 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
c645bfe
Generate RSA keys according to FIPS 186-4
by Jethro Beekman
· 7 years ago
97f95c9
Avoid small private exponents during RSA key generation
by Jethro Beekman
· 7 years ago
15ad579
Merge tag 'mbedtls-2.8.0' into iotssl-1381-x509-verify-refactor-restricted
by Gilles Peskine
· 7 years ago
1ba8a3f
Yet another dependency issue (PKCS1_V15)
by Manuel Pégourié-Gonnard
· 7 years ago
a3389eb
Merge branch 'development-restricted' into iotssl-1306-rsa-is-vulnerable-to-bellcore-glitch-attack
by Hanno Becker
· 7 years ago
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
63073aa
Don't require P,Q in rsa_private in case of non-blinded non-CRT
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
2dec5e8
Correct outdated comment
by Hanno Becker
· 8 years ago
4e1be39
Remove FORCE_VERIFICATION and FORCE_BLINDING
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
2fdffe0
Check exactly for the RSA context fields required in rsa_private
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
2c9f027
Don't require P,Q if CRT is not used
by Hanno Becker
· 8 years ago
45037ce
Add check for presence of relevant parameters in mbedtls_rsa_private
by Hanno Becker
· 8 years ago
a988a27
Emit deprecation warning if MBEDTLS_RSA_FORCE_BLINDING is not set
by Hanno Becker
· 8 years ago
cc209ca
Remove signature verification from rsa_rsassa_pkcs1_v15_sign
by Hanno Becker
· 8 years ago
43f9472
Add quick-check for presence of relevant parameters in rsa_private
by Hanno Becker
· 8 years ago
c6075cc
Don't use CRT for signature verification
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
06811ce
Put configuration options for RSA blinding and verification to work.
by Hanno Becker
· 8 years ago
5bc8729
Correct memory leak in RSA self test
by Hanno Becker
· 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
Next »