libnvmf_context_set_crypto-libnvme3(2)

libnvmf_context_set_crypto-libnvme32

Set cryptographic parameters for context

Usage

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

Overview

Sets cryptographic and TLS parameters for the context.

Return

0 on success, negative error code otherwise.

From nvme-cli 3.2-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.