Content-Type: multipart/mixed; boundary="===============3284130552823555866==" MIME-Version: 1.0 From: lihui.zhang at intel.com Subject: [SPDK] Encryption on SPDK Date: Tue, 04 Aug 2020 01:06:09 +0000 Message-ID: <20200804010609.2837.57884@ml01.vlan13.01.org> List-ID: To: spdk@lists.01.org --===============3284130552823555866== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Hi, We are now setting up a SPDK enviornment, some questions on encryption of b= lock dev, thanks! 1. How to enable encryption of block dev? 2. How to configure software and hardware(through cryptodev) encryption? 3. How to validate? = = We tried below steps to enable encrypted partition, is there any method to = validate whether it is works or not? = 1. Configure and compile SPDK=EF=BC=9A HUGEMEM=3D8192 ./scripts/setup.sh ./configure --with-vhost --with-crypto make -j32 = 2.Encryption=EF=BC=9A ./build/bin/vhost -i 0 ./scripts/rpc.py construct_nvme_bdev -b Nvme01 -t pcie -a 0000:81:00.0 ./scripts/rpc.py bdev_crypto_create NVMe0n1 CryNvmeA crypto_aesni_mb 012345= 6789123456 Thanks! --===============3284130552823555866==--