Page MenuHomeFreeBSD

aesni: Ensure that key schedules are aligned
ClosedPublic

Authored by markj on Jan 14 2021, 4:35 PM.
Tags
None
Referenced Files
F95983123: D28157.diff
Mon, Sep 23, 5:59 AM
Unknown Object (File)
Fri, Sep 20, 10:07 PM
Unknown Object (File)
Fri, Sep 20, 8:34 PM
Unknown Object (File)
Wed, Sep 4, 4:31 AM
Unknown Object (File)
Sat, Aug 24, 11:24 PM
Unknown Object (File)
Sat, Aug 24, 11:24 PM
Unknown Object (File)
Aug 12 2024, 11:57 PM
Unknown Object (File)
Aug 10 2024, 12:34 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