diff options
author | Heiko Carstens <hca@linux.ibm.com> | 2024-02-03 11:45:27 +0100 |
---|---|---|
committer | Heiko Carstens <hca@linux.ibm.com> | 2024-02-16 14:30:18 +0100 |
commit | c59bf4de01b67184c19a9f6f04caa1a8d5b55afb (patch) | |
tree | fff8e3f0e963935d61eb84c9ae436885599aab7e /arch/s390/crypto/crc32-vx.h | |
parent | 37346951a89ae0a6054d4286f5a90dadc57eee5d (diff) |
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.h')
-rw-r--r-- | arch/s390/crypto/crc32-vx.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/arch/s390/crypto/crc32-vx.h b/arch/s390/crypto/crc32-vx.h new file mode 100644 index 000000000000..eba754c2821b --- /dev/null +++ b/arch/s390/crypto/crc32-vx.h @@ -0,0 +1,10 @@ +/* SPDX-License-Identifier: GPL-2.0 */ + +#ifndef _CRC32_VX_S390_H +#define _CRC32_VX_S390_H + +#include <linux/types.h> + +u32 crc32_be_vgfm_16(u32 crc, unsigned char const *buf, size_t size); + +#endif /* _CRC32_VX_S390_H */ |