Source
1
+
// SPDX-License-Identifier: GPL-2.0
1
2
/*
2
3
* SHA1 routine optimized to do word accesses rather than byte accesses,
3
4
* and to avoid unnecessary copies into the context array.
4
5
*
5
6
* This was based on the git SHA1 implementation.
6
7
*/
7
8
​
8
9
#include <linux/kernel.h>
9
10
#include <linux/export.h>
10
11
#include <linux/bitops.h>