Home
last modified time | relevance | path

Searched refs:luks_phdr (Results 1 – 4 of 4) sorted by relevance

/dragonfly/contrib/cryptsetup/luks/
HDluks.h34 #define LUKS_PHDR_SIZE (sizeof(struct luks_phdr)/SECTOR_SIZE+1)
45 struct luks_phdr { struct
82 int LUKS_verify_master_key(const struct luks_phdr *hdr, argument
86 struct luks_phdr *header,
101 struct luks_phdr *hdr,
108 struct luks_phdr *hdr,
115 struct luks_phdr *hdr,
121 struct luks_phdr *hdr,
126 struct luks_phdr *hdr,
134 struct luks_phdr *hdr,
[all …]
HDkeymanage.c84 struct luks_phdr *hdr, in LUKS_hdr_backup()
150 struct luks_phdr *hdr, in LUKS_hdr_restore()
157 struct luks_phdr hdr_file; in LUKS_hdr_restore()
245 struct luks_phdr *hdr, in _check_and_convert_hdr()
289 static void LUKS_fix_header_compatible(struct luks_phdr *header) in LUKS_fix_header_compatible()
298 struct luks_phdr *hdr, in LUKS_read_phdr_backup()
305 sizeof(struct luks_phdr), backup_file); in LUKS_read_phdr_backup()
313 if(read(devfd, hdr, sizeof(struct luks_phdr)) < sizeof(struct luks_phdr)) in LUKS_read_phdr_backup()
325 struct luks_phdr *hdr, in LUKS_read_phdr()
333 sizeof(struct luks_phdr), device); in LUKS_read_phdr()
[all …]
HDkeyencryption.c122 struct luks_phdr *hdr, in LUKS_endec_template()
192 struct luks_phdr *hdr, in LUKS_encrypt_to_storage()
204 struct luks_phdr *hdr, in LUKS_decrypt_from_storage()
/dragonfly/contrib/cryptsetup/lib/
HDsetup.c23 struct luks_phdr hdr;
1180 struct luks_phdr hdr; in crypt_load()