Source
1
+
// SPDX-License-Identifier: GPL-2.0-or-later
1
2
/*
2
3
* algif_hash: User-space interface for hash algorithms
3
4
*
4
5
* This file provides the user-space API for hash algorithms.
5
6
*
6
7
* Copyright (c) 2010 Herbert Xu <herbert@gondor.apana.org.au>
7
-
*
8
-
* This program is free software; you can redistribute it and/or modify it
9
-
* under the terms of the GNU General Public License as published by the Free
10
-
* Software Foundation; either version 2 of the License, or (at your option)
11
-
* any later version.
12
-
*
13
8
*/
14
9
​
15
10
#include <crypto/hash.h>
16
11
#include <crypto/if_alg.h>
17
12
#include <linux/init.h>
18
13
#include <linux/kernel.h>
19
14
#include <linux/mm.h>
20
15
#include <linux/module.h>
21
16
#include <linux/net.h>
22
17
#include <net/sock.h>