[dm-crypt] comment on API for saving and restoring luks header.
mbroz at redhat.com
Thu Apr 19 09:53:01 CEST 2012
On 04/18/2012 11:19 PM, .. ink .. wrote:
> * Backup header and keyslots to file
> * @param cd crypt device handle
> * @param requested_type type of header to backup
> * @param backup_file file to backup header to
> * @return @e 0 on success or negative errno value otherwise.
> The above is a comments on options for "crypt_header_backup" and "crypt_header_restore".
> The comment does not have "use @e NULL for all known" explanation for the second argument.
> Should i assume this is an oversight and use "NULL" for the second argument?
The only format currently supporting this is LUKS anyway, but NULL is supported.
More information about the dm-crypt