1gnutls_ia_extract_inner_secret(3)   gnutls   gnutls_ia_extract_inner_secret(3)
2
3
4

NAME

6       gnutls_ia_extract_inner_secret - API function
7

SYNOPSIS

9       #include <gnutls/extra.h>
10
11       void  gnutls_ia_extract_inner_secret(gnutls_session_t  session,  char *
12       buffer);
13

ARGUMENTS

15       gnutls_session_t session
16                   is a gnutls_session_t structure.
17
18       char * buffer
19                   pre-allocated buffer to hold 48 bytes of inner secret.
20

DESCRIPTION

22       Copy the 48 bytes large inner secret into the specified buffer
23
24       This function is typically used after the  TLS/IA  handshake  has  con‐
25       cluded.   The  TLS/IA  inner  secret  can  be used as input to a PRF to
26       derive session keys.  Do not use the inner secret directly as a session
27       key, because for a resumed session that does not include an application
28       phase, the inner secret will be identical to the inner  secret  in  the
29       original  session.  It is important to include, for example, the client
30       and server randomness when deriving  a  sesssion  key  from  the  inner
31       secret.
32

REPORTING BUGS

34       Report bugs to <bug-gnutls@gnu.org>.
35
37       Copyright © 2006 Free Software Foundation.
38       Permission  is  granted  to make and distribute verbatim copies of this
39       manual provided the copyright notice and  this  permission  notice  are
40       preserved on all copies.
41

SEE ALSO

43       The  full  documentation  for gnutls is maintained as a Texinfo manual.
44       If the info and gnutls programs are properly installed  at  your  site,
45       the command
46
47              info gnutls
48
49       should give you access to the complete manual.
50
51
52
53gnutls                               1.6.3   gnutls_ia_extract_inner_secret(3)
Impressum