SASL_ERASEBUFFER(3SASL) Simple Authentication Security Layer Library Functions SASL_ERASEBUFFER(3SASL)

sasl_erasebuffer - erase buffer

cc [ flag ... ] file ... -lsasl   [ library ... ]
#include <sasl/saslutil.h>
void sasl_erasebuffer(char *pass, unsigned len);

Use the sasl_erasebuffer() interface to erase a security sensitive buffer or password. The implementation may use recovery-resistant erase logic.

pass

A password

len

The length of the password

The sasl_erasebuffer() interface returns no return values.

None.

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE ATTRIBUTE VALUE
Interface Stability Evolving
MT-Level MT-Safe

attributes(7)

September 16, 2003 OmniOS