[FFmpeg-devel] [PATCH 2/2] tools/crypto_bench: add support for des

Nicolas George george at nsup.org
Fri Aug 26 10:37:44 EEST 2016


Le nonidi 9 fructidor, an CCXXIV, James Almer a écrit :
> Signed-off-by: James Almer <jamrial at gmail.com>
> ---

LGTM.

> Our DES implementation is awfully slow, for that matter. Almost two times
> slower than OpenSSL's and GCrypt's.
> 
> lavu       DES          size: 1048576  runs:   1024  time:   73.947 +- 1.139
> crypto     DES          size: 1048576  runs:   1024  time:   42.895 +- 0.745
> gcrypt     DES          size: 1048576  runs:   1024  time:   39.753 +- 0.699

Indeed. Not sure if optimizing it would be worth the effort, tough,
considering how little it is used; but that is up to whoever wants to do it.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20160826/47ec0aaf/attachment.sig>


More information about the ffmpeg-devel mailing list