[PATCH gnupg 0/1] cSHAKE and KMAC

Falko Strenzke falko.strenzke at mtg.de
Mon Oct 2 15:19:43 CEST 2023


Addition of cSHAKE and KMAC.

Falko Strenzke (1):
  Addition of cSHAKE and KMAC

 cipher/cshake-common.c |  142 ++++
 cipher/cshake-common.h |   63 ++
 cipher/keccak.c        | 1721 +++++++++++++++++++++++-----------------
 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, 2412 insertions(+), 720 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