SASL_ERASEBUFFER(3SASL)
Simple Authentication Security Layer Library Functions
NAME
sasl_erasebuffer - erase buffer
SYNOPSIS
cc [
flag ... ]
file ...
-lsasl [
library ... ]
#include <sasl/saslutil.h>
void sasl_erasebuffer(
char *pass,
unsigned len);
DESCRIPTION
Use the
sasl_erasebuffer() interface to erase a security sensitive
buffer or password. The implementation may use recovery-resistant
erase logic.
PARAMETERS
pass A password
len The length of the password
RETURN VALUES
The
sasl_erasebuffer() interface returns no return values.
ERRORS
None.
ATTRIBUTES
See
attributes(7) for descriptions of the following attributes:
+--------------------+-----------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+--------------------+-----------------+
|Interface Stability | Evolving |
+--------------------+-----------------+
|MT-Level | MT-Safe |
+--------------------+-----------------+
SEE ALSO
attributes(7) September 16, 2003 SASL_ERASEBUFFER(3SASL)