summaryrefslogtreecommitdiff
path: root/arch/s390/crypto/crc32-vx.c
diff options
context:
space:
mode:
authorHeiko Carstens <hca@linux.ibm.com>2024-02-03 13:45:27 +0300
committerHeiko Carstens <hca@linux.ibm.com>2024-02-16 16:30:18 +0300
commitc59bf4de01b67184c19a9f6f04caa1a8d5b55afb (patch)
treefff8e3f0e963935d61eb84c9ae436885599aab7e /arch/s390/crypto/crc32-vx.c
parent37346951a89ae0a6054d4286f5a90dadc57eee5d (diff)
downloadlinux-c59bf4de01b67184c19a9f6f04caa1a8d5b55afb.tar.xz
s390/crc32be: convert to C
Convert CRC-32 BE variant to C. Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'arch/s390/crypto/crc32-vx.c')
-rw-r--r--arch/s390/crypto/crc32-vx.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/s390/crypto/crc32-vx.c b/arch/s390/crypto/crc32-vx.c
index d9f1fdb66691..0f3e6094174e 100644
--- a/arch/s390/crypto/crc32-vx.c
+++ b/arch/s390/crypto/crc32-vx.c
@@ -14,7 +14,7 @@
#include <linux/crc32.h>
#include <crypto/internal/hash.h>
#include <asm/fpu.h>
-
+#include "crc32-vx.h"
#define CRC32_BLOCK_SIZE 1
#define CRC32_DIGEST_SIZE 4
@@ -33,7 +33,6 @@ struct crc_desc_ctx {
/* Prototypes for functions in assembly files */
u32 crc32_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
-u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
u32 crc32c_le_vgfm_16(u32 crc, unsigned char const *buf, size_t size);
/*