Home
last modified time | relevance | path

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

/third_party/mbedtls/programs/psa/
Dcrypto_examples.c181 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()
Dkey_ladder_demo.c561 PSA_CHECK( derive_wrapping_key( PSA_KEY_USAGE_DECRYPT, in run()
/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto.data354 …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 …]
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_persistent_key.data5 …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_…
Dtest_suite_psa_crypto.function362 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 …]
Dtest_suite_psa_crypto_driver_wrappers.function687 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 );
Dtest_suite_psa_crypto_se_driver_hal.function1110 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT |
1223 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT |
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c192 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/
Dpsa_util.h119 return( PSA_KEY_USAGE_DECRYPT ); in mbedtls_psa_translate_cipher_operation()
/third_party/mbedtls/docs/
Dgetting_started.md191 …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/
Dtest_driver_key_management.c683 PSA_KEY_USAGE_DECRYPT | in mbedtls_test_opaque_get_builtin_key()
/third_party/mbedtls/library/
Dpsa_crypto.c1464 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()
Dcipher.c297 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); in mbedtls_cipher_setkey()
/third_party/mbedtls/include/psa/
Dcrypto_values.h2342 #define PSA_KEY_USAGE_DECRYPT ((psa_key_usage_t)0x00000200) macro
/third_party/mbedtls/docs/proposed/
Dpsa-driver-interface.md850 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);