Skip to content

Add grain-128aeadv2#748

Open
acmo0 wants to merge 1 commit intoRustCrypto:masterfrom
acmo0:master
Open

Add grain-128aeadv2#748
acmo0 wants to merge 1 commit intoRustCrypto:masterfrom
acmo0:master

Conversation

@acmo0
Copy link

@acmo0 acmo0 commented Dec 13, 2025

Hello,
I implemented Grain-128AEADv2 (one of the NIST lightweight cryptography finalist).

It works without the standard library and even without alloc by disabling the vec default feature.

I tried to optimize it as much as I can, even though I think one may optimize it even more. I did some benchmarks, and it is faster than Deoxys-II but slower than Deoxys-I.

Also, this is my first PR so please let me know if I did something wrong (especially about the update of the Cargo.lock that i did).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant