Drive-Trust-Alliance / sedutil

DTA sedutil Self encrypting drive software
613 stars 236 forks source link

Integration problem in VxWorks with NVMe driver #352

Closed jmmoyaa closed 3 years ago

jmmoyaa commented 3 years ago

Hi,

I'm translating the sedutil source code to a VxWorks 7 kernel module to be used in NVMe disks.

The discovery function is performed correctly, returning rational values for the disk. However, when I try to continue with Properties Method, I got an error in the nvme ioctl (security send command); the status Code (SC) field in the completion queue is set to 0xC005 (according to NVMe revision is an error associated with the NVM media or a data integrity type error due to Vendor Specific).

Thanks very much for any assistance.

jmmoyaa commented 3 years ago

Security Protocol in NVMe header must be set to 1.