Diego Biurrun
ded4a6543d
xtea-test: Use struct allocation functions from the API
9 years ago
Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
9 years ago
Diego Biurrun
f2422b5875
testprogs: Mark some tables as static const
9 years ago
Diego Biurrun
d12b5b2f13
build: Split test programs off into separate files
This avoids spurious library rebuilds when only the test program
code is changed and simplifies the build system.
10 years ago
Martin Storsjö
92d107a171
xtea: Add functions for little endian mode
Signed-off-by: Martin Storsjö <martin@martin.st>
10 years ago
James Almer
5d8bea3bb2
xtea: add av_xtea_alloc()
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
10 years ago
Timothy Gu
486e3649ce
xtea: Add Doxy @file and group
12 years ago
Diego Biurrun
a0b901a348
Drop pointless directory name prefixes from #includes in the current dir
12 years ago
Anton Khirnov
cb45553f57
Remove pointless #undefs of previously forbidden functions.
13 years ago
Michael Niedermayer
f0fce9f33e
xtea: Test inplace decryption
Based on test code by: Giorgio Vazzana <mywing81@gmail.com>
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Michael Niedermayer
b434500431
xtea: Fix CBC decryption when src==dst
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Martin Storsjö
ca074cc313
xtea: Factorize testing into a separate function
Based on a patch by Michael Niedermayer.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Samuel Pitoiset
983db9b2b4
xtea: Make the count parameter match the documentation
Previously it was interpreted as number of bytes, while the
documentation stated that it was the number of 8 byte blocks.
This makes it behave similarly to the existing AES code.
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago
Luca Barbato
f6687bf5f8
xtea: invert branch and loop precedence
Should slightly improve performance depending on the compiler used.
13 years ago
Samuel Pitoiset
8c14f7a593
Add XTEA encryption support in libavutil
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago