Home
last modified time | relevance | path

Searched refs:mac_size (Results 1 – 10 of 10) sorted by relevance

/openthread-latest/third_party/mbedtls/repo/tests/src/drivers/
Dtest_driver_mac.c30 size_t mac_size, in mbedtls_test_transparent_mac_compute() argument
46 mac, mac_size, mac_length); in mbedtls_test_transparent_mac_compute()
52 mac, mac_size, mac_length); in mbedtls_test_transparent_mac_compute()
61 (void) mac_size; in mbedtls_test_transparent_mac_compute()
178 size_t mac_size, in mbedtls_test_transparent_mac_sign_finish() argument
191 operation, mac, mac_size, mac_length); in mbedtls_test_transparent_mac_sign_finish()
195 operation, mac, mac_size, mac_length); in mbedtls_test_transparent_mac_sign_finish()
199 (void) mac_size; in mbedtls_test_transparent_mac_sign_finish()
272 size_t mac_size, in mbedtls_test_opaque_mac_compute() argument
288 (void) mac_size; in mbedtls_test_opaque_mac_compute()
[all …]
/openthread-latest/third_party/mbedtls/repo/library/
Dpsa_crypto_mac.c114 size_t mac_size) in psa_hmac_finish_internal() argument
148 memcpy(mac, tmp, mac_size); in psa_hmac_finish_internal()
374 uint8_t *mac, size_t mac_size) in psa_mac_finish_internal() argument
381 memcpy(mac, tmp, mac_size); in psa_mac_finish_internal()
390 mac, mac_size); in psa_mac_finish_internal()
398 (void) mac_size; in psa_mac_finish_internal()
406 size_t mac_size, in mbedtls_psa_mac_sign_finish() argument
415 status = psa_mac_finish_internal(operation, mac, mac_size); in mbedtls_psa_mac_sign_finish()
417 *mac_length = mac_size; in mbedtls_psa_mac_sign_finish()
463 size_t mac_size, in mbedtls_psa_mac_compute() argument
[all …]
Dpsa_crypto_mac.h54 size_t mac_size,
197 size_t mac_size,
Dpsa_crypto_driver_wrappers.h2204 size_t mac_size, in psa_driver_wrapper_mac_compute() argument
2221 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2232 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2245 mac, mac_size, mac_length ); in psa_driver_wrapper_mac_compute()
2257 (void) mac_size; in psa_driver_wrapper_mac_compute()
2444 size_t mac_size, in psa_driver_wrapper_mac_sign_finish() argument
2452 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2460 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2465 mac, mac_size, mac_length ) ); in psa_driver_wrapper_mac_sign_finish()
2470 (void) mac_size; in psa_driver_wrapper_mac_sign_finish()
Dpsa_crypto.c2526 operation->mac_size = 0; in psa_mac_abort()
2536 uint8_t *mac_size) in psa_mac_finalize_alg_and_key_validation() argument
2553 *mac_size = PSA_MAC_LENGTH(key_type, key_bits, alg); in psa_mac_finalize_alg_and_key_validation()
2555 if (*mac_size < 4) { in psa_mac_finalize_alg_and_key_validation()
2563 if (*mac_size > PSA_MAC_LENGTH(key_type, key_bits, in psa_mac_finalize_alg_and_key_validation()
2570 if (*mac_size > PSA_MAC_MAX_SIZE) { in psa_mac_finalize_alg_and_key_validation()
2611 &operation->mac_size); in psa_mac_setup()
2692 size_t mac_size, in psa_mac_sign_finish() argument
2698 LOCAL_OUTPUT_ALLOC(mac_external, mac_size, mac); in psa_mac_sign_finish()
2712 if (operation->mac_size == 0) { in psa_mac_sign_finish()
[all …]
/openthread-latest/third_party/mbedtls/repo/tests/include/test/drivers/
Dmac.h44 size_t mac_size,
69 size_t mac_size,
88 size_t mac_size,
113 size_t mac_size,
/openthread-latest/third_party/mbedtls/repo/include/psa/
Dcrypto_se_driver.h210 size_t mac_size,
265 size_t mac_size,
Dcrypto.h1216 size_t mac_size,
1501 size_t mac_size,
Dcrypto_struct.h142 uint8_t MBEDTLS_PRIVATE(mac_size);
/openthread-latest/third_party/mbedtls/repo/scripts/data_files/driver_templates/
Dpsa_crypto_driver_wrappers.h.jinja2167 size_t mac_size,
2184 mac, mac_size, mac_length );
2195 mac, mac_size, mac_length );
2208 mac, mac_size, mac_length );
2220 (void) mac_size;
2407 size_t mac_size,
2415 mac, mac_size, mac_length ) );
2423 mac, mac_size, mac_length ) );
2428 mac, mac_size, mac_length ) );
2433 (void) mac_size;