HomeFreeBSD

Simplify swcr_authcompute() after removal of deprecated algorithms.

Description

Simplify swcr_authcompute() after removal of deprecated algorithms.

  • Just use sw->octx != NULL to handle the HMAC case when finalizing the MAC.
  • Explicitly zero the on-stack auth context.

Reviewed by: markj
Sponsored by: Netflix
Differential Revision: https://reviews.freebsd.org/D26688