Pedro Monreal Gonzalez
b52a99835f
definition after removing the built-in jitter rng. * Add libgcrypt-rol64-redefinition.patch OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libgcrypt?expand=0&rev=184
17 lines
541 B
Diff
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
|