ipv6: sr: make SR HMAC __init continue on missing algos
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest4 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/4 | ipv6: sr: reject unsupported SR HMAC algos with -ENOENTnet/ | +6 | 1 reply | |
| 2/4 | ipv6: sr: factor seg6_hmac_exit()'s per-algo code into separate functionnet/ | +27 | 0 replies | |
| 3/4 | ipv6: sr: factor seg6_hmac_init_algo()'s per-algo code into separate functionnet/ | +49 | 1 reply | |
| 4/4 | ipv6: sr: continue initialization at ENOENT HMAC instantiation failuresnet/ | +1 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH v1 0/4] ipv6: sr: make SR HMAC __init continue on missing algos
Hi all,
this series prepares for prohibiting any SHA1 usage when booting in FIPS mode -- SHA1 will be sunset by NIST by the end of 2030 ([1]) and then at latest, attempts to instantiate it will have to be made to fail with -ENOENT (in FIPS mode only). Note that distros might want to make this move downstream today already.
The problem is that the SR HMAC __init, and thus the IPv6 subsys as a whole, fails to come up upon encountering such an error.
This series makes it to continue upon ENOENTs from the hmac instantiations.
Thanks!
Nicolai
[1] https://www.nist.gov/news-events/news/2022/12/nist-retires-sha-1-cryptographic-algorithm
Nicolai Stange (4):
ipv6: sr: reject unsupported SR HMAC algos with -ENOENT
ipv6: sr: factor seg6_hmac_exit()'s per-algo code into separate
function
ipv6: sr: factor seg6_hmac_init_algo()'s per-algo code into separate
function
ipv6: sr: continue initialization at ENOENT HMAC instantiation
failures
net/ipv6/seg6_hmac.c | 141 +++++++++++++++++++++++++------------------ 1 file changed, 81 insertions(+), 60 deletions(-)
Signature · 1 line
2.47.1