You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 2$\begingroup$ @ErikAronesty AES-GCM uses AES. My point is not that this specific paper demonstrates an attack on your specific application. Your specific application doesn't matter enough for anyone to publish a paper at a reputable cryptography conference demonstrating an attack. My point is that you have violated the security contract of AES (and anything built out of it like AES-GCM), and the paper shows an example of what goes wrong when you skimp on your contractual obligations. $\endgroup$Squeamish Ossifrage– Squeamish Ossifrage2018-07-17 22:03:38 +00:00Commented Jul 17, 2018 at 22:03
- 1$\begingroup$ @ErikAronesty The IV does not serve a similar purpose to the KDF. If you use a nonuniform key, you have voided the contract of AES. Don't play with it. $\endgroup$Squeamish Ossifrage– Squeamish Ossifrage2018-07-17 22:12:52 +00:00Commented Jul 17, 2018 at 22:12
- 5$\begingroup$ @ErikAronesty NOOOOOOOOOO! EFAIL! $\endgroup$Squeamish Ossifrage– Squeamish Ossifrage2018-07-17 22:14:19 +00:00Commented Jul 17, 2018 at 22:14
- 1$\begingroup$ @ErikAronesty If you violate the security contract of the primitive or invent a bespoke composition of it, you are asking for a shot in the foot. If you want public-key encryption, you should use an existing construction that is credibly advertised to guarantee IND-CCA2/NM-CCA2. Tweaking it to replace a MAC of the message by a hash of the key is asking for trouble. $\endgroup$Squeamish Ossifrage– Squeamish Ossifrage2018-07-17 22:17:32 +00:00Commented Jul 17, 2018 at 22:17
- 1$\begingroup$ I'm not sure what @ErikAronesty means by "SHA3 on the key", but shouldn't it be OK (or even better) to use AES-GMAC with the key derived by the KDF, instead of using separated encryption and MAC schemes as specified by ECIES? $\endgroup$Conrado– Conrado2018-07-18 11:53:45 +00:00Commented Jul 18, 2018 at 11:53
| Show 6 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
$\sin^2 \theta$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. public-key), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you