1libnvme(9) API Manual libnvme(9)
2
3
4
6 enum nvme_cmd_format_ses - Format NVM - Secure Erase Settings
7
9 enum nvme_cmd_format_ses {
10 NVME_FORMAT_SES_NONE ,
11 NVME_FORMAT_SES_USER_DATA_ERASE ,
12 NVME_FORMAT_SES_CRYPTO_ERASE
13
14 };
15
17 NVME_FORMAT_SES_NONE
18 No secure erase operation requested.
19
20 NVME_FORMAT_SES_USER_DATA_ERASE
21 User Data Erase: All user data shall be erased, contents of
22 the user data after the erase is indeterminate (e.g. the
23 user data may be zero filled, one filled, etc.). If a User
24 Data Erase is requested and all affected user data is en‐
25 crypted, then the controller is allowed to use a crypto‐
26 graphic erase to perform the requested User Data Erase.
27
28 NVME_FORMAT_SES_CRYPTO_ERASE
29 Cryptographic Erase: All user data shall be erased crypto‐
30 graphically. This is accomplished by deleting the encryp‐
31 tion key.
32
33
34
35April 2023 enum nvme_cmd_format_ses libnvme(9)