aboutsummaryrefslogblamecommitdiffstats
path: root/doc/man/libkeccak_state_marshal_size.3
blob: 8ebb16a7047cd3f9a420574f5b090aceba8b5350 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                            






                                                                          

                                                                   

   

              



                                                

            












                                              

                                                                        
               
.TH LIBKECCAK_STATE_MARSHAL_SIZE 3 LIBKECCAK
.SH NAME
libkeccak_state_marshal_size - Calculates the marshal-size of a hash state
.SH SYNOPSIS
.LP
.nf
#include <libkeccak.h>
.P
size_t
libkeccak_state_marshal_size(const libkeccak_state_t *\fIstate\fP);
.fi
.P
Link with
.IR -lkeccak .
.SH DESCRIPTION
The
.BR libkeccak_state_marshal_size ()
function calculates the number of bytes required
to marshal
.IR *state .
.SH RETURN VALUES
The
.BR libkeccak_state_marshal_size ()
returns a positive value: the number of
bytes required to marshal the specified state.
.SH ERRORS
The
.BR libkeccak_state_marshal_size ()
function cannot fail.
.SH SEE ALSO
.BR libkeccak_state_marshal (3),
.BR libkeccak_state_unmarshal (3),
.BR libkeccak_state_unmarshal_skip (3)
.SH BUGS
Please report bugs to https://github.com/maandree/libkeccak/issues or to
maandree@kth.se