Home
last modified time | relevance | path

Searched refs:psa_mac_update (Results 1 – 12 of 12) sorted by relevance

/mbedtls-3.5.0/programs/psa/
Dhmac_demo.c134 PSA_CHECK(psa_mac_update(&op, msg1_part1, sizeof(msg1_part1))); in hmac_demo()
135 PSA_CHECK(psa_mac_update(&op, msg1_part2, sizeof(msg1_part2))); in hmac_demo()
141 PSA_CHECK(psa_mac_update(&op, msg2_part1, sizeof(msg2_part1))); in hmac_demo()
142 PSA_CHECK(psa_mac_update(&op, msg2_part2, sizeof(msg2_part2))); in hmac_demo()
/mbedtls-3.5.0/library/
Dssl_cookie.c228 status = psa_mac_update(&operation, *p - 4, 4); in mbedtls_ssl_cookie_write()
234 status = psa_mac_update(&operation, cli_id, cli_id_len); in mbedtls_ssl_cookie_write()
312 status = psa_mac_update(&operation, cookie, 4); in mbedtls_ssl_cookie_check()
318 status = psa_mac_update(&operation, cli_id, in mbedtls_ssl_cookie_check()
Dpkcs5.c399 if ((status = psa_mac_update(&operation, salt, slen)) != PSA_SUCCESS) { in mbedtls_pkcs5_pbkdf2_hmac_ext()
403 if ((status = psa_mac_update(&operation, counter, sizeof(counter))) != PSA_SUCCESS) { in mbedtls_pkcs5_pbkdf2_hmac_ext()
422 if ((status = psa_mac_update(&operation, md1, md_size)) != PSA_SUCCESS) { in mbedtls_pkcs5_pbkdf2_hmac_ext()
Dpsa_crypto.c2512 psa_status_t psa_mac_update(psa_mac_operation_t *operation, function
5214 status = psa_mac_update(&hkdf->hmac,
5221 status = psa_mac_update(&hkdf->hmac,
5227 status = psa_mac_update(&hkdf->hmac,
5300 status = psa_mac_update(&hmac,
5306 status = psa_mac_update(&hmac,
5314 status = psa_mac_update(&hmac, tls12_prf->Ai, hash_length);
5338 status = psa_mac_update(&hmac, tls12_prf->Ai, hash_length);
5342 status = psa_mac_update(&hmac, tls12_prf->label, tls12_prf->label_length);
5346 status = psa_mac_update(&hmac, tls12_prf->seed, tls12_prf->seed_length);
[all …]
Dssl_msg.c840 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_encrypt_buf()
845 status = psa_mac_update(&operation, data, rec->data_len); in mbedtls_ssl_encrypt_buf()
1185 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_encrypt_buf()
1190 status = psa_mac_update(&operation, data, rec->data_len); in mbedtls_ssl_encrypt_buf()
1527 status = psa_mac_update(&operation, add_data, add_data_len); in mbedtls_ssl_decrypt_buf()
1532 status = psa_mac_update(&operation, data, rec->data_len); in mbedtls_ssl_decrypt_buf()
/mbedtls-3.5.0/tests/include/spe/
Dcrypto_spe.h124 #define psa_mac_update \ macro
125 PSA_FUNCTION_NAME(psa_mac_update)
/mbedtls-3.5.0/tests/suites/
Dtest_suite_constant_time_hmac.function122 TEST_EQUAL(PSA_SUCCESS, psa_mac_update(&operation, add_data,
124 TEST_EQUAL(PSA_SUCCESS, psa_mac_update(&operation,
Dtest_suite_psa_crypto.function665 PSA_ASSERT(psa_mac_update(&operation,
671 PSA_ASSERT(psa_mac_update(&operation, input_data->x,
1845 status = psa_mac_update(&operation, input, 128);
1871 status = psa_mac_update(&operation, input, 128);
3099 TEST_EQUAL(psa_mac_update(&func,
3102 TEST_EQUAL(psa_mac_update(&init,
3105 TEST_EQUAL(psa_mac_update(&zero,
3187 TEST_EQUAL(psa_mac_update(&operation, input, sizeof(input)),
3214 PSA_ASSERT(psa_mac_update(&operation, input, sizeof(input)));
3218 TEST_EQUAL(psa_mac_update(&operation, input, sizeof(input)),
[all …]
Dtest_suite_psa_crypto_driver_wrappers.function1919 status = psa_mac_update(&operation,
2084 status = psa_mac_update(&operation,
Dtest_suite_ssl.function1537 TEST_EQUAL(PSA_SUCCESS, psa_mac_update(&operation, add_data, 13));
1538 TEST_EQUAL(PSA_SUCCESS, psa_mac_update(&operation,
/mbedtls-3.5.0/tests/src/
Dpsa_exercise_key.c129 PSA_ASSERT(psa_mac_update(&operation, in exercise_mac_key()
142 PSA_ASSERT(psa_mac_update(&operation, in exercise_mac_key()
/mbedtls-3.5.0/include/psa/
Dcrypto.h1455 psa_status_t psa_mac_update(psa_mac_operation_t *operation,