linux-crypto.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/2] ipv6: sr: Simplify and optimize HMAC calculations
@ 2025-08-24  1:36 Eric Biggers
  2025-08-24  1:36 ` [PATCH net-next v2 1/2] ipv6: sr: Use HMAC-SHA1 and HMAC-SHA256 library functions Eric Biggers
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Eric Biggers @ 2025-08-24  1:36 UTC (permalink / raw)
  To: netdev, Andrea Mayer; +Cc: David Lebrun, Minhong He, linux-crypto, Eric Biggers

This series simplifies and optimizes the HMAC calculations in
IPv6 Segment Routing.

Changed in v2:
- Rebased on top of latest net-next.  Dropped "ipv6: sr: Fix MAC
  comparison to be constant-time" since it was upstreamed already.
  Moved key preparation to seg6_hmac_info_add().

Eric Biggers (2):
  ipv6: sr: Use HMAC-SHA1 and HMAC-SHA256 library functions
  ipv6: sr: Prepare HMAC key ahead of time

 include/net/seg6_hmac.h |  20 ++--
 net/ipv6/Kconfig        |   7 +-
 net/ipv6/seg6.c         |   7 --
 net/ipv6/seg6_hmac.c    | 211 ++++++----------------------------------
 4 files changed, 42 insertions(+), 203 deletions(-)


base-commit: b1c92cdf5af3198e8fbc1345a80e2a1dff386c02
-- 
2.50.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2025-08-27  1:20 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-08-24  1:36 [PATCH net-next v2 0/2] ipv6: sr: Simplify and optimize HMAC calculations Eric Biggers
2025-08-24  1:36 ` [PATCH net-next v2 1/2] ipv6: sr: Use HMAC-SHA1 and HMAC-SHA256 library functions Eric Biggers
2025-08-24  1:36 ` [PATCH net-next v2 2/2] ipv6: sr: Prepare HMAC key ahead of time Eric Biggers
2025-08-27  1:20 ` [PATCH net-next v2 0/2] ipv6: sr: Simplify and optimize HMAC calculations patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).