Reference

libnvmf_context_set_crypto-libnvme3(2)

Set cryptographic parameters for context

NAME

libnvmf_context_set_crypto - Set cryptographic parameters for context

SYNOPSIS

int libnvmf_context_set_crypto (struct libnvmf_context *fctx , const char *hostkey , const char *ctrlkey , const char *keyring , const char *tls_key , const char *tls_key_identity );

ARGUMENTS

fctx

Fabrics context

hostkey

Host key

ctrlkey

Controller key

keyring

Keyring identifier

tls_key

TLS key

tls_key_identity

TLS key identity

DESCRIPTION

Sets cryptographic and TLS parameters for the context.

RETURN

0 on success, negative error code otherwise.