Re: MACs need to pay attention to small-packet performance
From: Thomas Pornin (pornin_at_nerim.net)
Date: 09/27/04
- Next message: Lassi Hippeläinen: "Re: MACs need to pay attention to small-packet performance"
- Previous message: Lassi Hippeläinen: "Re: MACs need to pay attention to small-packet performance"
- In reply to: D. J. Bernstein: "Re: MACs need to pay attention to small-packet performance"
- Next in thread: Lassi Hippeläinen: "Re: MACs need to pay attention to small-packet performance"
- Reply: Lassi Hippeläinen: "Re: MACs need to pay attention to small-packet performance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Mon, 27 Sep 2004 07:39:17 +0000 (UTC)
According to D. J. Bernstein <djb@cr.yp.to>:
> So you're trying to limit the damage when you lose your laptop? And
> you're reading 1 gigabit per second continuously from your laptop disk?
Actually, my own laptop has a so-called "multi-tasking" operating
system, which means that it has the ability to run other tasks while
performing disk operations. This means that the amount of cpu dedicated
to encryption should not be more, ideally, than about 10% of the total
cpu power. Otherwise, encryption will slow down things, and users will
begin to actively resist the installation of the security system, which
is not a good situation.
Thus, with a 2.5 GHz cpu and an AES implementation which can encrypt a
block in 250 cycles, 10% of the cpu can handle up to 16 megabytes of
data per second. A modern harddisk can work at twice that speed.
Granted, the "10%" figure is arbitrary, but the base idea remains:
symmectric encryption algorithms (and MACs) should be very fast because
even if we have a big fat cpu, we do not want to use the whole of it for
the cryptographic algorithms. The same applies to network connections:
when I am downloading a video stream, my cpu is working on decompression
and rendering, and I don't want to lose frames due to network layer
encryption.
In that view, DoS are not even considered: we do need very fast
encryption and MAC algorithms for legitimate use. Current algorithms are
"quite good" but for some situations we still need better ones. Harddisk
encryption is such a situation.
A variation upon this is the situation with handheld devices. Those are
power-starved since they run on batteries. They need algorithms which
can be computed with very little gate switches. That's what made A5/1
so popular for GSM phones: it can be implemented in hardware with a few
hundred gates, and it operates with only a few scattered electrons.
--Thomas Pornin
- Next message: Lassi Hippeläinen: "Re: MACs need to pay attention to small-packet performance"
- Previous message: Lassi Hippeläinen: "Re: MACs need to pay attention to small-packet performance"
- In reply to: D. J. Bernstein: "Re: MACs need to pay attention to small-packet performance"
- Next in thread: Lassi Hippeläinen: "Re: MACs need to pay attention to small-packet performance"
- Reply: Lassi Hippeläinen: "Re: MACs need to pay attention to small-packet performance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|