[FFmpeg-devel] [PATCH] Add SHA-2

Kostya kostya.shishkov
Wed Jul 15 11:04:50 CEST 2009


On Tue, Jul 14, 2009 at 12:34:45PM +0200, Michael Niedermayer wrote:
> On Sun, Jul 12, 2009 at 08:23:29AM +0300, Kostya wrote:
> > On Sat, Jul 11, 2009 at 09:13:40PM +0200, Michael Niedermayer wrote:
[...] 
> > > > +#define Ch(x,y,z)   (((x) & (y)) ^ ((~(x)) & (z)))
> > > > +#define Maj(x,y,z)  (((x) & (y)) ^ ((x) & (z)) ^ ((y) & (z)))
> > > 
> > > you duplicate optimized code with optimizations removed
> > 
> > huh?
> 
> (w&(x^y))^y

Oh, fixed.
 
> [...]
> -- 
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sha2.patch
Type: text/x-diff
Size: 8130 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090715/9c12246f/attachment.patch>



More information about the ffmpeg-devel mailing list