/mbedtls-3.6.0/tests/suites/ |
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_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_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_… 777 check_key_policy:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_ECB_NO_PADDING 781 check_key_policy:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_CBC_NO_PADDING 924 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa… 928 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa… 932 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaa… 944 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:0:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaa… [all …]
|
D | test_suite_psa_crypto_storage_format.current.data | 37 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_ENCRYPT:0x0000:0x0000:"4b":"505341004… 73 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT:0x0000… 77 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_EXPORT:0x0000… 105 …A_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT | PSA_KEY_… 113 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… 117 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… 121 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… 129 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… 133 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… 137 key_storage_save:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… [all …]
|
D | test_suite_psa_crypto_storage_format.v0.data | 41 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_ENCRYPT:0x0000:0x0000:"4b":"505341004… 77 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT:0x0000… 81 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_EXPORT:0x0000… 109 …A_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT | PSA_KEY_… 129 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_ENCRYPT:0x0000:0x0000:"4b":"505341004… 165 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DERIVE | PSA_KEY_USAGE_ENCRYPT:0x0000… 169 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_EXPORT:0x0000… 201 key_storage_read:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… 205 key_storage_read:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… 209 key_storage_read:0x0001:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT | PSA_KE… [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 | 215 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 247 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 390 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 1969 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 1978 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 2059 if ((policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 2067 if ((policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 2146 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) { 3636 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 3814 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); [all …]
|
D | test_suite_psa_crypto_driver_wrappers.function | 1049 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 1157 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 1459 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 1677 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 2523 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 2708 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); 2809 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 |
|
/mbedtls-3.6.0/tests/src/ |
D | psa_exercise_key.c | 162 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_cipher_key() 183 if (!(usage & PSA_KEY_USAGE_ENCRYPT)) { in exercise_cipher_key() 240 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_aead_key() 251 (usage & PSA_KEY_USAGE_ENCRYPT ? in exercise_aead_key() 370 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_asymmetric_encryption_key() 386 ((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()
|
/mbedtls-3.6.0/programs/psa/ |
D | crypto_examples.c | 168 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block() 216 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi() 263 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_ctr_multi()
|
D | aead_demo.c | 150 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in aead_prepare()
|
D | psa_constant_names_generated.c | 413 if (usage & PSA_KEY_USAGE_ENCRYPT) { in psa_snprint_key_usage() 418 usage ^= PSA_KEY_USAGE_ENCRYPT; in psa_snprint_key_usage()
|
D | key_ladder_demo.c | 564 PSA_CHECK(derive_wrapping_key(PSA_KEY_USAGE_ENCRYPT, in run()
|
/mbedtls-3.6.0/library/ |
D | ssl_ticket.c | 89 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in ssl_ticket_gen_key() 177 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_ssl_ticket_rotate()
|
D | psa_crypto.c | 1484 PSA_KEY_USAGE_ENCRYPT | in psa_validate_key_policy() 3080 key, &slot, PSA_KEY_USAGE_ENCRYPT, alg); 3921 PSA_KEY_USAGE_ENCRYPT : 4187 PSA_KEY_USAGE_ENCRYPT, 4382 key, &slot, PSA_KEY_USAGE_ENCRYPT, alg); 4537 key_usage = PSA_KEY_USAGE_ENCRYPT;
|
D | cipher.c | 344 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_cipher_setkey()
|
D | ssl_tls13_keys.c | 1075 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in mbedtls_ssl_tls13_populate_transform()
|
D | pk_wrap.c | 515 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in rsa_encrypt_wrap()
|
/mbedtls-3.6.0/tests/src/drivers/ |
D | test_driver_key_management.c | 723 PSA_KEY_USAGE_ENCRYPT | in mbedtls_test_opaque_get_builtin_key()
|
/mbedtls-3.6.0/include/psa/ |
D | crypto_values.h | 2553 #define PSA_KEY_USAGE_ENCRYPT ((psa_key_usage_t) 0x00000100) macro
|
/mbedtls-3.6.0/tests/src/test_helpers/ |
D | ssl_helpers.c | 1399 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in mbedtls_test_ssl_build_transforms()
|