Page MenuHomeFreeBSD

opencrypto: Respect alignment constraints in xor_and_encrypt()
ClosedPublic

Authored by markj on Jul 27 2023, 3:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Oct 11, 12:12 PM
Unknown Object (File)
Sat, Oct 11, 12:11 PM
Unknown Object (File)
Sat, Oct 11, 12:11 PM
Unknown Object (File)
Sat, Oct 11, 4:06 AM
Unknown Object (File)
Fri, Oct 10, 12:31 PM
Unknown Object (File)
Fri, Oct 3, 7:47 PM
Unknown Object (File)
Sep 13 2025, 11:06 AM
Unknown Object (File)
Sep 13 2025, 10:16 AM
Subscribers

Details

Summary

Copy operands to an aligned buffer before performing operations which
require alignment. Otherwise it's possible for this code to trigger an
alignment fault on armv7.

Sponsored by: Klara, Inc.
Sponsored by: Stormshield

Diff Detail

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