Page MenuHomeFreeBSD

Fix the key size passed to t4_init_gmac_hash.
ClosedPublic

Authored by np on Apr 23 2020, 11:20 PM.
Tags
None
Referenced Files
Unknown Object (File)
Dec 20 2023, 7:56 AM
Unknown Object (File)
May 14 2023, 6:49 PM
Unknown Object (File)
Apr 25 2023, 7:10 PM
Subscribers

Details

Reviewers
jhb

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
No Lint Coverage
Unit
No Test Coverage
Build Status
Buildable 30693
Build 28425: arc lint + arc unit

Event Timeline

Yeah, I missed this in the OCF commit. I changed t4_init_gmac_hash() and t4_init_hmac_digst() to assume it was getting a key length in bytes instead of bits. I think I committed NIC TLS while this branch was in flight but after I had made this change in the branch, so I missed updating this file.

sys/dev/cxgbe/crypto/t4_kern_tls.c
819

This one needs to change to also drop the * 8

np marked an inline comment as done.Apr 23 2020, 11:40 PM
This revision is now accepted and ready to land.Apr 23 2020, 11:43 PM

This was committed in r360232