get_seed_es(3) — Subroutines
NAME
get_seed_es − Obtain a drand48 seed value for an extended profile (Enhanced Security)
LIBRARY
Security Library (libsecurity.so)
SYNOPSIS
#include <sys/types.h>
#include <sys/security.h>
#include <prot.h>
long get_seed_es(
struct es_passwd ∗prpwd);
PARAMETERS
prpwdSpecifies a pointer to the protected profile structure (prpasswd)
DESCRIPTION
Returns a hashed value of the protected profile for use in random-number generation, such as that used with lrand48 or drand48 and so forth. The get_seed_es() function is used by the login and passwd commands under ENHANCED security to initialize the seed value for password generation.
RETURN VALUES
The computed hash value for the extended profile.