aboutsummaryrefslogtreecommitdiff
path: root/tests/Kyuafile
diff options
context:
space:
mode:
authorMarcin Wojtas <mw@FreeBSD.org>2020-05-26 14:16:26 +0000
committerMarcin Wojtas <mw@FreeBSD.org>2020-05-26 14:16:26 +0000
commitb01edfb515c96c7b437127f62a809da45435d2e7 (patch)
treec7408cf0a67872cfdac9c1474dfb8e38d5ac8e32 /tests/Kyuafile
parentda6526096f021e2d0a3ff728545da9b8e87ba2e2 (diff)
downloadsrc-b01edfb515c96c7b437127f62a809da45435d2e7.tar.gz
src-b01edfb515c96c7b437127f62a809da45435d2e7.zip
Fix AES-CTR compatibility issue in ipsec
r361390 decreased blocksize of AES-CTR from 16 to 1. Because of that ESP payload is no longer aligned to 16 bytes before being encrypted and sent. This is a good change since RFC3686 specifies that the last block doesn't need to be aligned. Since FreeBSD before r361390 couldn't decrypt partial blocks encrypted with AES-CTR we need to enforce 16 byte alignment in order to preserve compatibility. Add a sysctl(on by default) to control it. Submitted by: Kornel Duleba <mindal@semihalf.com> Reviewed by: jhb Obtained from: Semihalf Sponsored by: Stormshield Differential Revision: https://reviews.freebsd.org/D24999
Notes
Notes: svn path=/head/; revision=361507
Diffstat (limited to 'tests/Kyuafile')
0 files changed, 0 insertions, 0 deletions