-
Notifications
You must be signed in to change notification settings - Fork 7
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
Discussion: Use in symmetric encryption (section in draft) #23
Comments
We could also (optionally) accept AAD bytes which could be passed through to the AES encrypt/decrypt functions. |
You're redesigning HPKE. |
I want to avoid the Furthermore, since the KEM (X-Wing) is already a fixed part of the triple, and Like you made a choice of moving to I would argue that I am not redesigning HPKE but supporting a more ECIES like scheme. |
Do you think there is anything we would lose from security considerations?
|
Even if you would not like to include it in your draft, I would like to have your informed, cryptographic, opinion on whether a simple, stateless scheme such as what I described is Ok or not? From a practical perspective, could we have a stateless scheme that is reasonably secure?
From RFC 9180. |
This is what ChatGPT says:
How hard would it be to find a nonce if the algorithm was stateless and the nonce was random? The |
What I'm looking for is a stateless and reasonably secure scheme. |
https://datatracker.ietf.org/doc/draft-irtf-cfrg-aead-limits/ |
Differences Between ECIES and HPKE
Can X-Wing KEM be used in an ECIES like scheme?The scheme that I am proposing proceeds thus (stateless for every message):
Do you see any potential pitfalls?
Even if Omitting the KDFIn the above, I also think step 3 can be omitted (?) as This is another difference from HPKE, as HPKE would again apply a KDF to Advantages over HPKE
|
Encap results in a 1120 byte
ct
and a 32 bytess
Why not use
ss
as a key for AES 256?The following example Python code demonstrates the above:
This closely resembles ECIES:
https://github.com/ecies/py/blob/master/DETAILS.md
The text was updated successfully, but these errors were encountered: