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.