gnutls_psk_netconf_derive_key(3)

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.

  1. 5.0
  2. 6.0

Reporting bugs

Report bugs to <[email protected]>. GnuTLS home page: http://www.gnu.org/software/gnutls/ General help using GNU software: http://www.gnu.org/gethelp/

From gnutls-doc 2.8.6-1+squeeze3 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.