Page MenuHomeFreeBSD

aesni: Ensure that key schedules are aligned
ClosedPublic

Authored by markj on Jan 14 2021, 4:35 PM.

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
R10 FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.