aboutsummaryrefslogblamecommitdiffstats
path: root/state_output_size.c
blob: c148a44d4d37f38a8dce713f8e57cc31fcab42cd (plain) (tree)
1
2
3
4
5
6
7
8
9
10









                                                                   
                                                                                           
/* See LICENSE file for copyright and license details. */
#include "common.h"


/**
 * Get the output size of the algorithm specified for a state
 * 
 * @param   state  The state
 * @return         The number of bytes in the output, zero on error
 */
extern inline size_t libsha1_state_output_size(const struct libsha1_state *restrict state);