From: "Rusydi H. Makarim" <rusydi.makarim@kriptograf.id>
To: Herbert Xu <herbert@gondor.apana.org.au>,
"David S. Miller" <davem@davemloft.net>,
Eric Biggers <ebiggers@kernel.org>,
"Jason A. Donenfeld" <Jason@zx2c4.com>,
Ard Biesheuvel <ardb@kernel.org>
Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org,
"Rusydi H. Makarim" <rusydi.makarim@kriptograf.id>
Subject: [PATCH v2 0/3] Implementation of Ascon-Hash256
Date: Wed, 31 Dec 2025 16:25:34 +0700 [thread overview]
Message-ID: <20251231-ascon_hash256-v2-0-ffc88a0bab4d@kriptograf.id> (raw)
This patch implements Ascon-Hash256. Ascon-Hash256 is a hash function as a part
of the Ascon-Based Lightweight Cryptography Standards for Constrained Devices,
published as NIST SP 800-232 (https://csrc.nist.gov/pubs/sp/800/232/final).
Signed-off-by: Rusydi H. Makarim <rusydi.makarim@kriptograf.id>
---
Changes in v2:
- lib/crypto: fix compilation error of hash_info.c
- lib/crypto: fix build warning of tests/ascon_hash_kunit.c
- Link to v1: https://lore.kernel.org/r/20251215-ascon_hash256-v1-0-24ae735e571e@kriptograf.id
---
Rusydi H. Makarim (3):
lib/crypto: Add KUnit test vectors for Ascon-Hash256
lib/crypto: Initial implementation of Ascon-Hash256
crypto: Crypto API implementation of Ascon-Hash256
crypto/Kconfig | 7 +
crypto/Makefile | 1 +
crypto/ascon_hash.c | 86 ++++++++++++
include/crypto/ascon_hash.h | 83 ++++++++++++
include/crypto/hash_info.h | 1 +
include/uapi/linux/hash_info.h | 1 +
lib/crypto/Kconfig | 8 ++
lib/crypto/Makefile | 5 +
lib/crypto/ascon_hash.c | 169 ++++++++++++++++++++++++
lib/crypto/hash_info.c | 2 +
lib/crypto/tests/Kconfig | 9 ++
lib/crypto/tests/Makefile | 1 +
lib/crypto/tests/ascon_hash-testvecs.h | 235 +++++++++++++++++++++++++++++++++
lib/crypto/tests/ascon_hash_kunit.c | 33 +++++
14 files changed, 641 insertions(+)
---
base-commit: 92de2d349e02c2dd96d8d1b7016cc78cf80fc085
change-id: 20251214-ascon_hash256-704130f41b29
Best regards,
--
Rusydi H. Makarim <rusydi.makarim@kriptograf.id>
next reply other threads:[~2025-12-31 9:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-12-31 9:25 Rusydi H. Makarim [this message]
2025-12-31 9:25 ` [PATCH v2 1/3] lib/crypto: Add KUnit test vectors for Ascon-Hash256 Rusydi H. Makarim
2025-12-31 9:25 ` [PATCH v2 2/3] lib/crypto: Initial implementation of Ascon-Hash256 Rusydi H. Makarim
2025-12-31 9:25 ` [PATCH v2 3/3] crypto: Crypto API " Rusydi H. Makarim
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20251231-ascon_hash256-v2-0-ffc88a0bab4d@kriptograf.id \
--to=rusydi.makarim@kriptograf.id \
--cc=Jason@zx2c4.com \
--cc=ardb@kernel.org \
--cc=davem@davemloft.net \
--cc=ebiggers@kernel.org \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®