| .. | .. |
|---|
| 1 | +/* SPDX-License-Identifier: GPL-2.0-or-later */ |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Core of the accelerated CRC algorithm. |
|---|
| 3 | 4 | * In your file, define the constants and CRC_FUNCTION_NAME |
|---|
| .. | .. |
|---|
| 18 | 19 | * We then use fixed point Barrett reduction to compute a mod n over GF(2) |
|---|
| 19 | 20 | * for n = CRC using POWER8 instructions. We use x = 32. |
|---|
| 20 | 21 | * |
|---|
| 21 | | - * http://en.wikipedia.org/wiki/Barrett_reduction |
|---|
| 22 | + * https://en.wikipedia.org/wiki/Barrett_reduction |
|---|
| 22 | 23 | * |
|---|
| 23 | 24 | * Copyright (C) 2015 Anton Blanchard <anton@au.ibm.com>, IBM |
|---|
| 24 | | - * |
|---|
| 25 | | - * This program is free software; you can redistribute it and/or |
|---|
| 26 | | - * modify it under the terms of the GNU General Public License |
|---|
| 27 | | - * as published by the Free Software Foundation; either version |
|---|
| 28 | | - * 2 of the License, or (at your option) any later version. |
|---|
| 29 | 25 | */ |
|---|
| 30 | 26 | |
|---|
| 31 | 27 | #include <asm/ppc_asm.h> |
|---|