]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
EKCD: Add Chacha20 encryption mode
authorcem <cem@FreeBSD.org>
Thu, 23 May 2019 20:12:24 +0000 (20:12 +0000)
committercem <cem@FreeBSD.org>
Thu, 23 May 2019 20:12:24 +0000 (20:12 +0000)
commit935cac69d7c4d8058901fcc3c07730edf5719879
tree419e7f17651af918e328d1ba5d6983bebd48ddd2
parent4012193a358750f4992cac30188e39f07167ddb4
EKCD: Add Chacha20 encryption mode

Add Chacha20 mode to Encrypted Kernel Crash Dumps.

Chacha20 does not require messages to be multiples of block size, so it is
valid to use the cipher on non-block-sized messages without the explicit
padding AES-CBC would require.  Therefore, allow use with simultaneous dump
compression.  (Continue to disallow use of AES-CBC EKCD with compression.)

dumpon(8) gains a -C cipher flag to select between chacha and aes-cbc.
It defaults to chacha if no -C option is provided.  The man page documents this
behavior.

Relnotes: sure
Sponsored by: Dell EMC Isilon
sbin/decryptcore/decryptcore.c
sbin/dumpon/dumpon.8
sbin/dumpon/dumpon.c
sys/kern/kern_shutdown.c
sys/sys/kerneldump.h