First working cipher import

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2009-11-10 20:51:22 +01:00
parent 20de16bb91
commit a4bafc4710
3 changed files with 99 additions and 5 deletions

View file

@ -68,4 +68,17 @@ grub_assert_real (const char *file, int line, int cond)
grub_fatal ("Assertion failed at %s:%d\n", file, line);
}
/* Selftests are in separate modules. */
static inline char *
selftest (void)
{
return NULL;
}
static inline int
fips_mode (void)
{
return 0;
}
#endif

View file

@ -64,6 +64,7 @@ typedef enum
GPG_ERR_WRONG_PUBKEY_ALGO,
} gcry_err_code_t;
#define gpg_err_code_t gcry_err_code_t
#define gpg_error_t gcry_err_code_t
enum gcry_cipher_modes
{