summaryrefslogtreecommitdiff
path: root/libavutil/twofish.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'd12b5b2f135aade4099f4b26b0fe678656158c13'Derek Buitenhuis2016-05-111-74/+0
| | | | | | | | * commit 'd12b5b2f135aade4099f4b26b0fe678656158c13': build: Split test programs off into separate files Some conversions done by: James Almer <jamrial@gmail.com> Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
* avutil: use EINVAL instead of -1 for the return code of crypto related init ↵Ganesh Ajjanagadde2015-10-181-1/+1
| | | | | | | | | | | functions These functions return an error typically when the key size is an incorrect number. AVERROR(EINVAL) is more specific than -1. Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com> Reviewed-by: Michael Niedermayer <michael@niedermayer.cc> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
* libavutil: optimize twofish cipherSupraja Meedinti2015-02-181-11/+41
| | | | | | | | | | | | before: lavu TWOFISH size: 1048576 runs: 1024 time: 90.052 +- 4.630 after: lavu TWOFISH size: 1048576 runs: 1024 time: 18.085 +- 0.241 gcrypt TWOFISH size: 1048576 runs: 1024 time: 25.666 +- 0.307 tomcrypt TWOFISH size: 1048576 runs: 1024 time: 18.428 +- 0.363 Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil: Added twofish symmetric block cipherSupraja Meedinti2015-01-291-0/+375
Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Reviewed-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>