This allows us to test purely the integration of the implementation
of DSA and RSA from libgcrypt without concerning with additional
code.
Signed-off-by: Vladimir Serbinenko
---
grub-core/Makefile.core.def | 16
grub-core/tests/dsa_sexp_test.c | 127
Upgrade to libgcrypt 1.11
Changes from v12:
* Import blake_vl_hash
* Remove changes to b64dec and use a special header instead
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/07_disable_64div.patch | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 grub-core/lib/libgcrypt-patches/07_disable_64div.patch
diff --git a/grub-core/lib/libgcrypt-patches/07_disable_64div.patch
b/grub
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/06_blake.patch | 80 +++
include/grub/crypto.h | 9 +++
util/import_gcry.py | 36 +++--
3 files changed, 118 insertions(+), 7 deletions(-)
create mode
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/gpgrt-int.h | 24
1 file changed, 24 insertions(+)
create mode 100644 grub-core/lib/gpgrt-int.h
diff --git a/grub-core/lib/gpgrt-int.h b/grub-core/lib/gpgrt-int.h
new file mode 100644
index 0..45d63580b
libgcrypt itself is compiled with -Wno-sign-compare.
Do the same for consistency
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common| 2 +-
grub-core/Makefile.core.def | 10 +-
util/import_gcry.py | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff
This patches modifies the GRUB-libgcrypt API to match new libgcrypt 1.11
Signed-off-by: Vladimir Serbinenko
---
autogen.sh| 5 +
conf/Makefile.common | 4 +-
grub-core/Makefile.core.def | 20 +-
grub-core
Signed-off-by: Vladimir Serbinenko
---
util/import_gcry.py | 1276 +--
1 file changed, 622 insertions(+), 654 deletions(-)
diff --git a/util/import_gcry.py b/util/import_gcry.py
index 9b0e8d936..086bde77c 100644
--- a/util/import_gcry.py
+++ b/util
Signed-off-by: Vladimir Serbinenko
---
util/import_gcry.py | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/util/import_gcry.py b/util/import_gcry.py
index ca918c777..9b0e8d936 100644
--- a/util/import_gcry.py
+++ b/util/import_gcry.py
@@ -249,15 +249,15 @@ for
Libgcrypt code assumes that on x64 all SSE registers are fair game.
While it's true that CPUs in question support it, we disable it in
our compilation options. Disable the offending optimization.
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/02_keccak_sse.patch
Signed-off-by: Vladimir Serbinenko
---
.../libgcrypt-patches/03_mpiutil_alloc.patch | 20 ++
.../lib/libgcrypt-patches/03_sexp_free.patch | 37 +++
2 files changed, 57 insertions(+)
create mode 100644 grub-core/lib/libgcrypt-patches/03_mpiutil_alloc.patch
create mode
Imported from libgpg-error 1.51
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 279 +
1 file changed, 279 insertions(+)
create mode 100644 grub-core/lib/b64dec.c
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
new file mode
Options -minline-int-divide-* enable performing int division using floating
point unit.
They don't work in ski emulator and possibly on some real hardware.
We don't really need them, so just use normal division.
Signed-off-by: Vladimir Serbinenko
---
configure.ac| 4
It's inserted by mingw and is meaningless in our environment
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/compiler-rt.c | 4
include/grub/compiler-rt.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/grub-core/kern/compiler-rt.c b/grub-core/kern/compiler-rt.c
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 3 +++
1 file changed, 3 insertions(+)
diff --git a/conf/Makefile.common b/conf/Makefile.common
index 40b1609df..30bf1fa44 100644
--- a/conf/Makefile.common
+++ b/conf/Makefile.common
@@ -14,6 +14,9 @@ if !COND_emu
Signed-off-by: Vladimir Serbinenko
---
conf/i386-cygwin-img-ld.sc | 4
1 file changed, 4 insertions(+)
diff --git a/conf/i386-cygwin-img-ld.sc b/conf/i386-cygwin-img-ld.sc
index 578da91b0..aeba49f45 100644
--- a/conf/i386-cygwin-img-ld.sc
+++ b/conf/i386-cygwin-img-ld.sc
@@ -50,6 +50,10
Cygwin is an interesting case where grub_util_fd_sync
needs a handle but fileno returns an fd. Just use
fsync directly in this case
Signed-off-by: Vladimir Serbinenko
---
util/grub-mkrescue.c | 4
1 file changed, 4 insertions(+)
diff --git a/util/grub-mkrescue.c b/util/grub-mkrescue.c
Signed-off-by: Vladimir Serbinenko
---
gentpl.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/gentpl.py b/gentpl.py
index d8c6965d8..f20797228 100644
--- a/gentpl.py
+++ b/gentpl.py
@@ -775,7 +775,7 @@ def image(defn, platform):
if test x$(TARGET_APPLE_LINKER) = x1; then
On windows canonical path starts with drive letter
Signed-off-by: Vladimir Serbinenko
---
util/render-label.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/util/render-label.c b/util/render-label.c
index 432a5c3d2..e78175180 100644
--- a/util/render-label.c
+++ b/util
In this case exeext doesn't match the expected value by autoconf
and so tests fail as autoconf looks for compiled binaries under
wrong name.
Signed-off-by: Vladimir Serbinenko
---
configure.ac | 12
1 file changed, 12 insertions(+)
diff --git a/configure.ac b/configure.ac
Signed-off-by: Vladimir Serbinenko
---
grub-core/osdep/windows/hostdisk.c| 5 +++--
include/grub/osdep/hostfile_windows.h | 10 ++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/grub-core/osdep/windows/hostdisk.c
b/grub-core/osdep/windows/hostdisk.c
index aaa6e2f8e
Signed-off-by: Vladimir Serbinenko
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index e9c6ad8cc..8417ce009 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1925,7 +1925,7 @@ AC_ARG_WITH([unifont],
if test "x$with_unifont
I recently borked my GRUB install, both main and fallback. I had no external
media but could boot into windows via EFI menu. I discovered that our
compilation and installation from windows is broken. Here is the series of
patches to fix it
___
Grub-deve
Without this flag GRUB ignores the relocation section leading to a crash
Signed-off-by: Vladimir Serbinenko
---
util/grub-pe2elf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/grub-pe2elf.c b/util/grub-pe2elf.c
index 11331294f..b686f0c82 100644
--- a/util/grub-pe2elf.c
+++ b/util
ut
as a possibility but it simplifies the code, so it's useful independently of
Rust
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 10 +-
conf/i386-modules.sc | 35 +++
configure.ac
adjustments to the asm code to be compatible with
-shared.
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common| 2 +-
configure.ac| 6 +-
grub-core/Makefile.core.def | 20 +-
grub-core/kern/ia64/efi/startup.S | 7 +-
grub-core/kern/mips
Unlike la, this approach should work even above 4GiB mark.
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/loongarch64/efi/startup.S | 17 +
1 file changed, 13 insertions(+), 4 deletions(-)
diff --git a/grub-core/kern/loongarch64/efi/startup.S
b/grub-core/kern
Signed-off-by: Vladimir Serbinenko
---
configure.ac | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index fbeea0c70..e34e3cd59 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1322,8 +1322,10 @@ if test "$target_cpu" = x86_
-Wl,-r is a partial linking and this file is only intended as intermediate
result for linker, not really intended for any other use. To make them
usable we end up doing all the linker job twice over: in mkimage and
in runtime. -shared on the other hand is meant to be loaded and relocated
and hence
Without this fix GRUB doesn't see most of the files
on NTFS partition.
Signed-off-by: Vladimir Serbinenko
---
grub-core/fs/ntfs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/grub-core/fs/ntfs.c b/grub-core/fs/ntfs.c
index b3117bf92..393a763ee 100644
--- a/grub-co
Without this flag GRUB ignores the relocation section leading to a crash
Signed-off-by: Vladimir Serbinenko
---
util/grub-pe2elf.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/util/grub-pe2elf.c b/util/grub-pe2elf.c
index 11331294f..b686f0c82 100644
--- a/util/grub-pe2elf.c
+++ b/util
This fixes mingw build of modules and kernel.
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
It's inserted by mingw and is meaningless in our environment
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/compiler-rt.c | 4
include/grub/compiler-rt.h | 1 +
2 files changed, 5 insertions(+)
diff --git a/grub-core/kern/compiler-rt.c b/grub-core/kern/compiler-rt.c
This command for x86_64 and arm64 shows current paging table on platforms
in question.
Signed-off-by: Vladimir Serbinenko
---
grub-core/Makefile.core.def | 8 ++
grub-core/commands/arm64/lspaging.c | 138 +++
grub-core/commands/x86_64/lspaging.c | 115
Signed-off-by: Vladimir Serbinenko
---
.../libgcrypt-patches/03_mpiutil_alloc.patch | 20 ++
.../lib/libgcrypt-patches/03_sexp_free.patch | 37 +++
2 files changed, 57 insertions(+)
create mode 100644 grub-core/lib/libgcrypt-patches/03_mpiutil_alloc.patch
create mode
This patches modifies the GRUB-libgcrypt API to match new libgcrypt 1.11
Signed-off-by: Vladimir Serbinenko
---
autogen.sh| 5 +
conf/Makefile.common | 4 +-
grub-core/Makefile.core.def | 20 +-
grub-core
HAVE_STRTOUL is now defined in stdlib.h. Include it in g10lib.h rather than
defining on command line
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 2 +-
util/import_gcry.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/Makefile.common b/conf
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/06_blake.patch | 80 +++
include/grub/crypto.h | 6 ++
util/import_gcry.py | 36 +++--
3 files changed, 115 insertions(+), 7 deletions(-)
create mode
libgcrypt itself is compiled with -Wno-sign-compare.
Do the same for consistency
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common| 2 +-
grub-core/Makefile.core.def | 10 +-
util/import_gcry.py | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff
Signed-off-by: Vladimir Serbinenko
---
util/import_gcry.py | 1277 +--
1 file changed, 623 insertions(+), 654 deletions(-)
diff --git a/util/import_gcry.py b/util/import_gcry.py
index 396ce0f68..cd54daca1 100644
--- a/util/import_gcry.py
+++ b/util
This allows us to test purely the integration of the implementation
of DSA and RSA from libgcrypt without concerning with additional
code.
Signed-off-by: Vladimir Serbinenko
---
grub-core/Makefile.core.def | 16
grub-core/tests/dsa_sexp_test.c | 127
Libgcrypt code assumes that on x64 all SSE registers are fair game.
While it's true that CPUs in question support it, we disable it in
our compilation options. Disable the offending optimization.
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/02_keccak_sse.patch
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/07_disable_64div.patch | 15 +++
1 file changed, 15 insertions(+)
create mode 100644 grub-core/lib/libgcrypt-patches/07_disable_64div.patch
diff --git a/grub-core/lib/libgcrypt-patches/07_disable_64div.patch
b/grub
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 36 +---
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
index 868d98568..8aafa9700 100644
--- a/grub-core/lib/b64dec.c
+++ b/grub-core
Imported from libgpg-error 1.51
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 279 +
1 file changed, 279 insertions(+)
create mode 100644 grub-core/lib/b64dec.c
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
new file mode
Changes from v11:
* Removed 64-bit division in mpi
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
This allows us to test purely the integration of the implementation
of DSA and RSA from libgcrypt without concerning with additional
code.
Signed-off-by: Vladimir Serbinenko
---
grub-core/Makefile.core.def | 16
grub-core/tests/dsa_sexp_test.c | 127
Imported from libgpg-error 1.51
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 279 +
1 file changed, 279 insertions(+)
create mode 100644 grub-core/lib/b64dec.c
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
new file mode
Signed-off-by: Vladimir Serbinenko
---
util/import_gcry.py | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/util/import_gcry.py b/util/import_gcry.py
index b6ddde9cd..396ce0f68 100644
--- a/util/import_gcry.py
+++ b/util/import_gcry.py
@@ -249,15 +249,15 @@ for
HAVE_STRTOUL is now defined in stdlib.h. Include it in g10lib.h rather than
defining on command line
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 2 +-
util/import_gcry.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/Makefile.common b/conf
Signed-off-by: Vladimir Serbinenko
---
.../libgcrypt-patches/03_mpiutil_alloc.patch | 20 ++
.../lib/libgcrypt-patches/03_sexp_free.patch | 37 +++
2 files changed, 57 insertions(+)
create mode 100644 grub-core/lib/libgcrypt-patches/03_mpiutil_alloc.patch
create mode
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/06_blake.patch | 80 +++
include/grub/crypto.h | 6 ++
util/import_gcry.py | 36 +++--
3 files changed, 115 insertions(+), 7 deletions(-)
create mode
Some arm compilers insert 64-bit division into the
code compiled from libgcrypt source and possibly others.
Rether than fighting it, simply provide the function in
question.
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/arm/compiler-rt.S | 11 +++
include/grub/compiler-rt.h
libgcrypt itself is compiled with -Wno-sign-compare.
Do the same for consistency
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common| 2 +-
grub-core/Makefile.core.def | 10 +-
util/import_gcry.py | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff
Some mips compilers insert 64-bit division into the
code compiled from libgcrypt source and possibly others.
Rather than fighting it, simply provide the functions in
question.
Signed-off-by: Vladimir Serbinenko
---
gentpl.py| 2 +-
grub-core/kern/compiler-rt.c | 6
This patches modifies the GRUB-libgcrypt API to match new libgcrypt 1.11
Signed-off-by: Vladimir Serbinenko
---
autogen.sh| 5 +
conf/Makefile.common | 4 +-
grub-core/Makefile.core.def | 20 +-
grub-core
Libgcrypt code assumes that on x64 all SSE registers are fair game.
While it's true that CPUs in question support it, we disable it in
our compilation options. Disable the offending optimization.
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/02_keccak_sse.patch
Signed-off-by: Vladimir Serbinenko
---
util/import_gcry.py | 1277 +--
1 file changed, 623 insertions(+), 654 deletions(-)
diff --git a/util/import_gcry.py b/util/import_gcry.py
index 396ce0f68..cd54daca1 100644
--- a/util/import_gcry.py
+++ b/util
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 36 +---
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
index 868d98568..8aafa9700 100644
--- a/grub-core/lib/b64dec.c
+++ b/grub-core
Upgrade libgcrypt to 1.11.
Changes from previous version:
* Export signed in addition to unsigned division on mips
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
Signed-off-by: Vladimir Serbinenko
---
util/import_gcry.py | 1277 +--
1 file changed, 623 insertions(+), 654 deletions(-)
diff --git a/util/import_gcry.py b/util/import_gcry.py
index 396ce0f68..cd54daca1 100644
--- a/util/import_gcry.py
+++ b/util
HAVE_STRTOUL is now defined in stdlib.h. Include it in g10lib.h rather than
defining on command line
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 2 +-
util/import_gcry.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/Makefile.common b/conf
This allows us to test purely the integration of the implementation
of DSA and RSA from libgcrypt without concerning with additional
code.
Signed-off-by: Vladimir Serbinenko
---
grub-core/Makefile.core.def | 16
grub-core/tests/dsa_sexp_test.c | 127
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 36 +---
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
index 868d98568..8aafa9700 100644
--- a/grub-core/lib/b64dec.c
+++ b/grub-core
Signed-off-by: Vladimir Serbinenko
---
util/import_gcry.py | 10 +-
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/util/import_gcry.py b/util/import_gcry.py
index b6ddde9cd..396ce0f68 100644
--- a/util/import_gcry.py
+++ b/util/import_gcry.py
@@ -249,15 +249,15 @@ for
Some arm compilers insert 64-bit division into the
code compiled from libgcrypt source and possibly others.
Rether than fighting it, simply provide the function in
question.
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/arm/compiler-rt.S | 11 +++
include/grub/compiler-rt.h
This patches modifies the GRUB-libgcrypt API to match new libgcrypt 1.11
Signed-off-by: Vladimir Serbinenko
---
autogen.sh| 5 +
conf/Makefile.common | 4 +-
grub-core/Makefile.core.def | 20 +-
grub-core
Signed-off-by: Vladimir Serbinenko
---
.../libgcrypt-patches/03_mpiutil_alloc.patch | 20 ++
.../lib/libgcrypt-patches/03_sexp_free.patch | 37 +++
2 files changed, 57 insertions(+)
create mode 100644 grub-core/lib/libgcrypt-patches/03_mpiutil_alloc.patch
create mode
Imported from libgpg-error 1.51
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 279 +
1 file changed, 279 insertions(+)
create mode 100644 grub-core/lib/b64dec.c
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
new file mode
Libgcrypt code assumes that on x64 all SSE registers are fair game.
While it's true that CPUs in question support it, we disable it in
our compilation options. Disable the offending optimization.
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/02_keccak_sse.patch
libgcrypt itself is compiled with -Wno-sign-compare.
Do the same for consistency
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common| 2 +-
grub-core/Makefile.core.def | 10 +-
util/import_gcry.py | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff
Changes from v10:
* Made compatible with python v3.4
* Fixed pylint warnings
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/06_blake.patch | 80 +++
include/grub/crypto.h | 6 ++
util/import_gcry.py | 36 +++--
3 files changed, 115 insertions(+), 7 deletions(-)
create mode
Some mips compilers insert 64-bit division into the
code compiled from libgcrypt source and possibly others.
Rether than fighting it, simply provide the function in
question.
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/compiler-rt.c | 32 ++--
include/grub
The code goes on to allocate memory in another region on failure, hence
it should discard the error.
Signed-off-by: Vladimir Serbinenko
---
grub-core/loader/ia64/efi/linux.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/grub-core/loader/ia64/efi/linux.c
b/grub-core/loader/ia64/efi
Those tests fail depending on the version of unifont. As we don't distribute
our own unifont it fails for most users. Disable them so that they don't mask
real failures. They can be reinstated once we solve unifont problem
Signed-off-by: Vladimir Serbinenko
---
grub-core/Makefil
They don't work in ski emulator and we don't really need them
Signed-off-by: Vladimir Serbinenko
---
configure.ac| 4 ++--
grub-core/Makefile.core.def | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 25f3ff932.
adjustments to the asm code to be compatible with
-shared.
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common| 8 +-
configure.ac| 7 +-
grub-core/Makefile.core.def | 20 +-
grub-core/kern/ia64/efi/startup.S | 7 +-
grub-core/kern/mips
HAVE_STRTOUL is now defined in stdlib.h. Include it in g10lib.h rather than
defining on command line
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 2 +-
util/import_gcry.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/Makefile.common b/conf
This allows us to test purely the integration of the implementation
of DSA and RSA from libgcrypt without concerning with additional
code.
Signed-off-by: Vladimir Serbinenko
---
grub-core/Makefile.core.def | 16
grub-core/tests/dsa_sexp_test.c | 127
Signed-off-by: Vladimir Serbinenko
---
.../libgcrypt-patches/03_mpiutil_alloc.patch | 20 ++
.../lib/libgcrypt-patches/03_sexp_free.patch | 37 +++
2 files changed, 57 insertions(+)
create mode 100644 grub-core/lib/libgcrypt-patches/03_mpiutil_alloc.patch
create mode
Libgcrypt code assumes that on x64 all SSE registers are fair game.
While it's true that CPUs in question support it, we disable it in
our compilation options. Disable the offending optimization.
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/02_keccak_sse.patch
Changes from v9:
* Split accidentally squashed unrelated patches
___
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel
Some mips compilers insert 64-bit division into the
code compiled from libgcrypt source and possibly others.
Rether than fighting it, simply provide the function in
question.
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/compiler-rt.c | 32 ++--
include/grub
Some arm compilers insert 64-bit division into the
code compiled from libgcrypt source and possibly others.
Rether than fighting it, simply provide the function in
question.
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/arm/compiler-rt.S | 11 +++
include/grub/compiler-rt.h
This patches modifies the GRUB-libgcrypt API to match new libgcrypt 1.11
Signed-off-by: Vladimir Serbinenko
---
autogen.sh| 5 +
conf/Makefile.common | 4 +-
grub-core/Makefile.core.def | 20 +-
grub-core
libgcrypt itself is compiled with -Wno-sign-compare.
Do the same for consistency
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common| 2 +-
grub-core/Makefile.core.def | 10 +-
util/import_gcry.py | 2 +-
3 files changed, 7 insertions(+), 7 deletions(-)
diff
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/06_blake.patch | 80 +++
include/grub/crypto.h | 6 ++
util/import_gcry.py | 36 +++--
3 files changed, 115 insertions(+), 7 deletions(-)
create mode
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 36 +---
1 file changed, 25 insertions(+), 11 deletions(-)
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
index 868d98568..8aafa9700 100644
--- a/grub-core/lib/b64dec.c
+++ b/grub-core
Imported from libgpg-error 1.51
Signed-off-by: Vladimir Serbinenko
---
grub-core/lib/b64dec.c | 279 +
1 file changed, 279 insertions(+)
create mode 100644 grub-core/lib/b64dec.c
diff --git a/grub-core/lib/b64dec.c b/grub-core/lib/b64dec.c
new file mode
ut
as a possibility but it simplifies the code, so it's useful independently of
Rust
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 10 +-
conf/i386-modules.sc | 35 +++
configure.ac
la.pcrel unlike la should work even above 4GiB mark.
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/loongarch64/efi/startup.S | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/grub-core/kern/loongarch64/efi/startup.S
b/grub-core/kern/loongarch64/efi/startup.S
index
-Wl,-r is a partial linking and this file is only intended as intermediate
result for linker, not really intended for any other use. To make them
usable we end up doing all the linker job twice over: in mkimage and
in runtime. -shared on the other hand is meant to be loaded and relocated
and hence
-Wl,-r is a partial linking and this file is only intended as intermediate
result for linker, not really intended for any other use. To make them
usable we end up doing all the linker job twice over: in mkimage and
in runtime. -shared on the other hand is meant to be loaded and relocated
and hence
Libgcrypt code assumes that on x64 all SSE registers are fair game.
While it's true that CPUs in question support it, we disable it in
our compilation options. Disable the offending optimization.
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/02_keccak_sse.patch
Some arm compilers insert 64-bit division into the
code compiled from libgcrypt source and possibly others.
Rether than fighting it, simply provide the function in
question.
Signed-off-by: Vladimir Serbinenko
---
grub-core/kern/arm/compiler-rt.S | 11 +++
include/grub/compiler-rt.h
This allows us to test purely the integration of the implementation
of DSA and RSA from libgcrypt without concerning with additional
code.
Signed-off-by: Vladimir Serbinenko
---
grub-core/Makefile.core.def | 16
grub-core/tests/dsa_sexp_test.c | 127
libgcrypt itself is compiled with -Wno-sign-compare.
Do the same for consistency
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 2 +-
grub-core/Makefile.core.def | 10 +-
grub-core/kern/compiler-rt.c | 32 ++--
include/grub/compiler
Signed-off-by: Vladimir Serbinenko
---
.../lib/libgcrypt-patches/06_blake.patch | 80 +++
include/grub/crypto.h | 6 ++
util/import_gcry.py | 36 +++--
3 files changed, 115 insertions(+), 7 deletions(-)
create mode
HAVE_STRTOUL is now defined in stdlib.h. Include it in g10lib.h rather than
defining on command line
Signed-off-by: Vladimir Serbinenko
---
conf/Makefile.common | 2 +-
util/import_gcry.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/conf/Makefile.common b/conf
1 - 100 of 295 matches
Mail list logo