Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible to add AES-256-CCM? #1

Open
mgibbs189 opened this issue Jan 30, 2024 · 3 comments
Open

Possible to add AES-256-CCM? #1

mgibbs189 opened this issue Jan 30, 2024 · 3 comments

Comments

@mgibbs189
Copy link

@jedisct1 Thanks for your work on this project! Would adding AES-256-CCM support be a possibility?

@jedisct1
Copy link
Owner

Hi!

Unfortunately AES-CCM is slow in software, has low usage limits, and is not used much (besides a few things such as the Zigbee protocol, but even then, it's a variant).

For these reasons, it's unlikely to be implemented in the Zig standard library. I'm not aware of a standalone Zig implementation either.

So... I don't know :) If someone writes an implementation, I can add it to this package. But since I don't have any use case for AES-CCM, this is not something I had planned to implement in a near future either. If I ever get an opportunity to get paid to implement it, why not :) But otherwise, to be honest, probably not.

@jedisct1
Copy link
Owner

Just curious: what is your use case for AES-CCM?

@mgibbs189
Copy link
Author

@jedisct1 No worries, I understand :)

I'd much prefer AES-GCM too, but am stuck with AES-CCM for this specific hardware device.

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

No branches or pull requests

2 participants