Home
last modified time | relevance | path

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

12

/third_party/mbedtls/tests/suites/
Dtest_suite_psa_crypto_op_fail.function88 psa_set_key_usage_flags(&attributes,
134 psa_set_key_usage_flags(&attributes,
180 psa_set_key_usage_flags(&attributes,
235 psa_set_key_usage_flags(&attributes,
303 psa_set_key_usage_flags(&attributes,
370 psa_set_key_usage_flags(&attributes,
Dtest_suite_psa_crypto.function184 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
216 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);
390 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT);
631 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH);
633 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
1304 psa_set_key_usage_flags(&attributes, usage);
1406 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
1516 psa_set_key_usage_flags(&attributes, usage_arg);
[all …]
Dtest_suite_psa_crypto_slot_management.function133 psa_set_key_usage_flags(&attributes, usage_flags);
226 psa_set_key_usage_flags(&attributes, usage_flags);
371 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
520 psa_set_key_usage_flags(&source_attributes, source_usage);
534 psa_set_key_usage_flags(&target_attributes, target_usage);
645 psa_set_key_usage_flags(&attributes, source_usage);
658 psa_set_key_usage_flags(&attributes1, target_usage);
732 psa_set_key_usage_flags(&attributes, 0);
819 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
866 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
[all …]
Dtest_suite_psa_crypto_se_driver_hal_mocks.function350 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
417 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
467 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
533 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
590 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
650 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH);
Dtest_suite_psa_crypto_driver_wrappers.function518 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
588 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH);
595 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH);
645 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_MESSAGE);
717 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_MESSAGE);
724 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_MESSAGE);
771 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH | PSA_KEY_USAGE_EXPORT);
845 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
889 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
968 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE);
[all …]
Dtest_suite_psa_crypto_se_driver_hal.function462 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
495 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH);
894 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
1026 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
1115 psa_set_key_usage_flags(&attributes,
1233 psa_set_key_usage_flags(&attributes,
1341 psa_set_key_usage_flags(&sw_attributes,
1488 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
Dtest_suite_psa_crypto_persistent_key.function60 psa_set_key_usage_flags(&attributes, key_usage);
276 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT);
Dtest_suite_psa_crypto_attributes.function35 psa_set_key_usage_flags(&attributes, usage_flags);
Dtest_suite_psa_crypto_storage_format.function332 psa_set_key_usage_flags(&attributes, usage);
376 psa_set_key_usage_flags(&attributes, usage);
Dtest_suite_constant_time_hmac.function46 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT |
Dtest_suite_psa_crypto_pake.function581 psa_set_key_usage_flags(&attributes, key_usage_pw);
743 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE);
807 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE);
951 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DERIVE);
Dtest_suite_psa_crypto_entropy.function80 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH);
/third_party/mbedtls/programs/psa/
Dcrypto_examples.c179 psa_set_key_usage_flags(&attributes, in cipher_example_encrypt_decrypt_aes_cbc_nopad_1_block()
227 psa_set_key_usage_flags(&attributes, in cipher_example_encrypt_decrypt_aes_cbc_pkcs7_multi()
274 psa_set_key_usage_flags(&attributes, in cipher_example_encrypt_decrypt_aes_ctr_multi()
Dkey_ladder_demo.c203 psa_set_key_usage_flags(&attributes, in generate()
249 psa_set_key_usage_flags(&attributes, usage); in import_key_from_file()
282 psa_set_key_usage_flags(&attributes, in derive_key_ladder()
346 psa_set_key_usage_flags(&attributes, usage); in derive_wrapping_key()
Dhmac_demo.c117 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_MESSAGE); in hmac_demo()
Daead_demo.c162 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in aead_prepare()
/third_party/mbedtls/library/
Dpk_wrap.c234 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH); in rsa_verify_wrap()
327 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); in mbedtls_pk_psa_rsa_sign_ext()
437 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); in rsa_decrypt_wrap()
522 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in rsa_encrypt_wrap()
748 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH); in ecdsa_verify_wrap()
947 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_HASH); in ecdsa_sign_wrap()
Dssl_ticket.c94 psa_set_key_usage_flags(&attributes, in ssl_ticket_gen_key()
182 psa_set_key_usage_flags(&attributes, in mbedtls_ssl_ticket_rotate()
Dpk.c542 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH); in mbedtls_pk_verify_ext()
897 psa_set_key_usage_flags(&attributes, usage); in mbedtls_pk_wrap_as_opaque()
932 psa_set_key_usage_flags(&attributes, usage); in mbedtls_pk_wrap_as_opaque()
Dssl_cookie.c127 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_MESSAGE | in mbedtls_ssl_cookie_setup()
Dssl_tls13_keys.c741 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_MESSAGE); in ssl_tls13_calc_finished_core()
1054 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in mbedtls_ssl_tls13_populate_transform()
1066 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); in mbedtls_ssl_tls13_populate_transform()
Dpkcs5.c373 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_MESSAGE); in mbedtls_pkcs5_pbkdf2_hmac_ext()
/third_party/mbedtls/tests/src/drivers/
Dtest_driver_key_management.c689 psa_set_key_usage_flags( in mbedtls_test_opaque_get_builtin_key()
709 psa_set_key_usage_flags( in mbedtls_test_opaque_get_builtin_key()
/third_party/mbedtls/tests/src/test_helpers/
Dssl_helpers.c1201 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_SIGN_MESSAGE); in mbedtls_test_ssl_build_transforms()
1216 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_EXPORT | in mbedtls_test_ssl_build_transforms()
1219 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_VERIFY_HASH); in mbedtls_test_ssl_build_transforms()
1381 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_ENCRYPT); in mbedtls_test_ssl_build_transforms()
1405 psa_set_key_usage_flags(&attributes, PSA_KEY_USAGE_DECRYPT); in mbedtls_test_ssl_build_transforms()
/third_party/mbedtls/include/psa/
Dcrypto_struct.h425 static inline void psa_set_key_usage_flags(psa_key_attributes_t *attributes, in psa_set_key_usage_flags() function

12