Page MenuHomeFreeBSD

aesni: Ensure that key schedules are aligned
ClosedPublic

Authored by markj on Jan 14 2021, 4:35 PM.
Tags
None
Referenced Files
F108512380: D28157.id82268.diff
Sat, Jan 25, 7:18 PM
Unknown Object (File)
Fri, Jan 24, 6:54 PM
Unknown Object (File)
Fri, Jan 24, 5:35 PM
Unknown Object (File)
Sat, Jan 18, 3:33 PM
Unknown Object (File)
Thu, Jan 16, 3:01 AM
Unknown Object (File)
Thu, Jan 16, 3:00 AM
Unknown Object (File)
Wed, Jan 15, 11:55 PM
Unknown Object (File)
Dec 8 2024, 7:49 AM
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