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>.     GnuTLS   home   page:
35       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
36       http://www.gnu.org/gethelp/
37
39       Copyright © 2008 Free Software Foundation.
40       Copying  and  distribution  of this file, with or without modification,
41       are permitted in any medium  without  royalty  provided  the  copyright
42       notice and this notice are preserved.
43

SEE ALSO

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