shishi_cipher_confoundersize(3) API function

SYNOPSIS

#include <shishi.h>

int shishi_cipher_confoundersize(int32_t type);

ARGUMENTS

int32_t type
encryption type, see Shishi_etype.

DESCRIPTION

Get length of confounder for cipher.

RETURN VALUE

Returns the size of the confounder (random data) for encryption type, as defined in the standards, or (size_t)-1 on error (e.g., unsupported encryption type).

REPORTING BUGS

Report bugs to <[email protected]>.

COPYRIGHT

Copyright © 2002-2010 Simon Josefsson.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.