SHA256
8
0
forked from pool/libgcrypt
Files
libgcrypt/libgcrypt-rol64-redefinition.patch
Pedro Monreal Gonzalez b5b243be7f - Security fix [bsc#1221107, CVE-2024-2236]
* Add --enable-marvin-workaround to spec to enable workaround
  * Fix  timing based side-channel in RSA implementation ( Marvin attack ) 
  * Add libgcrypt-CVE-2024-2236.patch

OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=193
2025-06-10 07:06:49 +00:00

17 lines
541 B
Diff

Index: libgcrypt-1.11.0/cipher/bithelp.h
===================================================================
--- libgcrypt-1.11.0.orig/cipher/bithelp.h
+++ libgcrypt-1.11.0/cipher/bithelp.h
@@ -35,11 +35,6 @@ static inline u32 ror(u32 x, int n)
return ( (x >> (n&(32-1))) | (x << ((32-n)&(32-1))) );
}
-static inline u64 rol64(u64 x, int n)
-{
- return ( (x << (n&(64-1))) | (x >> ((64-n)&(64-1))) );
-}
-
/* Byte swap for 32-bit and 64-bit integers. If available, use compiler
provided helpers. */
#ifdef HAVE_BUILTIN_BSWAP32