HomeFreeBSD

aesni: Ensure that key schedules are aligned

Description

aesni: Ensure that key schedules are aligned

Rather than depending on malloc() returning 16-byte aligned chunks,
allocate some extra pad bytes and ensure that key schedules are
appropriately aligned.

Reviewed by: kib
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC (Netgate)
Differential Revision: https://reviews.freebsd.org/D28157

Details

Provenance
markjAuthored on Jan 18 2021, 10:07 PM
Reviewer
kib
Differential Revision
D28157: aesni: Ensure that key schedules are aligned
Parents
rG5bdb8b273aaf: safexcel: Maintain per-session context records
Branches
Unknown
Tags
Unknown