Lines Matching refs:mac_size
2378 operation->mac_size = 0;
2388 uint8_t *mac_size) argument
2405 *mac_size = PSA_MAC_LENGTH(key_type, key_bits, alg);
2407 if (*mac_size < 4) {
2415 if (*mac_size > PSA_MAC_LENGTH(key_type, key_bits,
2422 if (*mac_size > PSA_MAC_MAX_SIZE) {
2467 &operation->mac_size);
2537 size_t mac_size, argument
2555 if (operation->mac_size == 0) {
2560 if (mac_size < operation->mac_size) {
2566 mac, operation->mac_size,
2577 *mac_length = mac_size;
2578 operation->mac_size = 0;
2581 psa_wipe_tag_output_buffer(mac, status, mac_size, *mac_length);
2605 if (operation->mac_size != mac_length) {
2624 size_t mac_size, argument
2652 if (mac_size < operation_mac_size) {
2672 *mac_length = mac_size;
2676 psa_wipe_tag_output_buffer(mac, status, mac_size, *mac_length);
2688 size_t mac_size, argument
2693 mac, mac_size, mac_length, 1);
5036 operation->mac_size = PSA_HASH_LENGTH(hash_alg);