[PATCH gnupg 0/1] 2nd attempt for for addition of cSHAKE and KMAC
Falko Strenzke
falko.strenzke at mtg.de
Mon Oct 2 16:00:01 CEST 2023
Please ignore the previous patch which had unnecessarily reformatted an existing file.
Signed-off-by: Falko Strenzke <falko.strenzke at mtg.de>
Falko Strenzke (1):
Addition of cSHAKE and KMAC
cipher/cshake-common.c | 142 +++++++++++++++
cipher/cshake-common.h | 63 +++++++
cipher/keccak.c | 215 +++++++++++++++++++++++
cipher/keccak.h | 36 ++++
cipher/mac-internal.h | 22 +++
cipher/mac-kmac.c | 380 +++++++++++++++++++++++++++++++++++++++++
cipher/mac.c | 14 ++
cipher/md.c | 50 +++++-
configure.ac | 2 +-
doc/gcrypt.texi | 31 +++-
src/cipher.h | 2 +
src/fips.c | 2 +
src/gcrypt-int.h | 1 +
src/gcrypt.h.in | 14 +-
src/visibility.c | 1 +
src/visibility.h | 1 +
tests/Makefile.am | 2 +-
tests/basic.c | 313 ++++++++++++++++++++++++++++++++-
tests/cshake.c | 335 ++++++++++++++++++++++++++++++++++++
19 files changed, 1615 insertions(+), 11 deletions(-)
create mode 100644 cipher/cshake-common.c
create mode 100644 cipher/cshake-common.h
create mode 100644 cipher/keccak.h
create mode 100644 cipher/mac-kmac.c
create mode 100644 tests/cshake.c
--
2.30.2
More information about the Gcrypt-devel
mailing list