HomeFreeBSD

Truncate HMAC output only if requested by the client

Description

Truncate HMAC output only if requested by the client

The output of HMAC was previously truncated to 12 bytes. This was only
correct in case of one particular crypto client - the new version of IPSEC.
Fix by taking into account the cri_mlen field in cryptoini session request
filled in by the client.

Submitted by: Michal Stanek <mst@semihalf.com>
Obtained from: Semihalf
Sponsored by: Stormshield
Differential revision: https://reviews.freebsd.org/D6218

Details

Provenance
zbbAuthored on Jun 2 2016, 6:37 PM
Parents
rG22c7a0317854: Split CESA memory resource into TDMA and CESA regs
Branches
Unknown
Tags
Unknown

Event Timeline