File Index
Files and directories
Sign in
FILE

crc64_lsb.c

File preview with syntax highlighting.

linux-6.19.14/lib/crc/riscv/crc64_lsb.c C
 1// SPDX-License-Identifier: GPL-2.0-or-later
 2/*
 3 * RISC-V optimized least-significant-bit-first CRC64
 4 *
 5 * Copyright 2025 Google LLC
 6 */
 7
 8#include "crc-clmul.h"
 9
10typedef u64 crc_t;
11#define LSB_CRC 1
12#include "crc-clmul-template.h"
13
14u64 crc64_lsb_clmul(u64 crc, const void *p, size_t len,
15		    const struct crc_clmul_consts *consts)
16{
17	return crc_clmul(crc, p, len, consts);
18}
~/ Read-only file preview.