gnutls_psk_netconf_derive_key3
Derive psk netconf key from password
Usage
#include <gnutls/gnutls.h>
int gnutls_psk_netconf_derive_key(const char * password, const char * psk_identity, const char * psk_identity_hint, gnutls_datum_t * output_key);
Arguments
const char * password
|
zero terminated string containing password. |
|---|---|
const char * psk_identity
|
zero terminated string with PSK identity. |
const char * psk_identity_hint
|
zero terminated string with PSK identity hint. |
gnutls_datum_t * output_key
|
output variable, contains newly allocated *data pointer. |
Overview
This function will derive a PSK key from a password, for use with the Netconf protocol.
Returns
GNUTLS_E_SUCCESS on success, or an error code.
Since
2.4.0
Releases
2 releases since Debian 5.0 (Lenny); the text changed 1 time.