SYNOPSIS
#include <gnutls/extra.h>int gnutls_ia_permute_inner_secret(gnutls_session_t session, size_t session_keys_size, const char * session_keys);
ARGUMENTS
- gnutls_session_t session
- is a gnutls_session_t structure.
- size_t session_keys_size
- Size of generated session keys (0 if none).
- const char * session_keys
- Generated session keys, used to permute inner secret (NULL if none).
DESCRIPTION
Permute the inner secret using the generated session keys.This can be called in the TLS/IA AVP callback to mix any generated session keys with the TLS/IA inner secret.
RETURN VALUE
Return zero on success, or a negative error code.REPORTING BUGS
Report bugs to <[email protected]>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/COPYRIGHT
Copyright © 2008 Free Software Foundation.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.