open-source-firmware / go-tcg-storage

Go library for interfacing TCG Storage functions on storage devices
BSD 3-Clause "New" or "Revised" License
21 stars 10 forks source link

Interface the kernel-level TCG Opal #34

Open bluecmd opened 3 years ago

bluecmd commented 3 years ago

The kernel has an implementation of TCG Opal since 4.11 for NVMe and 4.13 (?) for SATA. It can be used in order to unlock drives when resuming from S3 sleep.

It would be neat to offer a way to interface with those functions as well possibly.