Page MenuHomeFreeBSD

Remove MD5 HMAC from OCF.
ClosedPublic

Authored by jhb on May 8 2020, 6:46 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Jan 3, 1:34 PM
Unknown Object (File)
Dec 4 2024, 1:04 AM
Unknown Object (File)
Oct 31 2024, 1:17 PM
Unknown Object (File)
Sep 24 2024, 3:27 AM
Unknown Object (File)
Sep 23 2024, 8:45 PM
Unknown Object (File)
Sep 23 2024, 3:42 AM
Unknown Object (File)
Sep 20 2024, 1:58 PM
Unknown Object (File)
Sep 20 2024, 1:58 PM
Subscribers

Details

Reviewers
cem
jmg
Group Reviewers
manpages
Commits
rS360936: Remove MD5 HMAC from OCF.
Summary

There are no in-kernel consumers.

Test Plan
  • make tinderbox

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 30993
Build 28700: arc lint + arc unit

Event Timeline

jhb requested review of this revision.May 8 2020, 6:46 PM
jhb created this revision.

Thanks.

sys/mips/cavium/cryptocteon/cavium_crypto.c
464

This deserves to be removed for this function name alone

sys/mips/cavium/cryptocteon/cryptocteonvar.h
66

Yeah it's almost like they should have names that reflect what they do

sys/opencrypto/cryptodev.h
77

I might keep this constant, even if unused. I don't know if this is the best header for it, but given proximity to the other similar values, it seems ok.

90

Ditto. Even if we don't use the algorithm in OCF it is occasionally handy to have these numbers as reference points.

This revision is now accepted and ready to land.May 9 2020, 2:22 PM
sys/opencrypto/cryptodev.h
90

<sys/md5.h> already has MD5_DIGEST_LENGTH and MD5_BLOCK_LENGTH and any in-kernel users of MD5 should be using that header and its constants. I'd like to keep this header limited to what OCF uses / supports.

sys/opencrypto/cryptodev.h
90

perfect.

This revision was automatically updated to reflect the committed changes.