setkey_r

Name

setkey_r -- Set cryptographic encoding key

Synopsis

#include <crypt.h>

void setkey_r(const char * key, struct crypt_data * data);

Description

The setkey_r() function is a re-entrant version of the setkey() function. setkey_r() shall behave as specified for setkey() in POSIX 1003.1-2008 (ISO/IEC 9945-2009), but with an additional parameter, a pointer to a structure which is used to store result data and bookkeeping information.

The caller should set the initialized field of the crypt_data structure to zero before the first call to setkey_r().

Notes

INSERT TEXT HERE

See Also

setkey(), crypt_r(), encrypt_r().