Import gcrypt public-key cryptography and implement signature checking.

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

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ hextoval (char c)
static grub_err_t
hash_file (grub_file_t file, const gcry_md_spec_t *hash, void *result)
{
grub_uint8_t context[hash->contextsize];
GRUB_PROPERLY_ALIGNED_ARRAY (context, hash->contextsize);
grub_uint8_t readbuf[4096];
grub_memset (context, 0, sizeof (context));