Searched refs:PSA_KEY_USAGE_ENCRYPT (Results 1 – 17 of 17) sorted by relevance
/third_party/mbedtls/tests/suites/ |
D | test_suite_psa_crypto.data | 354 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 …]
|
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_persistent_key.data | 5 …_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…
|
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.function | 185 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 …]
|
D | test_suite_psa_crypto_driver_wrappers.function | 447 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 );
|
D | test_suite_psa_crypto_se_driver_hal.function | 1110 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT | 1223 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT |
|
/third_party/mbedtls/tests/src/ |
D | psa_exercise_key.c | 175 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/ |
D | crypto_examples.c | 181 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()
|
D | key_ladder_demo.c | 568 PSA_CHECK( derive_wrapping_key( PSA_KEY_USAGE_ENCRYPT, in run()
|
/third_party/mbedtls/include/mbedtls/ |
D | psa_util.h | 117 return( PSA_KEY_USAGE_ENCRYPT ); in mbedtls_psa_translate_cipher_operation()
|
/third_party/mbedtls/docs/ |
D | getting_started.md | 191 * 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/ |
D | test_driver_key_management.c | 682 PSA_KEY_USAGE_ENCRYPT | in mbedtls_test_opaque_get_builtin_key()
|
/third_party/mbedtls/library/ |
D | psa_crypto.c | 1463 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()
|
D | cipher.c | 297 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT ); in mbedtls_cipher_setkey()
|
/third_party/mbedtls/include/psa/ |
D | crypto_values.h | 2331 #define PSA_KEY_USAGE_ENCRYPT ((psa_key_usage_t)0x00000100) macro
|
/third_party/mbedtls/docs/proposed/ |
D | psa-driver-interface.md | 850 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);
|