mirror of
https://github.com/ventoy/Ventoy.git
synced 2025-02-25 12:29:20 -05:00
Speedup md5sum/sha1sum/sha256sum/sha512sum command
This commit is contained in:
parent
4c71d7c190
commit
c8cf9b7ce2
@ -69,7 +69,7 @@ hash_file (grub_file_t file, const gcry_md_spec_t *hash, void *result)
|
||||
grub_uint64_t total = 0;
|
||||
void *context;
|
||||
grub_uint8_t *readbuf;
|
||||
#define BUF_SIZE 4096
|
||||
#define BUF_SIZE 1024 * 1024
|
||||
readbuf = grub_malloc (BUF_SIZE);
|
||||
if (!readbuf)
|
||||
return grub_errno;
|
||||
|
Loading…
x
Reference in New Issue
Block a user