Page MenuHomeFreeBSD

aesni: Ensure that key schedules are aligned
ClosedPublic

Authored by markj on Jan 14 2021, 4:35 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Apr 25, 10:10 AM
Unknown Object (File)
Fri, Apr 25, 9:55 AM
Unknown Object (File)
Fri, Apr 25, 9:12 AM
Unknown Object (File)
Fri, Apr 25, 3:41 AM
Unknown Object (File)
Fri, Apr 25, 1:10 AM
Unknown Object (File)
Mon, Apr 21, 12:57 PM
Unknown Object (File)
Sat, Apr 19, 2:52 PM
Unknown Object (File)
Sat, Apr 19, 1:05 PM
Subscribers

Details

Summary

Right now it is happening by accident, since the aesni session softc is
allocated using malloc() and happens to return suitably aligned memory.
Stop relying on this.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable