DOKK / manpages / debian 12 / libnvme-dev / nvme_cmd_format_ses.2.en
libnvme(2) API Manual libnvme(2)

enum nvme_cmd_format_ses - Format NVM - Secure Erase Settings

enum nvme_cmd_format_ses {
NVME_FORMAT_SES_NONE ,
NVME_FORMAT_SES_USER_DATA_ERASE ,
NVME_FORMAT_SES_CRYPTO_ERASE

};

No secure erase operation requested.
User Data Erase: All user data shall be erased, contents of the user data after the erase is indeterminate (e.g. the user data may be zero filled, one filled, etc.). If a User Data Erase is requested and all affected user data is encrypted, then the controller is allowed to use a cryptographic erase to perform the requested User Data Erase.
Cryptographic Erase: All user data shall be erased cryptographically. This is accomplished by deleting the encryption key.
enum nvme_cmd_format_ses January 2023