2 * loop-AES compatible volume handling
4 * Copyright (C) 2011-2012, Red Hat, Inc. All rights reserved.
6 * This program is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU General Public License
8 * version 2 as published by the Free Software Foundation.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
29 #define LOOPAES_KEYS_MAX 65
31 int LOOPAES_parse_keyfile(struct crypt_device *cd,
32 struct volume_key **vk,
34 unsigned int *keys_count,
38 int LOOPAES_activate(struct crypt_device *cd,
40 const char *base_cipher,
41 unsigned int keys_count,
42 struct volume_key *vk,