Scroll to navigation

libnvme(2) API Manual libnvme(2)

NAME

enum nvme_cmd_format_ses - Format NVM - Secure Erase Settings

SYNOPSIS

enum nvme_cmd_format_ses {
NVME_FORMAT_SES_NONE ,
NVME_FORMAT_SES_USER_DATA_ERASE ,
NVME_FORMAT_SES_CRYPTO_ERASE

};

Constants

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 February 2024