/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto_storage_format.misc.data | 7 …Y_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GC… 11 …Y_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_EXPORT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GC…
|
D | test_suite_pk.data | 249 …_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024… 253 …_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA… 257 …E_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE… 261 …PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_… 265 …PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_ALG_R… 269 pk_can_do_ext:1:PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_P… 273 pk_can_do_ext:1:PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE… 277 pk_can_do_ext:1:PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE… 281 …PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA… 307 PK can do ext: MBEDTLS_PK_RSA, check invalid PSA_KEY_USAGE_ENCRYPT [all …]
|
D | test_suite_psa_crypto.data | 357 import_export:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_U… 365 …a4baf25be5738aae59bbfe1c997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_… 485 import_export:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_U… 493 …a4baf25be5738aae59bbfe1c997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_… 613 check_key_policy:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_ECB_NO_PADDING 617 check_key_policy:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_CBC_NO_PADDING 760 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa… 764 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa… 768 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaa… 780 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:0:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaa… [all …]
|
D | test_suite_psa_crypto_op_fail.function | 135 PSA_KEY_USAGE_ENCRYPT | 181 PSA_KEY_USAGE_ENCRYPT | 304 PSA_KEY_USAGE_ENCRYPT |
|
D | test_suite_psa_crypto_attributes.data | 3 attributes_set_get:0xffff1234:0x6963:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_US…
|
D | test_suite_psa_crypto_persistent_key.data | 10 …_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GC… 16 …_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GC…
|
D | test_suite_psa_crypto.function | 216 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 248 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 388 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 1942 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 1951 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 2032 if ((policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 2040 if ((policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 2119 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 3609 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 3787 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); [all …]
|
D | test_suite_psa_crypto_driver_wrappers.function | 1048 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 1156 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 1458 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 1676 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 2514 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 2699 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 2800 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
|
D | test_suite_psa_crypto_pake.data | 39 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_ENCRYPT:PSA_PAKE_PRIMITIVE(PSA_PAKE…
|
D | test_suite_psa_crypto_se_driver_hal.function | 1117 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT | 1235 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT |
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 174 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_cipher_key() 195 if (!(usage & PSA_KEY_USAGE_ENCRYPT)) { in exercise_cipher_key() 252 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_aead_key() 263 (usage & PSA_KEY_USAGE_ENCRYPT ? in exercise_aead_key() 381 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_asymmetric_encryption_key() 397 ((usage & PSA_KEY_USAGE_ENCRYPT) == 0 && in exercise_asymmetric_encryption_key() 978 PSA_KEY_USAGE_ENCRYPT : in mbedtls_test_psa_usage_to_exercise() 979 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT; in mbedtls_test_psa_usage_to_exercise()
|
/third_party/mbedtls/programs/psa/ |
D | crypto_examples.c | 180 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() 228 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() 275 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_ctr_multi()
|
D | aead_demo.c | 162 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in aead_prepare()
|
D | key_ladder_demo.c | 576 PSA_CHECK(derive_wrapping_key(PSA_KEY_USAGE_ENCRYPT, in run()
|
/third_party/mbedtls/library/ |
D | ssl_ticket.c | 95 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in ssl_ticket_gen_key() 183 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_ssl_ticket_rotate()
|
D | psa_crypto.c | 1516 PSA_KEY_USAGE_ENCRYPT | in psa_validate_key_policy() 3099 key, &slot, PSA_KEY_USAGE_ENCRYPT, alg); in psa_asymmetric_encrypt() 3928 PSA_KEY_USAGE_ENCRYPT : in psa_cipher_setup() 4190 PSA_KEY_USAGE_ENCRYPT, in psa_cipher_encrypt() 4380 key, &slot, PSA_KEY_USAGE_ENCRYPT, alg); in psa_aead_encrypt() 4533 key_usage = PSA_KEY_USAGE_ENCRYPT; in psa_aead_setup()
|
D | cipher.c | 300 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_cipher_setkey()
|
D | pk_wrap.c | 522 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in rsa_encrypt_wrap()
|
D | ssl_tls13_keys.c | 1054 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in mbedtls_ssl_tls13_populate_transform()
|
D | ssl_tls.c | 8553 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in ssl_tls12_populate_transform()
|
/third_party/mbedtls/include/mbedtls/ |
D | psa_util.h | 115 return PSA_KEY_USAGE_ENCRYPT; in mbedtls_psa_translate_cipher_operation()
|
/third_party/mbedtls/tests/src/drivers/ |
D | test_driver_key_management.c | 691 PSA_KEY_USAGE_ENCRYPT | in mbedtls_test_opaque_get_builtin_key()
|
/third_party/mbedtls/include/psa/ |
D | crypto_values.h | 2553 #define PSA_KEY_USAGE_ENCRYPT ((psa_key_usage_t) 0x00000100) macro
|
/third_party/mbedtls/tests/src/test_helpers/ |
D | ssl_helpers.c | 1381 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in mbedtls_test_ssl_build_transforms()
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-interface.md | 1023 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);
|