Home
last modified time | relevance | path

Searched refs:PSA_KEY_USAGE_DECRYPT (Results 1 – 25 of 31) sorted by relevance

12

/mbedtls-3.7.0/tests/suites/
Dtest_suite_pk.data263 …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…
279PSA_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_…
287PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_RSA_PSS(PSA_ALG_A…
291PSA_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 …]
Dtest_suite_psa_crypto.data357 …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 …]
Dtest_suite_psa_crypto_op_fail.function136 PSA_KEY_USAGE_DECRYPT);
182 PSA_KEY_USAGE_DECRYPT);
305 PSA_KEY_USAGE_DECRYPT);
Dtest_suite_psa_crypto_storage_format.current.data29 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 …]
Dtest_suite_psa_crypto_persistent_key.data10 …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_…
Dtest_suite_psa_crypto_attributes.data3 …ff1234:0x6963:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CC…
Dtest_suite_psa_crypto_storage_format.v0.data33 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 …]
Dtest_suite_pkparse.function28 case PSA_KEY_USAGE_DECRYPT:
134 TEST_ASSERT(test_psa_bridge(&ctx, PSA_KEY_USAGE_DECRYPT));
Dtest_suite_psa_crypto_driver_wrappers.function1289 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);
Dtest_suite_psa_crypto.function397 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 …]
Dtest_suite_psa_crypto_se_driver_hal.function1117 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT |
1235 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT |
Dtest_suite_ssl.data445 …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/
Dcrypto_examples.c168 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()
Dpsa_constant_names_generated.c399 if (usage & PSA_KEY_USAGE_DECRYPT) { in psa_snprint_key_usage()
404 usage ^= PSA_KEY_USAGE_DECRYPT; in psa_snprint_key_usage()
Dkey_ladder_demo.c557 PSA_CHECK(derive_wrapping_key(PSA_KEY_USAGE_DECRYPT, in run()
/mbedtls-3.7.0/library/
Dpk.c271 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()
Dssl_ticket.c93 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()
Dpsa_crypto.c1658 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;
Dssl_ciphersuites.c1979 return PSA_KEY_USAGE_DECRYPT; in mbedtls_ssl_get_ciphersuite_sig_pk_psa_usage()
Dssl_tls13_keys.c1076 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); in mbedtls_ssl_tls13_populate_transform()
Dcipher.c353 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_cipher_setkey()
/mbedtls-3.7.0/tests/src/
Dpsa_exercise_key.c220 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/
Dssl_test_lib.c250 *usage |= PSA_KEY_USAGE_DECRYPT; in key_opaque_set_alg_usage()
/mbedtls-3.7.0/tests/src/drivers/
Dtest_driver_key_management.c728 PSA_KEY_USAGE_DECRYPT | in mbedtls_test_opaque_get_builtin_key()
/mbedtls-3.7.0/include/psa/
Dcrypto_values.h2584 #define PSA_KEY_USAGE_DECRYPT ((psa_key_usage_t) 0x00000200) macro

12