Searched refs:mac_operation (Results 1 – 2 of 2) sorted by relevance
/mbedtls-latest/tests/suites/ |
D | test_suite_psa_crypto_se_driver_hal.function | 678 psa_mac_operation_t mac_operation = PSA_MAC_OPERATION_INIT; 698 SMOKE_ASSERT(psa_mac_sign_setup(&mac_operation, key, PSA_ALG_CMAC)); 699 PSA_ASSERT(psa_mac_abort(&mac_operation)); 700 SMOKE_ASSERT(psa_mac_verify_setup(&mac_operation, key, 702 PSA_ASSERT(psa_mac_abort(&mac_operation));
|
/mbedtls-latest/library/ |
D | psa_crypto.c | 5936 psa_mac_operation_t mac_operation = PSA_MAC_OPERATION_INIT; local 5943 mac_operation.is_sign = 1; 5944 mac_operation.mac_size = prf_output_length; 5947 status = psa_driver_wrapper_mac_sign_setup(&mac_operation, 5955 status = psa_mac_update(&mac_operation, pbkdf2->salt, pbkdf2->salt_length); 5959 status = psa_mac_update(&mac_operation, block_counter, sizeof(block_counter)); 5963 status = psa_mac_sign_finish(&mac_operation, U_i, sizeof(U_i),
|