blob: d1a94dde01db1f736a501a03a58b7fb52a5aa045 (
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
libsha2_hmac_state_output_size(const struct libsha2_hmac_state *restrict state)
{
return libsha2_algorithm_output_size(state->sha2_state.algorithm);
}
|