/mbedtls-3.7.0/tests/suites/ |
D | test_suite_pk.data | 263 …E_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_ALG_STREAM_CIPHER… 267 …CRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_ALG_ECDSA(PSA_ALG_SHA… 271 …_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_ALG_ECDH:PSA… 275 …RYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_ALG_RSA_PSS(PSA_ALG_SH… 279 …PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_ALG_RSA_PKCS1V15_SIGN(PSA_A… 283 …_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_ALG_RSA_… 287 …PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_RSA_PSS(PSA_ALG_A… 291 …PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_RSA_PSS(PSA_ALG_A… 295 pk_can_do_ext:1:PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE… 319 pk_can_do_ext:0:MBEDTLS_PK_RSA:0:0:0:1024:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_KEY_USAGE_DECRYPT:1 [all …]
|
D | test_suite_psa_crypto.data | 357 …aaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CT… 365 …997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_RS… 485 …aaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CT… 493 …997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_RS… 914 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa… 918 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa… 926 cipher_key_policy:PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaa… 934 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:0:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaa… 938 aead_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CCM:PSA_KEY_TYPE_AES:"aaaaaaa… 942 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_op_fail.function | 136 PSA_KEY_USAGE_DECRYPT); 182 PSA_KEY_USAGE_DECRYPT); 305 PSA_KEY_USAGE_DECRYPT);
|
D | test_suite_psa_crypto_storage_format.current.data | 29 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT:0x0000:0x0000:"4b":"505341004… 65 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT:0x0000:0… 69 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE:0x0000… 105 key_storage_save:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT | PSA_KE… 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_persistent_key.data | 10 …8494a4b4c4d4e4f":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_… 16 …8494a4b4c4d4e4f":PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_…
|
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_storage_format.v0.data | 33 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT:0x0000:0x0000:"4b":"505341004… 69 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT:0x0000:0… 73 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE:0x0000… 109 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT | PSA_KE… 121 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT:0x0000:0x0000:"4b":"505341004… 157 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_COPY | PSA_KEY_USAGE_DECRYPT:0x0000:0… 161 key_storage_read:0x0001:PSA_KEY_TYPE_RAW_DATA:8:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_DERIVE: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_pkparse.function | 28 case PSA_KEY_USAGE_DECRYPT: 134 TEST_ASSERT(test_psa_bridge(&ctx, PSA_KEY_USAGE_DECRYPT));
|
D | test_suite_psa_crypto_driver_wrappers.function | 1289 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); 1399 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); 1465 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 1740 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); 2518 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 2633 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); 2915 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT);
|
D | test_suite_psa_crypto.function | 397 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); 2325 (policy_usage & PSA_KEY_USAGE_DECRYPT) != 0) { 2334 (policy_usage & PSA_KEY_USAGE_DECRYPT) != 0) { 2416 if ((policy_usage & PSA_KEY_USAGE_DECRYPT) == 0) { 2427 if ((policy_usage & PSA_KEY_USAGE_DECRYPT) == 0) { 2502 (policy_usage & PSA_KEY_USAGE_DECRYPT) != 0) { 3977 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 4271 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); 4604 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); 4704 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); [all …]
|
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 |
|
D | test_suite_ssl.data | 445 …SHA256":MBEDTLS_PK_RSA:"":PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:PSA_KEY_USAGE_DECRYPT:0:MBEDTLS_… 449 …K_RSA:"":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_DECRYPT:MBEDTLS_ER… 461 …":MBEDTLS_PK_RSA:"abc123":PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:PSA_KEY_USAGE_DECRYPT:0:MBEDTLS_… 465 …"abc123":PSA_ALG_RSA_PKCS1V15_SIGN(PSA_ALG_ANY_HASH):PSA_ALG_NONE:PSA_KEY_USAGE_DECRYPT:MBEDTLS_ER… 473 …SHA384":MBEDTLS_PK_RSA:"":PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:PSA_KEY_USAGE_DECRYPT:MBEDTLS_ER… 557 …AES-256-CBC-SHA384":MBEDTLS_PK_ECDSA:"":PSA_ALG_ECDH:PSA_ALG_NONE:PSA_KEY_USAGE_DECRYPT:MBEDTLS_ER…
|
/mbedtls-3.7.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 | psa_constant_names_generated.c | 399 if (usage & PSA_KEY_USAGE_DECRYPT) { in psa_snprint_key_usage() 404 usage ^= PSA_KEY_USAGE_DECRYPT; in psa_snprint_key_usage()
|
D | key_ladder_demo.c | 557 PSA_CHECK(derive_wrapping_key(PSA_KEY_USAGE_DECRYPT, in run()
|
/mbedtls-3.7.0/library/ |
D | pk.c | 271 PSA_KEY_USAGE_DECRYPT | in mbedtls_pk_can_do_ext() 308 PSA_KEY_USAGE_DECRYPT; in mbedtls_pk_can_do_ext() 415 } else if (usage == PSA_KEY_USAGE_DECRYPT) { in mbedtls_pk_get_psa_attributes() 436 case PSA_KEY_USAGE_DECRYPT: in mbedtls_pk_get_psa_attributes() 542 case PSA_KEY_USAGE_DECRYPT: in mbedtls_pk_get_psa_attributes()
|
D | ssl_ticket.c | 93 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in ssl_ticket_gen_key() 182 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_ssl_ticket_rotate()
|
D | psa_crypto.c | 1658 PSA_KEY_USAGE_DECRYPT | in psa_validate_key_policy() 3416 key, &slot, PSA_KEY_USAGE_DECRYPT, alg); 4273 PSA_KEY_USAGE_DECRYPT); 4638 PSA_KEY_USAGE_DECRYPT, 4835 key, &slot, PSA_KEY_USAGE_DECRYPT, alg); 4943 key_usage = PSA_KEY_USAGE_DECRYPT;
|
D | ssl_ciphersuites.c | 1979 return PSA_KEY_USAGE_DECRYPT; in mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage()
|
D | ssl_tls13_keys.c | 1076 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); in mbedtls_ssl_tls13_populate_transform()
|
D | cipher.c | 353 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_cipher_setkey()
|
/mbedtls-3.7.0/tests/src/ |
D | psa_exercise_key.c | 220 if (usage & PSA_KEY_USAGE_DECRYPT) { in exercise_cipher_key() 301 if (usage & PSA_KEY_USAGE_DECRYPT) { in exercise_aead_key() 464 if (usage & PSA_KEY_USAGE_DECRYPT) { in exercise_asymmetric_encryption_key() 1187 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT; in mbedtls_test_psa_usage_to_exercise()
|
/mbedtls-3.7.0/programs/ssl/ |
D | ssl_test_lib.c | 250 *usage |= PSA_KEY_USAGE_DECRYPT; in key_opaque_set_alg_usage()
|
/mbedtls-3.7.0/tests/src/drivers/ |
D | test_driver_key_management.c | 728 PSA_KEY_USAGE_DECRYPT | in mbedtls_test_opaque_get_builtin_key()
|
/mbedtls-3.7.0/include/psa/ |
D | crypto_values.h | 2584 #define PSA_KEY_USAGE_DECRYPT ((psa_key_usage_t) 0x00000200) macro
|