summaryrefslogtreecommitdiff
path: root/tools/crypto_bench.c
Commit message (Collapse)AuthorAgeFilesLines
* tools/crypto_bench: update the comment about build commandJun Zhao2019-05-091-1/+1
| | | | | | | commit cd62f9d557f missing the comment about build Reviewed-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* tools/crypto_bench: check malloc fail before using itJun Zhao2019-05-091-3/+5
| | | | | | | | Need to check malloc fail before using it, so adjust the location in the code. Reviewed-by: Nicolas George <nicolas.george@normalesup.org> Signed-off-by: Jun Zhao <barryjzhao@tencent.com>
* tools/crypto_bench: add missing RC4 implementation from tomcryptJames Almer2018-05-301-4/+11
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tools/crypto_bench: add missing RC4 implementation from gcryptJames Almer2018-05-301-8/+10
| | | | Signed-off-by: James Almer <jamrial@gmail.com>
* tools/crypto_bench: add support for mbedcryptoJames Almer2018-05-301-3/+121
| | | | | | Requires mbed TLS 2.7.0 or newer Signed-off-by: James Almer <jamrial@gmail.com>
* tools/crypto_bench: add support for desJames Almer2016-08-261-0/+37
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* tools/crypto_bench: simplify gcrypt functions using a macroJames Almer2016-08-261-49/+16
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* crypto_bench: add support for ripemd-128James Almer2015-08-131-0/+4
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* crypto_bench: add support for xteaJames Almer2015-08-131-0/+24
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* crypto_bench: add support for rc4James Almer2015-08-131-0/+24
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* crypto_bench: add support for blowfishJames Almer2015-08-131-0/+45
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* tools: added twofish supportSupraja Meedinti2015-02-211-0/+36
| | | | | | Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* tools/crypto_bench: add Camellia supportJames Almer2015-01-261-0/+47
| | | | | Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: James Almer <jamrial@gmail.com>
* tools/crypto_bench: add CAST5 supportJames Almer2014-10-211-0/+45
| | | | | Reviewed-by: Michael Niedermayer <michaelni@gmx.at> Signed-off-by: James Almer <jamrial@gmail.com>
* tools/crypto_bench: fix build when AV_READ_TIME is unavailableMichael Niedermayer2014-09-161-0/+4
| | | | | Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39'Michael Niedermayer2014-08-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * commit 'f929ab0569ff31ed5a59b0b0adb7ce09df3fca39': cosmetics: Write NULL pointer equality checks more compactly Conflicts: cmdutils.c ffmpeg_opt.c ffplay.c libavcodec/dvbsub.c libavcodec/dvdsubdec.c libavcodec/dvdsubenc.c libavcodec/dxa.c libavcodec/libxvid_rc.c libavcodec/mpegvideo.c libavcodec/mpegvideo_enc.c libavcodec/rv10.c libavcodec/tiffenc.c libavcodec/utils.c libavcodec/vc1dec.c libavcodec/zmbv.c libavdevice/v4l2.c libavformat/matroskadec.c libavformat/movenc.c libavformat/sdp.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
* tools/crypto_bench: fix 2 typos.Clément Bœsch2013-09-041-2/+2
|
* tools: add benchmark for crypto functions.Nicolas George2013-09-041-0/+358
The benchmark tests the speed of the following algorithms: MD5, SHA-1, SHA-256, SHA-512, RIPEMD-160, 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.