Import gcrypt public-key cryptography and implement signature checking.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-01-11 21:32:42 +01:00
parent 535714bdcf
commit 5e3b8dcbb5
238 changed files with 40500 additions and 417 deletions

View file

@ -21,13 +21,14 @@
#include <grub/misc.h>
#include <grub/file.h>
#include <sys/types.h>
typedef struct grub_file FILE;
#define EOF -1
static inline int
snprintf (char *str, size_t n, const char *fmt, ...)
snprintf (char *str, grub_size_t n, const char *fmt, ...)
{
va_list ap;
int ret;