blob: 68e5ed2494982bf9648df3585fd3bbb965c50480 (
plain) (
tree)
|
|
/* See LICENSE file for copyright and license details. */
#include "common.h"
/**
* Get the output size of the algorithm specified for a HMAC state
*
* @param state The state
* @return The number of bytes in the output, zero on error
*/
size_t
libsha1_hmac_state_output_size(const struct libsha1_hmac_state *restrict state)
{
return libsha1_algorithm_output_size(state->sha1_state.algorithm);
}
|