summaryrefslogtreecommitdiff
path: root/libavutil/camellia.c
Commit message (Collapse)AuthorAgeFilesLines
* libavutil: camellia: remove unwanted memory loadsSupraja Meedinti2015-02-101-4/+2
| | | | | | lavu CAMELLIA size: 1048576 runs: 1024 time: 21.549 +- 0.17 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/camellia: Remove redundant castsMichael Niedermayer2015-02-091-4/+4
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/camellia: Fix indention & whitespaceMichael Niedermayer2015-02-091-13/+13
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil: optimize camellia cipherSupraja Meedinti2015-02-091-10/+27
| | | | | | | | | | | | Before the changes : lavu CAMELLIA size: 1048576 runs: 1024 time: 32.541 +- 0.044 After the changes: lavu CAMELLIA size: 1048576 runs: 1024 time: 24.589 +- 0.066 Tested with crypto_bench on a Linux x86_64 OS with Intel Core i5-3210M CPU. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/camellia: cosmetic fixesGiorgio Vazzana2015-01-021-83/+80
| | | | | Signed-off-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/camellia: use K[2] instead of *K in generate_round_keys()Giorgio Vazzana2015-01-021-2/+2
| | | | | | | Additionally, change parameters order. Signed-off-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avutil/camellia: make LR128() more robustGiorgio Vazzana2015-01-021-2/+2
| | | | | Signed-off-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* libavutil: Added Camellia symmetric block cipherSupraja Meedinti2015-01-021-0/+458
Signed-off-by: Supraja Meedinti <supraja0493@gmail.com> Previous version of this patch reviewed-by: Giorgio Vazzana <mywing81@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>