netdev
[Top] [All Lists]

Re: [PATCH] sha2-256 truncation

To: Michal Ludvig <michal@xxxxxxxx>
Subject: Re: [PATCH] sha2-256 truncation
From: "David S. Miller" <davem@xxxxxxxxxx>
Date: Fri, 9 Jan 2004 20:51:19 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <3FFE7E98.6060201@logix.cz>
References: <3FFE6B72.9030808@logix.cz> <3FFE7E98.6060201@logix.cz>
Sender: netdev-bounce@xxxxxxxxxxx
On Fri, 09 Jan 2004 11:12:40 +0100
Michal Ludvig <michal@xxxxxxxx> wrote:

> Michal Ludvig told me that:
> 
> > the attached trivial patch corrects the truncation size of computed 
> > hashes that are used in IPsec ESP/AH packets for SHA2-256. All other 
> > hash algorithms use 96 bits as well as does SuperFreeS/WAN and FreeBSD 
> > also for SHA2-256. Only the native Linux sha2-256 used 128 bits what led 
> >  to incompatibility with other IPsec implementations.
> 
> Oops, sorry. I sent a reversed patch originally. Please use this one 
> instead.

Patch applied, thanks Michal.

<Prev in Thread] Current Thread [Next in Thread>