[FFmpeg-devel] [PATCH] tools: add benchmark for crypto functions.
Nicolas George
nicolas.george at normalesup.org
Wed Aug 7 19:27:58 CEST 2013
Le nonidi 9 thermidor, an CCXXI, Nicolas George a écrit :
> The benchmark tests the speed of the following algorithms:
> MD5, SHA-1, SHA-224, SHA-256, AES-128.
>
> It can optionally be built to perform the same benchmark on
> other crypto libraries, for comparison purposes.
> The supported libraries are:
> - crypto: OpenSSL's libcrypto;
> - gcrypt: GnuTLS's libgcrypt;
> - tomcrypt: LibTomCrypt
> To enable them, use this syntax:
> make VERSUS=crypto+gcrypt+tomcrypt tools/crypto_bench
> They do not need to have been enabled in configure.
>
> Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
> ---
> .gitignore | 1 +
> libavutil/Makefile | 5 +-
> tools/crypto_bench.c | 358 ++++++++++++++++++++++++++++++++++++++++++++++++++
> 3 files changed, 363 insertions(+), 1 deletion(-)
> create mode 100644 tools/crypto_bench.c
I believe it can be pushed. If nobody objects, I will include in a future
batch.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130807/94f494a0/attachment.asc>
More information about the ffmpeg-devel
mailing list