Clean-up for crypto Intel CRC32 code.
Subsystems (2)
PATCH 1/1 Clean-up for crypto Intel CRC32 code.
Herbert and Ulrich, sorry for late reply.
see below.
This patch was created against cryptodev-2.6
Clean-up by new MACRO;
Signed-off-by Austin Zhang <[email protected]>
--- crc32c-intel.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
arch/x86/crypto/crc32c-intel.c +2 -2
@@ -26,12 +26,12 @@#define CHKSUM_BLOCK_SIZE 1#define CHKSUM_DIGEST_SIZE 4 +#define SCALE_F sizeof(unsigned long) +#ifdef CONFIG_X86_64 #define REX_PRE "0x48, " -#define SCALE_F 8#else #define REX_PRE -#define SCALE_F 4#endif static u32 crc32c_intel_le_hw_byte (u32 crc,unsigned char const *data,size_t length)
Herbert Xu
maintainerQuoted 8 lines · Austin Zhang
Herbert and Ulrich, sorry for late reply.
see below.
This patch was created against cryptodev-2.6Clean-up by new MACRO;
Signed-off-by Austin Zhang <[email protected]>
Patch applied. Thanks Austin.
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt