hc
2024-10-22 8ac6c7a54ed1b98d142dce24b11c6de6a1e239a5
kernel/net/ipv6/seg6_hmac.c
....@@ -1,14 +1,9 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * SR-IPv6 implementation -- HMAC functions
34 *
45 * Author:
56 * David Lebrun <david.lebrun@uclouvain.be>
6
- *
7
- *
8
- * This program is free software; you can redistribute it and/or
9
- * modify it under the terms of the GNU General Public License
10
- * as published by the Free Software Foundation; either version
11
- * 2 of the License, or (at your option) any later version.
127 */
138
149 #include <linux/errno.h>
....@@ -39,7 +34,6 @@
3934 #include <net/addrconf.h>
4035 #include <net/xfrm.h>
4136
42
-#include <linux/cryptohash.h>
4337 #include <crypto/hash.h>
4438 #include <crypto/sha.h>
4539 #include <net/seg6.h>
....@@ -406,7 +400,6 @@
406400 {
407401 return seg6_hmac_init_algo();
408402 }
409
-EXPORT_SYMBOL(seg6_hmac_init);
410403
411404 int __net_init seg6_hmac_net_init(struct net *net)
412405 {
....@@ -416,7 +409,6 @@
416409
417410 return 0;
418411 }
419
-EXPORT_SYMBOL(seg6_hmac_net_init);
420412
421413 void seg6_hmac_exit(void)
422414 {