.\" DO NOT MODIFY THIS FILE! It was generated by gdoc. .TH "gsasl_scram_secrets_from_salted_password" 3 "1.10.0" "gsasl" "gsasl" .SH NAME gsasl_scram_secrets_from_salted_password \- API function .SH SYNOPSIS .B #include .sp .BI "int gsasl_scram_secrets_from_salted_password(Gsasl_hash " hash ", const char * " salted_password ", char * " client_key ", char * " server_key ", char * " stored_key ");" .SH ARGUMENTS .IP "Gsasl_hash hash" 12 a \fBGsasl_hash\fP element, e.g., \fBGSASL_HASH_SHA256\fP. .IP "const char * salted_password" 12 input array with salted password. .IP "char * client_key" 12 pre\-allocated output array with derived client key. .IP "char * server_key" 12 pre\-allocated output array with derived server key. .IP "char * stored_key" 12 pre\-allocated output array with derived stored key. .SH "DESCRIPTION" Helper function to derive SCRAM ClientKey/ServerKey/StoredKey. The \fIclient_key\fP , \fIserver_key\fP , and \fIstored_key\fP buffers must have room to hold digest for given \fIhash\fP , use \fBGSASL_HASH_MAX_SIZE\fP which is sufficient for all hashes. Return value: Returns \fBGSASL_OK\fP if successful, or error code. .SH "SINCE" 1.10 .SH "REPORTING BUGS" Report bugs to . .br General guidelines for reporting bugs: http://www.gnu.org/gethelp/ .br GNU SASL home page: http://www.gnu.org/software/gsasl/ .SH COPYRIGHT Copyright \(co 2002-2021 Simon Josefsson. .br 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. .SH "SEE ALSO" The full documentation for .B gsasl is maintained as a Texinfo manual. If the .B info and .B gsasl programs are properly installed at your site, the command .IP .B info gsasl .PP should give you access to the complete manual. As an alternative you may obtain the manual from: .IP .B http://www.gnu.org/software/gsasl/manual/ .PP