Lines Matching refs:mac_size
2582 operation->mac_size = 0;
2592 uint8_t *mac_size) argument
2609 *mac_size = PSA_MAC_LENGTH(key_type, key_bits, alg);
2611 if (*mac_size < 4) {
2619 if (*mac_size > PSA_MAC_LENGTH(key_type, key_bits,
2626 if (*mac_size > PSA_MAC_MAX_SIZE) {
2667 &operation->mac_size);
2748 size_t mac_size, argument
2754 LOCAL_OUTPUT_ALLOC(mac_external, mac_size, mac);
2768 if (operation->mac_size == 0) {
2773 if (mac_size < operation->mac_size) {
2780 mac, operation->mac_size,
2791 *mac_length = mac_size;
2792 operation->mac_size = 0;
2796 psa_wipe_tag_output_buffer(mac, status, mac_size, *mac_length);
2823 if (operation->mac_size != mac_length) {
2844 size_t mac_size, argument
2868 if (mac_size < operation_mac_size) {
2888 *mac_length = mac_size;
2892 psa_wipe_tag_output_buffer(mac, status, mac_size, *mac_length);
2904 size_t mac_size, argument
2912 LOCAL_OUTPUT_ALLOC(mac_external, mac_size, mac);
2915 mac, mac_size, mac_length, 1);
5512 operation->mac_size = PSA_HASH_LENGTH(hash_alg);
5944 mac_operation.mac_size = prf_output_length;