lib/crypto: Update REQUIREMENTS for recent Samba changes
[samba.git] / lib / crypto / sha512.c
index 9c7367bb6029baf4537690a3b2892b863683b250..41be1ec0e966712a29ad84c0bd1e83334ba83a71 100644 (file)
 #define min(a,b) (((a)>(b))?(b):(a))
 #endif
 
-/* Vector Crays doesn't have a good 32-bit type, or more precisely,
-   int32_t as defined by <bind/bitypes.h> isn't 32 bits, and we don't
-   want to depend in being able to redefine this type.  To cope with
-   this we have to clamp the result in some places to [0,2^32); no
-   need to do this on other machines.  Did I say this was a mess?
-   */
-
-#ifdef _CRAY
-#define CRAYFIX(X) ((X) & 0xffffffff)
-#else
-#define CRAYFIX(X) (X)
-#endif
-
-static inline uint32_t
-cshift (uint32_t x, unsigned int n)
-{
-    x = CRAYFIX(x);
-    return CRAYFIX((x << n) | (x >> (32 - n)));
-}
-
 static inline uint64_t
 cshift64 (uint64_t x, unsigned int n)
 {