/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2002,2003,2004,2005,2006,2007,2008,2009 Free Software Foundation, Inc.
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef GRUB_CRYPTODISK_HEADER
typedef enum
{
typedef enum
{
struct grub_cryptodisk;
typedef gcry_err_code_t
struct grub_cryptodisk
{
char *source;
int ref;
int benbi_log;
#ifdef GRUB_UTIL
char *cheat;
const char *modname;
int cheat_fd;
#endif
int log_sector_size;
int rekey_shift;
int rekey_derived_size;
};
struct grub_cryptodisk_dev
{
int boot_only);
};
#ifndef GRUB_LST_GENERATOR
static inline void
{
}
#endif
static inline void
{
}
#ifdef GRUB_UTIL
void
char *
grub_util_get_geli_uuid (const char *dev);
#endif
#endif