]> git-server-git.apps.pok.os.sepia.ceph.com Git - xfstests-dev.git/commit
fscrypt-crypt-util: add HCTR2 implementation
authorNathan Huckleberry <nhuck@google.com>
Wed, 3 Aug 2022 22:41:20 +0000 (15:41 -0700)
committerZorro Lang <zlang@kernel.org>
Fri, 5 Aug 2022 16:57:22 +0000 (00:57 +0800)
commitf57ffcf43811bfb990a2d264fa77b46b5d594079
tree99eb0806db8ebb500fee1d3a95baa6a36cf9c1f8
parent78a3ce021ba8a74b48b633b678326219351aa44f
fscrypt-crypt-util: add HCTR2 implementation

This patch adds an implementation of HCTR2 to the fscrypt testing
utility.

More information on HCTR2 can be found here: "Length-preserving
encryption with HCTR2": https://ia.cr/2021/1441

Signed-off-by: Nathan Huckleberry <nhuck@google.com>
Reviewed-by: Eric Biggers <ebiggers@google.com>
Tested-by: Eric Biggers <ebiggers@google.com>
Signed-off-by: Zorro Lang <zlang@kernel.org>
common/encrypt
src/fscrypt-crypt-util.c