HardenedBSD/sys/opencrypto
Mark Johnston 96c2538121 opencrypto: Respect alignment constraints in xor_and_encrypt()
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.

Reviewed by:	jhb
MFC after:	2 weeks
Sponsored by:	Klara, Inc.
Sponsored by:	Stormshield
Differential Revision:	https://reviews.freebsd.org/D41211
2023-07-27 15:44:52 -04:00
..
_cryptodev.h
cbc_mac.c opencrypto: Respect alignment constraints in xor_and_encrypt() 2023-07-27 15:44:52 -04:00
cbc_mac.h
criov.c crypto: Advance the correct pointer in crypto_cursor_copydata() 2023-06-12 12:52:24 -04:00
crypto.c
cryptodeflate.c
cryptodev_if.m
cryptodev.c
cryptodev.h
cryptosoft.c
deflate.h
gfmult.c
gfmult.h
gmac.c
gmac.h
ktls_ocf.c
ktls.h
rmd160.c
rmd160.h
xform_aes_cbc.c
xform_aes_icm.c
xform_aes_xts.c
xform_auth.h
xform_cbc_mac.c
xform_chacha20_poly1305.c
xform_cml.c
xform_comp.h
xform_deflate.c
xform_enc.h
xform_gmac.c
xform_null.c
xform_poly1305.c
xform_rmd160.c
xform_sha1.c
xform_sha2.c
xform.h