0 branches
Tree
Top files
Clone with HTTPS:
bench
x.crypto.ascon: improve single-shot functions of ascon hashing variant; add benchmark (#25282)
last Sep 11
11.25 KB
README.md
x.crypto.ascon: improve single-shot functions of ascon hashing variant; add benchmark (#25282)
last Sep 11
1.01 KB
aead128.v
x.crypto.ascon: fix encryption when the remainder of dividing the message length by 16 is greater than or equal to 8 (#25385)
last Sep 25
14.38 KB
aead128_test.v
x.crypto.ascon: fix encryption when the remainder of dividing the message length by 16 is greater than or equal to 8 (#25385)
last Sep 25
6.94 KB
cxof_test.v
x.crypto: add a new `ascon` cryptographic module, based on https://doi.org/10.6028/NIST.SP.800-232 (Lightweight Cryptography Standards for Constrained Devices) (#25260)
last Sep 10
4.05 KB
hash.v
x.crypto.ascon: improve single-shot functions of ascon hashing variant; add benchmark (#25282)
last Sep 11
3.66 KB
ascon
ascon is an implementation of Ascon-Based Cryptography module implemented in pure V language.
This module was mostly based on NIST Special Publication of 800 NIST SP 800-232 document.
Its describes an Ascon-Based Lightweight Cryptography Standards for Constrained Devices
thats provides Authenticated Encryption, Hash, and Extendable Output Functions.
See the NIST.SP.800-232 Standard for more detail.
This module mostly implements all the features availables on the document. It currently implements:
Ascon-Hash256, Ascon-based hashing implementation that produces 256-bits output.Ascon-XOF128, Ascon-based eXtendable Output Function (XOF) where the output size of the hash of the message can be selected by the user.Ascon-CXOF128, a customized XOF that allows users to specify a customization string and choose the output size of the message hash.Ascon-AEAD128, an Authenticated Encryption with Additional Data (AEAD) Scheme based on Ascon-family crypto.