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
gr
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-c
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 1006
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
--- /d
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/command
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/import_
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 ciphe
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 | 25 ++
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 1
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
This RFC patch introduces a UEFI error message printer that translates
UEFI status codes from hexadecimal values into human-readable strings.
The idea is inspired by the GNU C Library's "perror()" function, which
translates
"errno" values into descriptive error messages. Similarly, this implement
13 matches
Mail list logo