]> www.infradead.org Git - users/sagi/nvme-cli.git/commit
nvme: fixup length calculation for 'nvme gen-tls-key --secret'
authorHannes Reinecke <hare@suse.de>
Fri, 17 Nov 2023 07:11:24 +0000 (08:11 +0100)
committerDaniel Wagner <wagi@monom.org>
Fri, 17 Nov 2023 09:40:43 +0000 (10:40 +0100)
commit3b9d42fcb98bae5dbd7b8444dee3696a695408c9
tree8ad36d57b5160b8a6af2042cbb212fcb694a3ae1
parentba5c43bf575d3b1c3975b267666cdc98c63acc35
nvme: fixup length calculation for 'nvme gen-tls-key --secret'

The raw secret is passed in hex, so the length of the input is
twice the size of the key.

Signed-off-by: Hannes Reinecke <hare@suse.de>
nvme.c