James Almer
e3734aa6a3
tools/crypto_bench: add missing RC4 implementation from tomcrypt
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
5420c8f76e
tools/crypto_bench: add missing RC4 implementation from gcrypt
...
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
cd62f9d557
tools/crypto_bench: add support for mbedcrypto
...
Requires mbed TLS 2.7.0 or newer
Signed-off-by: James Almer <jamrial@gmail.com>
7 years ago
James Almer
cf16d62076
tools/crypto_bench: add support for des
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
ba3f32d071
tools/crypto_bench: simplify gcrypt functions using a macro
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
8 years ago
James Almer
1c10c1aa3c
crypto_bench: add support for ripemd-128
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
bd1fe53eab
crypto_bench: add support for xtea
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
a791e32b15
crypto_bench: add support for rc4
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
James Almer
1184795db6
crypto_bench: add support for blowfish
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
9 years ago
Supraja Meedinti
daebe6319e
tools: added twofish support
...
Signed-off-by: Supraja Meedinti <supraja0493@gmail.com>
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
James Almer
b8f3b0703c
tools/crypto_bench: add Camellia support
...
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
James Almer
e397edbfba
tools/crypto_bench: add CAST5 support
...
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
10 years ago
Michael Niedermayer
4a99134f1a
tools/crypto_bench: fix build when AV_READ_TIME is unavailable
...
Found-by: Andreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
10 years ago
Clément Bœsch
bc68927a0f
tools/crypto_bench: fix 2 typos.
11 years ago
Nicolas George
d5b58f678d
tools: add benchmark for crypto functions.
...
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.
11 years ago