Allocating Secrets in libadr

adr_data_t *data_new_secret (const char *p);

Allocates a new secret adr_data_t, initializing it to the contents of the NULL-terminated 8-bit character array pointed to by p. The secret type is used to hold sensitive data such as passwords. The client or server implementations might take additional steps to protect the content of the character array data, for example, zeroing buffers after use.