logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

shishi_key_from_name - API function

Arguments

       Shishi * handle
                   Shishi library handle create by shishi_init().

       int32_t type
                   type of key.

       const char * name
                   principal name of user.

       const char * password
                   input array containing password.

       size_t passwordlen
                   length of input array containing password.

       const char * parameter
                   input array with opaque encryption type specific information.

       Shishi_key ** outkey
                   pointer to structure that will hold newly created key information

Description

       Create a new Key information structure, and derive  the  key  from  principal  name  and  password  using
       shishi_key_from_name().   The  salt is derived from the principal name by concatenating the decoded realm
       and principal.

Name

       shishi_key_from_name - API function

Reporting Bugs

       Report bugs to <bug-shishi@gnu.org>.  GNU Shishi home page:  http://www.gnu.org/software/shishi/  General
       help using GNU software: http://www.gnu.org/gethelp/

Return Value

       Returns SHISHI_OK iff successful.

See Also

       The full documentation for shishi is maintained as a Texinfo manual.  If the info and shishi programs are
       properly installed at your site, the command

              infoshishi

       should give you access to the complete manual.

shishi                                                1.0.3                              shishi_key_from_name(3)

Synopsis

#include<shishi.h>intshishi_key_from_name(Shishi*handle,int32_ttype,constchar*name,constchar*password,size_tpasswordlen,constchar*parameter,Shishi_key**outkey);

See Also