Re: Simple steps to improve CIPE security

"Eric M. Hopper" <[email protected]>
Newsgroups gmane.comp.encryption.cipe
Organization Omnifarious Software
Message-ID <[email protected]>
On Tue, 2003-09-30 at 07:27, Allan Latham wrote:
> Hi all
> 
> In my opinion the following can be implemented with little change to CIPE.
> 
> The changes involved should be clearly auditable and should carry little risk 
> of introducing bugs.
> 
> 1. Choice of checksum (via options). There is an open source version of MD5 
> which is old enough to be accepted. Some may complain about MD5, or about not 
> having a signed checksum. In the light of the possible attack we are trying 
> to defend against MD5 is prefectly adequate, requires low computational 
> effort and no extra key material.

Not using a keyed hash is a departure from protocol design orthodoxy
that bothers me.  I agree that it seems like it would protect against
message modification attacks much better than CRC does.  I would prefer
the use of the hash127 thing that someone mentioned.  It looks faster
than MD5 even, and it's keyed.  It uses floating point arithmetic
though, so it would be much slower on 386s.

http://cr.yp.to/hash127.html

Your other suggestions sound good, though I think 4 is slight overkill,
and that if you do it, using some sort of static padding value instead
of random numbers is probably fine.

Have fun (if at all possible),
--
There's an excellent C/C++/Python/Unix/Linux programmer with a wide
range of other experience and system admin skills who needs work.
Namely, me. http://www.omnifarious.org/~hopper/resume.html
-- Eric Hopper <[email protected]>
signature.asc (application/pgp-signature, 185 B)
-----BEGIN PGP MESSAGE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQA/eX6CjtsvlOwvazYRApT5AJ9OTO/OEgCXu1PsoHLZjwa62pi6FACcDER9
KCvBW6eOQ/Jc63kZQ12V+9s=
=gAMw
-----END PGP MESSAGE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.