.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
---|
1 | 2 | /* |
---|
2 | 3 | * SR-IPv6 implementation -- HMAC functions |
---|
3 | 4 | * |
---|
4 | 5 | * Author: |
---|
5 | 6 | * 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. |
---|
12 | 7 | */ |
---|
13 | 8 | |
---|
14 | 9 | #include <linux/errno.h> |
---|
.. | .. |
---|
39 | 34 | #include <net/addrconf.h> |
---|
40 | 35 | #include <net/xfrm.h> |
---|
41 | 36 | |
---|
42 | | -#include <linux/cryptohash.h> |
---|
43 | 37 | #include <crypto/hash.h> |
---|
44 | 38 | #include <crypto/sha.h> |
---|
45 | 39 | #include <net/seg6.h> |
---|
.. | .. |
---|
406 | 400 | { |
---|
407 | 401 | return seg6_hmac_init_algo(); |
---|
408 | 402 | } |
---|
409 | | -EXPORT_SYMBOL(seg6_hmac_init); |
---|
410 | 403 | |
---|
411 | 404 | int __net_init seg6_hmac_net_init(struct net *net) |
---|
412 | 405 | { |
---|
.. | .. |
---|
416 | 409 | |
---|
417 | 410 | return 0; |
---|
418 | 411 | } |
---|
419 | | -EXPORT_SYMBOL(seg6_hmac_net_init); |
---|
420 | 412 | |
---|
421 | 413 | void seg6_hmac_exit(void) |
---|
422 | 414 | { |
---|