Searched refs:PSA_KEY_USAGE_DECRYPT (Results 1 – 16 of 16) sorted by relevance
/third_party/mbedtls/programs/psa/ |
D | crypto_examples.c | 181 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() 229 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() 276 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); in cipher_example_encrypt_decrypt_aes_ctr_multi()
|
D | key_ladder_demo.c | 561 PSA_CHECK( derive_wrapping_key( PSA_KEY_USAGE_DECRYPT, in run()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto.data | 354 …aaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CT… 362 …997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_RS… 482 …aaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CT… 490 …997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_RS… 757 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa… 761 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa… 769 cipher_key_policy:PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaa… 777 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:0:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaa… 781 aead_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CCM:PSA_KEY_TYPE_AES:"aaaaaaa… 785 aead_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CCM:PSA_KEY_TYPE_AES:"aaaaaaa… [all …]
|
D | test_suite_psa_crypto_attributes.data | 3 …ff1234:0x6963:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CC…
|
D | test_suite_psa_crypto_persistent_key.data | 5 …8494a4b4c4d4e4f":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_… 11 …8494a4b4c4d4e4f":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_…
|
D | test_suite_psa_crypto.function | 362 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DECRYPT ); 1215 ( policy_usage & PSA_KEY_USAGE_DECRYPT ) != 0 ) 1282 if( ( policy_usage & PSA_KEY_USAGE_DECRYPT ) == 0 ) 1349 ( policy_usage & PSA_KEY_USAGE_DECRYPT ) != 0 ) 2668 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); 3202 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DECRYPT ); 3303 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DECRYPT ); 3355 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DECRYPT ); 3410 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); 3475 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); [all …]
|
D | test_suite_psa_crypto_driver_wrappers.function | 687 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DECRYPT ); 800 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DECRYPT ); 868 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); 1155 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_DECRYPT );
|
D | test_suite_psa_crypto_se_driver_hal.function | 1110 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT | 1223 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT |
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 192 if( usage & PSA_KEY_USAGE_DECRYPT ) in exercise_cipher_key() 276 if( usage & PSA_KEY_USAGE_DECRYPT ) in exercise_aead_key() 399 if( usage & PSA_KEY_USAGE_DECRYPT ) in exercise_asymmetric_encryption_key() 951 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); in mbedtls_test_psa_usage_to_exercise()
|
/third_party/mbedtls/include/mbedtls/ |
D | psa_util.h | 119 return( PSA_KEY_USAGE_DECRYPT ); in mbedtls_psa_translate_cipher_operation()
|
/third_party/mbedtls/docs/ |
D | getting_started.md | 191 …lags must include `PSA_KEY_USAGE_ENCRYPT` to allow encryption or `PSA_KEY_USAGE_DECRYPT` to allow … 315 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); 682 …key used for derivation must have the `PSA_KEY_USAGE_ENCRYPT` or `PSA_KEY_USAGE_DECRYPT` usage fla… 796 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT);
|
/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_key_management.c | 683 PSA_KEY_USAGE_DECRYPT | in mbedtls_test_opaque_get_builtin_key()
|
/third_party/mbedtls/library/ |
D | psa_crypto.c | 1464 PSA_KEY_USAGE_DECRYPT | in psa_validate_key_policy() 3177 key, &slot, PSA_KEY_USAGE_DECRYPT, alg ); in psa_asymmetric_decrypt() 3283 PSA_KEY_USAGE_DECRYPT ); in psa_cipher_setup() 3628 PSA_KEY_USAGE_DECRYPT, in psa_cipher_decrypt() 3785 key, &slot, PSA_KEY_USAGE_DECRYPT, alg ); in psa_aead_decrypt() 3848 key_usage = PSA_KEY_USAGE_DECRYPT; in psa_aead_setup()
|
D | cipher.c | 297 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); in mbedtls_cipher_setkey()
|
/third_party/mbedtls/include/psa/ |
D | crypto_values.h | 2342 #define PSA_KEY_USAGE_DECRYPT ((psa_key_usage_t)0x00000200) macro
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-interface.md | 850 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);
|