* grub-core/lib/crypto.c (grub_crypto_hash): Remove variable length
array.
This commit is contained in:
parent
ca120e31f2
commit
7dd0a30361
4 changed files with 21 additions and 1 deletions
|
@ -88,6 +88,7 @@ enum gcry_cipher_modes
|
|||
/* Don't rely on this. Check! */
|
||||
#define GRUB_CRYPTO_MAX_MDLEN 64
|
||||
#define GRUB_CRYPTO_MAX_CIPHER_BLOCKSIZE 16
|
||||
#define GRUB_CRYPTO_MAX_MD_CONTEXT_SIZE 256
|
||||
|
||||
/* Type for the cipher_setkey function. */
|
||||
typedef gcry_err_code_t (*gcry_cipher_setkey_t) (void *c,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue