mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2025-12-11 19:00:02 +01:00
Use struct volume key thorough.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@571 36d66b0a-2a48-0410-832c-cd162a569da5
This commit is contained in:
@@ -195,8 +195,7 @@ int LOOPAES_activate(struct crypt_device *cd,
|
||||
.device = crypt_get_device_name(cd),
|
||||
.cipher = NULL,
|
||||
.uuid = crypt_get_uuid(cd),
|
||||
.key = vk->key,
|
||||
.key_size = vk->keylength,
|
||||
.vk = vk,
|
||||
.offset = crypt_get_data_offset(cd),
|
||||
.iv_offset = skip,
|
||||
.size = 0,
|
||||
|
||||
@@ -4,6 +4,9 @@
|
||||
#include <unistd.h>
|
||||
#include "config.h"
|
||||
|
||||
struct crypt_device;
|
||||
struct volume_key;
|
||||
|
||||
#define LOOPAES_KEYS_MAX 65
|
||||
|
||||
int LOOPAES_parse_keyfile(struct crypt_device *cd,
|
||||
|
||||
Reference in New Issue
Block a user