mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-27 17:49:23 +00:00
Import gcrypt public-key cryptography and implement signature checking.
This commit is contained in:
1 parent
535714bdcf
commit
5e3b8dcbb5
238 files changed
+40500
-417
No files matched your search
@@ -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));
|
||||
|
||||
Reference in new issue
Block a user