Loading drivers/nvme/common/auth.c +3 −3 Original line number Diff line number Diff line Loading @@ -471,7 +471,7 @@ EXPORT_SYMBOL_GPL(nvme_auth_generate_key); * @c1: Value of challenge C1 * @c2: Value of challenge C2 * @hash_len: Hash length of the hash algorithm * @ret_psk: Pointer too the resulting generated PSK * @ret_psk: Pointer to the resulting generated PSK * @ret_len: length of @ret_psk * * Generate a PSK for TLS as specified in NVMe base specification, section Loading Loading @@ -759,8 +759,8 @@ int nvme_auth_derive_tls_psk(int hmac_id, u8 *psk, size_t psk_len, goto out_free_prk; /* * 2 addtional bytes for the length field from HDKF-Expand-Label, * 2 addtional bytes for the HMAC ID, and one byte for the space * 2 additional bytes for the length field from HDKF-Expand-Label, * 2 additional bytes for the HMAC ID, and one byte for the space * separator. */ info_len = strlen(psk_digest) + strlen(psk_prefix) + 5; Loading drivers/nvme/host/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -106,7 +106,7 @@ config NVME_TCP_TLS help Enables TLS encryption for NVMe TCP using the netlink handshake API. The TLS handshake daemon is availble at The TLS handshake daemon is available at https://github.com/oracle/ktls-utils. If unsure, say N. Loading drivers/nvme/host/core.c +1 −1 Original line number Diff line number Diff line Loading @@ -1026,7 +1026,7 @@ static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, if (ns->head->ms) { /* * If formated with metadata, the block layer always provides a * If formatted with metadata, the block layer always provides a * metadata buffer if CONFIG_BLK_DEV_INTEGRITY is enabled. Else * we enable the PRACT bit for protection information or set the * namespace capacity to zero to prevent any I/O. Loading drivers/nvme/host/fabrics.c +1 −1 Original line number Diff line number Diff line Loading @@ -582,7 +582,7 @@ EXPORT_SYMBOL_GPL(nvmf_connect_io_queue); * Do not retry when: * * - the DNR bit is set and the specification states no further connect * attempts with the same set of paramenters should be attempted. * attempts with the same set of parameters should be attempted. * * - when the authentication attempt fails, because the key was invalid. * This error code is set on the host side. Loading drivers/nvme/host/fabrics.h +3 −3 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ enum { * @transport: Holds the fabric transport "technology name" (for a lack of * better description) that will be used by an NVMe controller * being added. * @subsysnqn: Hold the fully qualified NQN subystem name (format defined * @subsysnqn: Hold the fully qualified NQN subsystem name (format defined * in the NVMe specification, "NVMe Qualified Names"). * @traddr: The transport-specific TRADDR field for a port on the * subsystem which is adding a controller. Loading Loading @@ -156,7 +156,7 @@ struct nvmf_ctrl_options { * @create_ctrl(): function pointer that points to a non-NVMe * implementation-specific fabric technology * that would go into starting up that fabric * for the purpose of conneciton to an NVMe controller * for the purpose of connection to an NVMe controller * using that fabric technology. * * Notes: Loading @@ -165,7 +165,7 @@ struct nvmf_ctrl_options { * 2. create_ctrl() must be defined (even if it does nothing) * 3. struct nvmf_transport_ops must be statically allocated in the * modules .bss section so that a pure module_get on @module * prevents the memory from beeing freed. * prevents the memory from being freed. */ struct nvmf_transport_ops { struct list_head entry; Loading Loading
drivers/nvme/common/auth.c +3 −3 Original line number Diff line number Diff line Loading @@ -471,7 +471,7 @@ EXPORT_SYMBOL_GPL(nvme_auth_generate_key); * @c1: Value of challenge C1 * @c2: Value of challenge C2 * @hash_len: Hash length of the hash algorithm * @ret_psk: Pointer too the resulting generated PSK * @ret_psk: Pointer to the resulting generated PSK * @ret_len: length of @ret_psk * * Generate a PSK for TLS as specified in NVMe base specification, section Loading Loading @@ -759,8 +759,8 @@ int nvme_auth_derive_tls_psk(int hmac_id, u8 *psk, size_t psk_len, goto out_free_prk; /* * 2 addtional bytes for the length field from HDKF-Expand-Label, * 2 addtional bytes for the HMAC ID, and one byte for the space * 2 additional bytes for the length field from HDKF-Expand-Label, * 2 additional bytes for the HMAC ID, and one byte for the space * separator. */ info_len = strlen(psk_digest) + strlen(psk_prefix) + 5; Loading
drivers/nvme/host/Kconfig +1 −1 Original line number Diff line number Diff line Loading @@ -106,7 +106,7 @@ config NVME_TCP_TLS help Enables TLS encryption for NVMe TCP using the netlink handshake API. The TLS handshake daemon is availble at The TLS handshake daemon is available at https://github.com/oracle/ktls-utils. If unsure, say N. Loading
drivers/nvme/host/core.c +1 −1 Original line number Diff line number Diff line Loading @@ -1026,7 +1026,7 @@ static inline blk_status_t nvme_setup_rw(struct nvme_ns *ns, if (ns->head->ms) { /* * If formated with metadata, the block layer always provides a * If formatted with metadata, the block layer always provides a * metadata buffer if CONFIG_BLK_DEV_INTEGRITY is enabled. Else * we enable the PRACT bit for protection information or set the * namespace capacity to zero to prevent any I/O. Loading
drivers/nvme/host/fabrics.c +1 −1 Original line number Diff line number Diff line Loading @@ -582,7 +582,7 @@ EXPORT_SYMBOL_GPL(nvmf_connect_io_queue); * Do not retry when: * * - the DNR bit is set and the specification states no further connect * attempts with the same set of paramenters should be attempted. * attempts with the same set of parameters should be attempted. * * - when the authentication attempt fails, because the key was invalid. * This error code is set on the host side. Loading
drivers/nvme/host/fabrics.h +3 −3 Original line number Diff line number Diff line Loading @@ -80,7 +80,7 @@ enum { * @transport: Holds the fabric transport "technology name" (for a lack of * better description) that will be used by an NVMe controller * being added. * @subsysnqn: Hold the fully qualified NQN subystem name (format defined * @subsysnqn: Hold the fully qualified NQN subsystem name (format defined * in the NVMe specification, "NVMe Qualified Names"). * @traddr: The transport-specific TRADDR field for a port on the * subsystem which is adding a controller. Loading Loading @@ -156,7 +156,7 @@ struct nvmf_ctrl_options { * @create_ctrl(): function pointer that points to a non-NVMe * implementation-specific fabric technology * that would go into starting up that fabric * for the purpose of conneciton to an NVMe controller * for the purpose of connection to an NVMe controller * using that fabric technology. * * Notes: Loading @@ -165,7 +165,7 @@ struct nvmf_ctrl_options { * 2. create_ctrl() must be defined (even if it does nothing) * 3. struct nvmf_transport_ops must be statically allocated in the * modules .bss section so that a pure module_get on @module * prevents the memory from beeing freed. * prevents the memory from being freed. */ struct nvmf_transport_ops { struct list_head entry; Loading