Home
last modified time | relevance | path

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

/third_party/mbedtls/tests/suites/
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_pk.data249 …_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024…
253 …_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA…
257 …E_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE…
261 …PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_…
265PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA_ALG_NONE:1024:PSA_ALG_R…
269 pk_can_do_ext:1:PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT:PSA_ALG_RSA_P…
273 pk_can_do_ext:1:PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE…
277 pk_can_do_ext:1:PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE…
281PSA_KEY_USAGE_ENCRYPT|PSA_KEY_USAGE_DECRYPT|PSA_KEY_USAGE_SIGN_HASH:PSA_ALG_RSA_PKCS1V15_CRYPT:PSA…
307 PK can do ext: MBEDTLS_PK_RSA, check invalid PSA_KEY_USAGE_ENCRYPT
[all …]
Dtest_suite_psa_crypto.data357 import_export:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_U…
365 …a4baf25be5738aae59bbfe1c997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_…
485 import_export:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa":PSA_KEY_TYPE_AES:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_U…
493 …a4baf25be5738aae59bbfe1c997781447a2b24":PSA_KEY_TYPE_RSA_KEY_PAIR:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_…
613 check_key_policy:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_ECB_NO_PADDING
617 check_key_policy:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_CBC_NO_PADDING
760 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa…
764 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaa…
768 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT:PSA_ALG_CTR:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaaaaaaaaaaaaaaaa…
780 cipher_key_policy:PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT:0:PSA_KEY_TYPE_AES:"aaaaaaaaaaaaaaa…
[all …]
Dtest_suite_psa_crypto_op_fail.function135 PSA_KEY_USAGE_ENCRYPT |
181 PSA_KEY_USAGE_ENCRYPT |
304 PSA_KEY_USAGE_ENCRYPT |
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_persistent_key.data10 …_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GC…
16 …_LIFETIME_PERSISTENT:PSA_KEY_TYPE_AES:128:PSA_KEY_USAGE_DECRYPT | PSA_KEY_USAGE_ENCRYPT:PSA_ALG_GC…
Dtest_suite_psa_crypto.function216 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
248 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
388 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
1942 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) {
1951 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) {
2032 if ((policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) {
2040 if ((policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) {
2119 (policy_usage & PSA_KEY_USAGE_ENCRYPT) != 0) {
3609 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);
3787 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
[all …]
Dtest_suite_psa_crypto_driver_wrappers.function1048 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
1156 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
1458 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);
1676 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
2514 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);
2699 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
2800 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT);
Dtest_suite_psa_crypto_pake.data39 ecjpake_setup:PSA_ALG_JPAKE:PSA_KEY_TYPE_PASSWORD:PSA_KEY_USAGE_ENCRYPT:PSA_PAKE_PRIMITIVE(PSA_PAKE…
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 |
/third_party/mbedtls/tests/src/
Dpsa_exercise_key.c174 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_cipher_key()
195 if (!(usage & PSA_KEY_USAGE_ENCRYPT)) { in exercise_cipher_key()
252 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_aead_key()
263 (usage & PSA_KEY_USAGE_ENCRYPT ? in exercise_aead_key()
381 if (usage & PSA_KEY_USAGE_ENCRYPT) { in exercise_asymmetric_encryption_key()
397 ((usage & PSA_KEY_USAGE_ENCRYPT) == 0 && in exercise_asymmetric_encryption_key()
978 PSA_KEY_USAGE_ENCRYPT : in mbedtls_test_psa_usage_to_exercise()
979 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT; in mbedtls_test_psa_usage_to_exercise()
/third_party/mbedtls/programs/psa/
Dcrypto_examples.c180 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
228 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
275 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in cipher_example_encrypt_decrypt_aes_ctr_multi()
Daead_demo.c162 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in aead_prepare()
Dkey_ladder_demo.c576 PSA_CHECK(derive_wrapping_key(PSA_KEY_USAGE_ENCRYPT, in run()
/third_party/mbedtls/library/
Dssl_ticket.c95 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in ssl_ticket_gen_key()
183 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_ssl_ticket_rotate()
Dpsa_crypto.c1516 PSA_KEY_USAGE_ENCRYPT | in psa_validate_key_policy()
3099 key, &slot, PSA_KEY_USAGE_ENCRYPT, alg); in psa_asymmetric_encrypt()
3928 PSA_KEY_USAGE_ENCRYPT : in psa_cipher_setup()
4190 PSA_KEY_USAGE_ENCRYPT, in psa_cipher_encrypt()
4380 key, &slot, PSA_KEY_USAGE_ENCRYPT, alg); in psa_aead_encrypt()
4533 key_usage = PSA_KEY_USAGE_ENCRYPT; in psa_aead_setup()
Dcipher.c300 PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT); in mbedtls_cipher_setkey()
Dpk_wrap.c522 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in rsa_encrypt_wrap()
Dssl_tls13_keys.c1054 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in mbedtls_ssl_tls13_populate_transform()
Dssl_tls.c8553 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in ssl_tls12_populate_transform()
/third_party/mbedtls/include/mbedtls/
Dpsa_util.h115 return PSA_KEY_USAGE_ENCRYPT; in mbedtls_psa_translate_cipher_operation()
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c691 PSA_KEY_USAGE_ENCRYPT | in mbedtls_test_opaque_get_builtin_key()
/third_party/mbedtls/include/psa/
Dcrypto_values.h2553 #define PSA_KEY_USAGE_ENCRYPT ((psa_key_usage_t) 0x00000100) macro
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c1381 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in mbedtls_test_ssl_build_transforms()
/third_party/mbedtls/docs/proposed/
Dpsa-driver-interface.md1023 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT | PSA_KEY_USAGE_DECRYPT);