镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Add grain-128aeadv2 - #748

Open
acmo0 wants to merge 1 commit into
RustCrypto:masterfrom
acmo0:master
Open

acmo0 wants to merge 1 commit into
RustCrypto:masterfrom
acmo0:master

Conversation

@acmo0

@acmo0 acmo0 commented Dec 13, 2025

Copy link
Copy Markdown

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).

This branch has not been deployed

No deployments
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