HomeFreeBSD

ktls_ocf: Fix a few places to not hardcode the GMAC hash length.

Description

ktls_ocf: Fix a few places to not hardcode the GMAC hash length.

This is not a functional change as the Poly1305 hash is the same
length as the GMAC hash length.

Reviewed by: gallatin, markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D30137

(cherry picked from commit 4a92afae7fcbb0a8453712dfec5de086aaf5cba4)

Details

Provenance
jhbAuthored on May 25 2021, 11:59 PM
Reviewer
gallatin
Differential Revision
D30137: ktls_ocf: Fix a few places to not hardcode the GMAC hash length.
Parents
rG6afc00ed139d: ktls: Use COUNTER_U64_DEFINE_EARLY for the ktls_toe_chacha20 counter.
Branches
Unknown
Tags
Unknown