cryptsetup API
Public cryptsetup API
|
Functions | |
int | crypt_header_backup (struct crypt_device *cd, const char *requested_type, const char *backup_file) |
int | crypt_header_restore (struct crypt_device *cd, const char *requested_type, const char *backup_file) |
int crypt_header_backup | ( | struct crypt_device * | cd, |
const char * | requested_type, | ||
const char * | backup_file | ||
) |
Backup header and keyslots to file.
cd | crypt device handle |
requested_type | crypt-type or NULL for all known |
backup_file | file to backup header to |
int crypt_header_restore | ( | struct crypt_device * | cd, |
const char * | requested_type, | ||
const char * | backup_file | ||
) |
Restore header and keyslots from backup file.
cd | crypt device handle |
requested_type | crypt-type or NULL for all known |
backup_file | file to restore header from |