Comments (3)
AES-256-GCM-SIV from RFC 8452 may be a good alternative.
from mirage-crypto.
I'm not sure what you're asking for. Is there a specification and test vectors for "XChaCha20-Poly1305" available? Could it be implemented on top of the existing API?
With your second comment, does this mean you're asking instead (or in addition) for AES-256-GCM-SIV support in this library? (Again, could it be implemented on top of the existing API?)
from mirage-crypto.
@hannesm, after a lot more reading, I have the impression that AES-256-GCM-SIV is the better option, compared to XChaCha20-Poly1305. I changed the title accordingly.
Yes, I am (weakly) requesting this library support it. I'm not familiar enough with all the AES modes to say that it definitely can't be implemented on top of the existing API. However, I am almost certain that it can't be implemented on top of AES-GCM. It uses a different function for the authentication tag. I understood also (I hope correctly) that AES-GCM-SIV has to compute the authentication tag before beginning encryption, while AES-GCM doesn't. If that's correct, I imagine AES-GCM-SIV and AES-GCM implementations are somewhat different, unless AES-GCM is implemented in a "weird" way to also (needlessly in its case) compute the authentication tag separately first.
from mirage-crypto.
Related Issues (20)
- Linking error while installing `mirage-crypto-pk` on macOS Big Sur HOT 2
- Compilation failure with GCC 11.x HOT 2
- Enable library for Linux on Z (s390x) HOT 5
- Improve support on Linux and X (s390x) HOT 1
- A way to get the global `g` state from the initialization of the RNG device. HOT 3
- test failures on arm32 HOT 1
- Question: Exposing the tag in AES-GCM HOT 3
- Config flags are not correct when used in cross-architecture-compilation with Dune 3 HOT 5
- Split sub libraries in `mirage-crypto-rng` into individual packages HOT 3
- RNG initialization inconsistencies HOT 1
- cleanup CI scripts HOT 1
- mirage-crypto-rng-eio questions HOT 6
- Mirage_crypto.Chacha20.authenticate_encrypt seg-faults on empty message HOT 3
- Failure to build in a unikernel with target hvt HOT 3
- Support for secp256k1 HOT 1
- Ed25519 / X25519 potential performance improvements (by looking at BoringSSL)
- [dkml] Virtual library for mirage-crypto-pk
- Make mirage-crypto-ec (test) independent of mirage-crypto-pk HOT 2
- [dkml] mirage-crypto-ec issues
- Roadmap for 1.0 release HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mirage-crypto.