Skip to content

Commit 0cdc438

Browse files
ebiggersherbertx
authored andcommitted
crypto: blake2b - update file comment
The file comment for blake2b_generic.c makes it sound like it's the reference implementation of BLAKE2b with only minor changes. But it's actually been changed a lot. Update the comment to make this clearer. Reviewed-by: David Sterba <[email protected]> Acked-by: Ard Biesheuvel <[email protected]> Signed-off-by: Eric Biggers <[email protected]> Signed-off-by: Herbert Xu <[email protected]>
1 parent 28dcca4 commit 0cdc438

File tree

1 file changed

+10
-13
lines changed

1 file changed

+10
-13
lines changed

crypto/blake2b_generic.c

Lines changed: 10 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,18 @@
11
// SPDX-License-Identifier: (GPL-2.0-only OR Apache-2.0)
22
/*
3-
* BLAKE2b reference source code package - reference C implementations
3+
* Generic implementation of the BLAKE2b digest algorithm. Based on the BLAKE2b
4+
* reference implementation, but it has been heavily modified for use in the
5+
* kernel. The reference implementation was:
46
*
5-
* Copyright 2012, Samuel Neves <[email protected]>. You may use this under the
6-
* terms of the CC0, the OpenSSL Licence, or the Apache Public License 2.0, at
7-
* your option. The terms of these licenses can be found at:
7+
* Copyright 2012, Samuel Neves <[email protected]>. You may use this under
8+
* the terms of the CC0, the OpenSSL Licence, or the Apache Public License
9+
* 2.0, at your option. The terms of these licenses can be found at:
810
*
9-
* - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
10-
* - OpenSSL license : https://www.openssl.org/source/license.html
11-
* - Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0
11+
* - CC0 1.0 Universal : http://creativecommons.org/publicdomain/zero/1.0
12+
* - OpenSSL license : https://www.openssl.org/source/license.html
13+
* - Apache 2.0 : https://www.apache.org/licenses/LICENSE-2.0
1214
*
13-
* More information about the BLAKE2 hash function can be found at
14-
* https://blake2.net.
15-
*
16-
* Note: the original sources have been modified for inclusion in linux kernel
17-
* in terms of coding style, using generic helpers and simplifications of error
18-
* handling.
15+
* More information about BLAKE2 can be found at https://blake2.net.
1916
*/
2017

2118
#include <asm/unaligned.h>

0 commit comments

Comments
 (0)