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)
Mar 28 2024, 9:31 PM
Unknown Object (File)
Mar 19 2024, 3:54 PM
Unknown Object (File)
Mar 19 2024, 2:40 PM
Unknown Object (File)
Jan 15 2024, 2:44 PM
Unknown Object (File)
Dec 27 2023, 9:32 PM
Unknown Object (File)
Dec 27 2023, 9:32 PM
Unknown Object (File)
Dec 27 2023, 9:31 PM
Unknown Object (File)
Dec 27 2023, 9:18 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.