HomeFreeBSD

MFC 346649: Don't panic for empty CCM requests.

Description

MFC 346649: Don't panic for empty CCM requests.

A request to encrypt an empty payload without any AAD is unusual, but
it is defined behavior. Removing this assertion removes a panic and
instead returns the correct tag for an empty buffer.

Details

Provenance
jhbAuthored on
Parents
rS348201: MFC: r332298,333712,334199,334216,334219 bhyve cpu topology
Branches
Unknown
Tags
Unknown