1 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2 .TH "gnutls_srp_verifier" 3 "2.12.6.1" "gnutls" "gnutls"
4 gnutls_srp_verifier \- API function
6 .B #include <gnutls/gnutls.h>
8 .BI "int gnutls_srp_verifier(const char * " username ", const char * " password ", const gnutls_datum_t * " salt ", const gnutls_datum_t * " generator ", const gnutls_datum_t * " prime ", gnutls_datum_t * " res ");"
10 .IP "const char * username" 12
12 .IP "const char * password" 12
13 is the user's password
14 .IP "const gnutls_datum_t * salt" 12
15 should be some randomly generated bytes
16 .IP "const gnutls_datum_t * generator" 12
17 is the generator of the group
18 .IP "const gnutls_datum_t * prime" 12
20 .IP "gnutls_datum_t * res" 12
21 where the verifier will be stored.
23 This function will create an SRP verifier, as specified in
24 RFC2945. The \fIprime\fP and \fIgenerator\fP should be one of the static
25 parameters defined in gnutls/extra.h or may be generated using the
26 libgcrypt functions \fBgcry_prime_generate()\fP and
27 \fBgcry_prime_group_generator()\fP.
29 The verifier will be allocated with \fImalloc\fP and will be stored in
30 \fIres\fP using binary format.
32 On success, \fBGNUTLS_E_SUCCESS\fP (0) is returned, or an
35 Report bugs to <bug-gnutls@gnu.org>.
36 GnuTLS home page: http://www.gnu.org/software/gnutls/
37 General help using GNU software: http://www.gnu.org/gethelp/
39 Copyright \(co 2008 Free Software Foundation.
41 Copying and distribution of this file, with or without modification,
42 are permitted in any medium without royalty provided the copyright
43 notice and this notice are preserved.
45 The full documentation for
47 is maintained as a Texinfo manual. If the
51 programs are properly installed at your site, the command
55 should give you access to the complete manual.