Re: What does the MAC in IES or ECIES achieve ?
- From: fabrice.gautier@xxxxxxxxx
- Date: 30 Oct 2006 16:16:47 -0800
fabrice.gautier@xxxxxxxxx wrote:
Kristian Gjøsteen wrote:
<fabrice.gautier@xxxxxxxxx> wrote:
What does the addition of a MAC achieve for IES/ECIES ?
Security?
If you look at what non-malleability really means, and then look at the
proof that NM-CCA is equivalent to IND-CCA, you will understand what
the MAC is for.
Hum... I'm not sure how it relates...
From wikipedia:"A malleable encryption algorithm allows transformations on the
ciphertext to produce meaningful changes in the plaintext."
Okay, so obviously, with the MAC in IES, I can detect if the ciphertext
has been tampered with.
But since IES doesnt provide authentication anyway (the sender doesnt
even need a Public Key), what good does that do?
Oh, wait, I think I get it now:
"Authenticated encryption schemes can recognize improperly-constructed
ciphertexts and refuse to decrypt them. This in turn prevents the
attacker from requesting the decryption of any ciphertext unless he
generated it correctly using the encryption algorithm, which would
imply that he already knows the plaintext. Implemented correctly, this
removes the usefulness of the decryption oracle, by preventing an
attacker from gaining useful information that he does not already
possess."
(From wikipedia again)
This explain why the MAC is done on the ciphertext too, and not the
plaintext. And I think this might even help prevent timing attacks or
power analysis attacks against a decryption oracle that would not give
you the plaintext but would only verify authenticity and integrity
after the decryption...
Is that right? Am i forgetting anything else?
Thanks.
.
- Follow-Ups:
- Re: What does the MAC in IES or ECIES achieve ?
- From: fabrice . gautier
- Re: What does the MAC in IES or ECIES achieve ?
- References:
- What does the MAC in IES or ECIES achieve ?
- From: fabrice . gautier
- Re: What does the MAC in IES or ECIES achieve ?
- From: Kristian Gjøsteen
- Re: What does the MAC in IES or ECIES achieve ?
- From: fabrice . gautier
- What does the MAC in IES or ECIES achieve ?
- Prev by Date: Re: What does the MAC in IES or ECIES achieve ?
- Next by Date: Newbie question about AES encryption
- Previous by thread: Re: What does the MAC in IES or ECIES achieve ?
- Next by thread: Re: What does the MAC in IES or ECIES achieve ?
- Index(es):
Relevant Pages
|
|