Scroll to navigation

libnvmf_context_set_crypto(9) libnvme API manual libnvmf_context_set_crypto(9)

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

Fabrics context
Host key
Controller key
Keyring identifier
TLS key
TLS key identity

DESCRIPTION

Sets cryptographic and TLS parameters for the context.

RETURN

0 on success, negative error code otherwise.

libnvmf_context_set_crypto July 2026