mirror of
https://gitlab.com/cryptsetup/cryptsetup.git
synced 2026-01-06 07:25:29 +01:00
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@489 36d66b0a-2a48-0410-832c-cd162a569da5
25 lines
530 B
C
25 lines
530 B
C
#ifndef _LOOPAES_H
|
|
#define _LOOPAES_H
|
|
|
|
#include <unistd.h>
|
|
#include "config.h"
|
|
|
|
#define LOOPAES_KEYS_MAX 65
|
|
|
|
int LOOPAES_parse_keyfile(struct crypt_device *cd,
|
|
struct volume_key **vk,
|
|
const char *hash,
|
|
unsigned int *keys_count,
|
|
char *buffer,
|
|
size_t buffer_len);
|
|
|
|
int LOOPAES_activate(struct crypt_device *cd,
|
|
const char *name,
|
|
const char *base_cipher,
|
|
unsigned int keys_count,
|
|
struct volume_key *vk,
|
|
uint64_t offset,
|
|
uint64_t skip,
|
|
uint32_t flags);
|
|
#endif
|