summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorYue Haibing <yuehaibing@huawei.com>2025-11-13 19:45:01 +0800
committerJakub Kicinski <kuba@kernel.org>2025-11-14 18:00:34 -0800
commit06ac470658190e97518f131df01c9c530c293320 (patch)
tree948302f3845bbc2a30b97495cd88a89369441666 /include/net
parent6d650ae9282bcec1e76205b44cb8f17e2265052e (diff)
sctp: Remove unused declaration sctp_auth_init_hmacs()
Commit bf40785fa437 ("sctp: Use HMAC-SHA1 and HMAC-SHA256 library for chunk authentication") removed the implementation but leave declaration. Signed-off-by: Yue Haibing <yuehaibing@huawei.com> Reviewed-by: Eric Biggers <ebiggers@kernel.org> Link: https://patch.msgid.link/20251113114501.32905-1-yuehaibing@huawei.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sctp/auth.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/sctp/auth.h b/include/net/sctp/auth.h
index 3d5879e08e78..6f2cd562b1de 100644
--- a/include/net/sctp/auth.h
+++ b/include/net/sctp/auth.h
@@ -72,7 +72,6 @@ struct sctp_shared_key *sctp_auth_get_shkey(
int sctp_auth_asoc_copy_shkeys(const struct sctp_endpoint *ep,
struct sctp_association *asoc,
gfp_t gfp);
-int sctp_auth_init_hmacs(struct sctp_endpoint *ep, gfp_t gfp);
const struct sctp_hmac *sctp_auth_get_hmac(__u16 hmac_id);
const struct sctp_hmac *
sctp_auth_asoc_get_hmac(const struct sctp_association *asoc);