Home
last modified time | relevance | path

Searched refs:PSA_KEY_USAGE_ENCRYPT (Results 1 – 17 of 17) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto.data354 import_export:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_U…
362 …a4baf25be5738aae59bbfe1c997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_…
482 import_export:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_U…
490 …a4baf25be5738aae59bbfe1c997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_…
610 check_key_policy:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_ECB_NO_PADDING
614 check_key_policy:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_CBC_NO_PADDING
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…
765 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT: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…
[all …]
Dtest_suite_psa_crypto_storage_format.misc.data7 …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…
Dtest_suite_psa_crypto_persistent_key.data5 …_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GC…
11 …_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GC…
Dtest_suite_psa_crypto_attributes.data3 attributes_set_get:0xffff1234:0x6963:PSA_KEY_LIFETIME_PERSISTENT:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_US…
Dtest_suite_psa_crypto.function185 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
218 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
360 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
1207 ( policy_usage & PSA_KEY_USAGE_ENCRYPT ) != 0 )
1270 if( ( policy_usage & PSA_KEY_USAGE_ENCRYPT ) != 0 )
1336 ( policy_usage & PSA_KEY_USAGE_ENCRYPT ) != 0 )
2668 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT );
2842 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
2882 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
2920 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
[all …]
Dtest_suite_psa_crypto_driver_wrappers.function447 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
555 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
868 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT );
1086 psa_set_key_usage_flags( &attributes, PSA_KEY_USAGE_ENCRYPT );
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.c175 if( usage & PSA_KEY_USAGE_ENCRYPT ) in exercise_cipher_key()
196 if( ! ( usage & PSA_KEY_USAGE_ENCRYPT ) ) in exercise_cipher_key()
266 if( usage & PSA_KEY_USAGE_ENCRYPT ) in exercise_aead_key()
279 ( usage & PSA_KEY_USAGE_ENCRYPT ? in exercise_aead_key()
390 if( usage & PSA_KEY_USAGE_ENCRYPT ) in exercise_asymmetric_encryption_key()
408 ( ( usage & PSA_KEY_USAGE_ENCRYPT ) == 0 && in exercise_asymmetric_encryption_key()
950 PSA_KEY_USAGE_ENCRYPT : in mbedtls_test_psa_usage_to_exercise()
951 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); in mbedtls_test_psa_usage_to_exercise()
/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.c568 PSA_CHECK( derive_wrapping_key( PSA_KEY_USAGE_ENCRYPT, in run()
/third_party/mbedtls/include/mbedtls/
Dpsa_util.h117 return( PSA_KEY_USAGE_ENCRYPT ); in mbedtls_psa_translate_cipher_operation()
/third_party/mbedtls/docs/
Dgetting_started.md191 * Have a symmetric key. This key's usage flags must include `PSA_KEY_USAGE_ENCRYPT` to allow encryp…
231 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
569 the `PSA_KEY_USAGE_ENCRYPT` usage flag and the `PSA_ALG_CTR` algorithm for this
652 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
682 * The key attributes for the key used for derivation must have the `PSA_KEY_USAGE_ENCRYPT` or `PSA_…
725 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c682 PSA_KEY_USAGE_ENCRYPT | in mbedtls_test_opaque_get_builtin_key()
/third_party/mbedtls/library/
Dpsa_crypto.c1463 PSA_KEY_USAGE_ENCRYPT | in psa_validate_key_policy()
3061 key, &slot, PSA_KEY_USAGE_ENCRYPT, alg ); in psa_asymmetric_encrypt()
3282 PSA_KEY_USAGE_ENCRYPT : in psa_cipher_setup()
3558 PSA_KEY_USAGE_ENCRYPT, in psa_cipher_encrypt()
3735 key, &slot, PSA_KEY_USAGE_ENCRYPT, alg ); in psa_aead_encrypt()
3846 key_usage = PSA_KEY_USAGE_ENCRYPT; 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.h2331 #define PSA_KEY_USAGE_ENCRYPT ((psa_key_usage_t)0x00000100) macro
/third_party/mbedtls/docs/proposed/
Dpsa-driver-interface.md850 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);