Home
last modified time | relevance | path

Searched refs:mac_operation (Results 1 – 2 of 2) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/suites/
Dtest_suite_psa_crypto_se_driver_hal.function665 psa_mac_operation_t mac_operation = PSA_MAC_OPERATION_INIT;
685 SMOKE_ASSERT(psa_mac_sign_setup(&mac_operation, key, PSA_ALG_CMAC));
686 PSA_ASSERT(psa_mac_abort(&mac_operation));
687 SMOKE_ASSERT(psa_mac_verify_setup(&mac_operation, key,
689 PSA_ASSERT(psa_mac_abort(&mac_operation));
/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_crypto.c5878 psa_mac_operation_t mac_operation = PSA_MAC_OPERATION_INIT; in psa_key_derivation_pbkdf2_generate_block() local
5885 mac_operation.is_sign = 1; in psa_key_derivation_pbkdf2_generate_block()
5886 mac_operation.mac_size = prf_output_length; in psa_key_derivation_pbkdf2_generate_block()
5889 status = psa_driver_wrapper_mac_sign_setup(&mac_operation, in psa_key_derivation_pbkdf2_generate_block()
5897 status = psa_mac_update(&mac_operation, pbkdf2->salt, pbkdf2->salt_length); in psa_key_derivation_pbkdf2_generate_block()
5901 status = psa_mac_update(&mac_operation, block_counter, sizeof(block_counter)); in psa_key_derivation_pbkdf2_generate_block()
5905 status = psa_mac_sign_finish(&mac_operation, U_i, sizeof(U_i), in psa_key_derivation_pbkdf2_generate_block()