| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * The "hash function" used as the core of the ChaCha stream cipher (RFC7539) |
|---|
| 3 | 4 | * |
|---|
| 4 | 5 | * Copyright (C) 2015 Martin Willi |
|---|
| 5 | | - * |
|---|
| 6 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 7 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 8 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 9 | | - * (at your option) any later version. |
|---|
| 10 | 6 | */ |
|---|
| 11 | 7 | |
|---|
| 12 | 8 | #include <linux/bug.h> |
|---|
| .. | .. |
|---|
| 14 | 10 | #include <linux/export.h> |
|---|
| 15 | 11 | #include <linux/bitops.h> |
|---|
| 16 | 12 | #include <linux/string.h> |
|---|
| 17 | | -#include <linux/cryptohash.h> |
|---|
| 18 | 13 | #include <asm/unaligned.h> |
|---|
| 19 | 14 | #include <crypto/chacha.h> |
|---|
| 20 | 15 | |
|---|