TrustedFirmware Git Browser
Code Review
Sign In
review.trustedfirmware.org
/
mirror
/
mbed-tls.git
/
bb1072f64296de6e13437f37227533f97f5c0dfa
/
library
/
psa_crypto.c
bb1072f
Fix use of mbedtls_cipher_info_from_psa
by Gilles Peskine
· 7 years ago
84861a9
Merge remote-tracking branch 'psa/psa-wrapper-apis-aead' into feature-psa
by Gilles Peskine
· 7 years ago
fc614b1
fix parentheses
by mohammad1603
· 7 years ago
e109f21
remove unnecessary check for block size
by mohammad1603
· 7 years ago
a1d9801
add slot validation
by mohammad1603
· 7 years ago
e3cb8a8
return PSA_ERROR_BUFFER_TOO_SMALL intead of PSA_ERROR_INVALID_ARGUMENT
by mohammad1603
· 7 years ago
6b4d98c
remove trailing spaces
by mohammad1603
· 7 years ago
5ed0621
aligned with coding standards - line length
by mohammad1603
· 7 years ago
f14394b
add policy checks
by mohammad1603
· 7 years ago
96910d8
fix block size depending on algorithm
by mohammad1603
· 7 years ago
60a64d0
remove unnecessary argument to the psa_aead_unpadded_locate_tag function
by mohammad1603
· 7 years ago
15223a8
write the tag directly on the ciphertext buffer.
by mohammad1603
· 7 years ago
4fc744f
change the check of block size for all supported algorithms
by mohammad1603
· 7 years ago
0f21465
use mbedtls_cipher_info_from_psa to get cipher ID
by mohammad1603
· 7 years ago
f58aa6a
use memset instead of mbedtils_zeroize
by mohammad1603
· 7 years ago
554faad
return NOT_SUPPORTED instead of INVLID_ARGUMENT
by mohammad1603
· 7 years ago
95893f8
remove usless cast
by mohammad1603
· 7 years ago
f08a550
set output length to zero to cover output length in error case
by mohammad1603
· 7 years ago
f4f0d61
change mbedtls_cipher_info_from_psa to provide cipher_id also
by mohammad1603
· 7 years ago
9375f84
fix code offsets after rebase
by mohammad1603
· 7 years ago
ee652a3
Fix psa_aead_decrypt to read the tag at the end of the ciphertext
by Gilles Peskine
· 7 years ago
a40d774
Whitespace fixes
by Gilles Peskine
· 7 years ago
3957465
add else for not supported algorithm
by mohammad1603
· 7 years ago
5c8845f
return invalid argument for unsupported algorithms
by mohammad1603
· 7 years ago
e58e684
fix condition over key type
by mohammad1603
· 7 years ago
17638ef
remove unused variable
by mohammad1603
· 7 years ago
dad36fa
add Key and Algorithm validation
by mohammad1603
· 7 years ago
a7e6df7
Validation fixes for key_type
by mohammad1603
· 7 years ago
4f5eb7c
Fill the the output buffer with zero data in case of failure
by mohammad1603
· 7 years ago
6bbd8c7
Remove unnecessary cast
by mohammad1603
· 7 years ago
db62473
Parameters validation fixes
by mohammad1603
· 7 years ago
ce5cba9
unify the concatenation of the tag and update output length
by mohammad1603
· 7 years ago
9e5a515
Fix parameter validation
by mohammad1603
· 7 years ago
47ddf3d
Concatenate the tag to the output buffer
by mohammad1603
· 7 years ago
5955c98
Initial implementation of the AEAD decrypt/encrypt APIs
by mohammad1603
· 7 years ago
3aa8efb
Merge remote-tracking branch 'psa/psa-wrapper-apis-march-12' into feature-psa
by Gilles Peskine
· 7 years ago
2c5219a
Whitespace normalization
by Gilles Peskine
· 7 years ago
5351420
Use block local variable for padding_mode for readability
by Gilles Peskine
· 7 years ago
7cb22b8
abort operation before return + fix error checks
by Moran Peker
· 7 years ago
89d789c
Refactor some argument checks for readability
by Gilles Peskine
· 7 years ago
7e92885
Wrap lines to 80 columns
by Gilles Peskine
· 7 years ago
e553c65
Fix indentation and horizontal whitespace
by Gilles Peskine
· 7 years ago
3520c2c
unset iv_required to 0 (psa_encrypt_set_iv)and block_size (psa_cipher_setup)
by Moran Peker
· 7 years ago
395db87
adjust indentation per Mbed TLS standards
by Moran Peker
· 7 years ago
ae38279
add missing psa_cipher_abort( operation )
by Moran Peker
· 7 years ago
7053116
fix compilation error - missing if
by Moran Peker
· 7 years ago
a28258c
adjust indentation per Mbed TLS standards
by Moran Peker
· 7 years ago
2cab25a
fix conditions in psa_cipher_finish function
by Moran Peker
· 7 years ago
dc38ebc
delete decrypt checks + fix memcpy& return value
by Moran Peker
· 7 years ago
ad9d82c
add iv_required field to psa_cipher_operation_s and fix relevant functions
by Moran Peker
· 7 years ago
71f19ae
add missing call to psa_cipher_abort in cipher_setup func + iv_length check in cipher_set_iv func
by Moran Peker
· 7 years ago
406008a
add missing check on output_size in psa_cipher_update func
by Moran Peker
· 7 years ago
bed71a2
fix missing check on output_size in psa_cipher_finish func
by Moran Peker
· 7 years ago
0071b87
add missing parameter output_size on psa_cipher_finish
by Moran Peker
· 7 years ago
4c80d83
adjust indentation per Mbed TLS standards
by Moran Peker
· 7 years ago
b152d4d
add test scenarios to decrypt and encrypt input and compare with given output
by mohammad1603
· 7 years ago
89e0f46
style
by mohammad1603
· 7 years ago
41deec4
partly pr fix
by Moran Peker
· 7 years ago
e1210dc
remove unused parameter in psa_cipher_finish.
by Moran Peker
· 7 years ago
3205a65
tests fix
by Moran Peker
· 7 years ago
16864af
fix static function name
by mohammad1603
· 7 years ago
8481e74
CR fixes
by mohammad1603
· 7 years ago
efb0107
CR fix, remove exposing ECB
by mohammad1603
· 7 years ago
990a18c
add ecb to cipher algorithms
by mohammad1603
· 7 years ago
5100318
Merge pull request #18 from ARMmbed/psa-wrapper-apis-export-publickey
by Gilles Peskine
· 7 years ago
8275961
warnings fixes
by mohammad1603
· 7 years ago
503973b
initial implementation for PSA symmetric APIs - missing tests and documentations
by mohammad1603
· 7 years ago
8756763
change error check on psa_internal_export_key func
by Moran Peker
· 7 years ago
785fd55
Whitespace fixes; removed redundant parentheses
by Gilles Peskine
· 7 years ago
cceea98
adjust indentation per Mbed TLS standards
by Moran Peker
· 7 years ago
d732659
adjust indentation per Mbed TLS standards
by Moran Peker
· 7 years ago
17e36e1
fix conditions
by Moran Peker
· 7 years ago
6036432
adjust indentation per Mbed TLS standards
by Moran Peker
· 7 years ago
a998bc6
psa_internal_export_key function for common code.
by Moran Peker
· 7 years ago
5010828
adjust indentation per Mbed TLS standards
by Moran Peker
· 7 years ago
b4d0ddd
psa_export_public_key
by Moran Peker
· 7 years ago
dd4ea38
export public key
by Moran Peker
· 7 years ago
7b30f8b
Added handling for MBEDTLS_ERR_ECP_XXX error codes
by itayzafrir
· 7 years ago
5c75339
ECDSA sign and verify implementation and tests
by itayzafrir
· 7 years ago
a0655c3
Merge remote-tracking branch 'psa/pr/13' into feature-psa
by Gilles Peskine
· 7 years ago
ea05009
Change behavior of psa_get_key_lifetime()
by mohammad1603
· 7 years ago
5d7ec20
fix key lifetime set implementation , tests accordingly
by mohammad1603
· 7 years ago
ba17851
Remove unused and duplicated erros, fix documentation and tests
by mohammad1603
· 7 years ago
060ad8a
Compilation and tests fixes
by mohammad1603
· 7 years ago
804cd71
initial key lifetime implementation and tests
by mohammad1603
· 7 years ago
c63b6ba
Merge remote-tracking branch 'psa/pr/14' into feature-psa
by Gilles Peskine
· 7 years ago
47c1bc0
Correct some return codes
by Gilles Peskine
· 7 years ago
38a622b
Function psa_get_key_policy() now return policy value for empty slots
by mohammad1603
· 7 years ago
5feda72
Remove usage of PSA_ERROR_INVALID_KEY_POLICY
by mohammad1603
· 7 years ago
6df908f
Add static internal MAC finish function
by mohammad1603
· 7 years ago
4eed757
add new test scenarios
by mohammad1603
· 7 years ago
06e7920
integrate policy key usage in export and asymmetric sign functions
by mohammad1603
· 7 years ago
a592623
Rename PKCS1V15 to PKCS1V15_SIGN
by Gilles Peskine
· 7 years ago
8cc1cee
Key Policy APIs implementation
by mohammad1603
· 7 years ago
dc2fc84
Rename xxx_of_psa functions to xxx_from_psa
by Gilles Peskine
· 7 years ago
3c6e970
Fix memory leak in psa_destroy_key
by Gilles Peskine
· 7 years ago
6d91213
Add some comments to document some non-obvious coding choices
by Gilles Peskine
· 7 years ago
e4ebc12
psa_crypto_init: set the global initialized flag
by Gilles Peskine
· 7 years ago
8c9def3
PSA: Implement MAC functions
by Gilles Peskine
· 7 years ago
9ef733f
Implement hash functions
by Gilles Peskine
· 7 years ago
Next »