Files
cryptsetup/lib/loopaes/loopaes.h
Milan Broz e95ed30c66 Also support --hash option for loopaesOpen.
git-svn-id: https://cryptsetup.googlecode.com/svn/trunk@489 36d66b0a-2a48-0410-832c-cd162a569da5
2011-03-25 17:00:57 +00:00

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