Re: AES MAC security question
From: Rein Anders Apeland (apeland_at_mivu.no)
Date: 07/04/05
- Next message: Rein Anders Apeland: "Re: AES MAC security question"
- Previous message: cpptutor2000_at_yahoo.com: "Question about random numbers"
- In reply to: Andrew Swallow: "Re: AES MAC security question"
- Next in thread: Joseph Ashwood: "Re: AES MAC security question"
- Reply: Joseph Ashwood: "Re: AES MAC security question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 04 Jul 2005 19:12:52 +0200
On Mon, 2005-07-04 at 00:00 +0000, Andrew Swallow wrote:
<snip>
> >
> > IMHO I do not need identification outside the encrypted packet.
> > The receiver just decrypts all received packets with the key
> > that is shared between the one car and all its associated fobs, and
> > then checks the MAC of the decrypted packet. If the MAC is not valid,
> > ignore the packet. Then, of course, wait e.g. 1 second before accepting
> > new packets. Yes, this requires another key stored in the fob, and more
> > computing, but the packet size is the same and the ID, counter and cmd
> > is hidden. Doesn't this give at least _some_ advantage other than just
> > "it _looks_ more secure to the non-expert customer", given that I can
> > afford the key storage and additional computation in the fob? And
> > wouldn't that give at least _some_ security advantage over the
> > shared-secret-solution? In this case, an attacker cannot just try
> > guessing the MAC. Even getting the ID right would be a major problem,
> > right?
> >
> Hiding the ID has advantages but you now need a IV field to initialise
> the crypto, possibly the count, which will have to be sent in plain text.
Maybe I am missing something here, but why do I need an IV if
the packet is smaller than the AES block size? Can't I just
encrypt it with the shared key? The receiver just decrypts whatever
packet it gets, and _then_ it can have a look at IDs and counters.
>
> In a busy car park several people may be unlocking their cars at the
> same time, so 1 packet a second may be too slow.
>
> Andrew Swallow
-- Mvh / Regards Rein Anders Apeland MIVU Solutions
- Next message: Rein Anders Apeland: "Re: AES MAC security question"
- Previous message: cpptutor2000_at_yahoo.com: "Question about random numbers"
- In reply to: Andrew Swallow: "Re: AES MAC security question"
- Next in thread: Joseph Ashwood: "Re: AES MAC security question"
- Reply: Joseph Ashwood: "Re: AES MAC security question"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|