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, May 15, 11:31 PM
Unknown Object (File)
Fri, May 15, 11:31 PM
Unknown Object (File)
Wed, May 6, 12:09 AM
Unknown Object (File)
Apr 15 2026, 1:33 PM
Unknown Object (File)
Apr 15 2026, 1:22 AM
Unknown Object (File)
Apr 15 2026, 1:12 AM
Unknown Object (File)
Apr 14 2026, 10:39 PM
Unknown Object (File)
Apr 14 2026, 12:41 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