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.
9 years ago
James Almer
7a7df34c91
blowfish: add av_blowfish_alloc()
...
Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
9 years ago
Diego Biurrun
a0b901a348
Drop pointless directory name prefixes from #includes in the current dir
11 years ago
Anton Khirnov
cb45553f57
Remove pointless #undefs of previously forbidden functions.
12 years ago
Martin Storsjö
75366a504d
blowfish: Add more tests
...
Test inplace ECB, normal CBC and inplace CBC encryption/decryption.
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
87f023f2c0
blowfish: Fix CBC decryption with dst==src
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Martin Storsjö
0cc9a64b92
blowfish: Factorize testing into a separate function
...
Signed-off-by: Martin Storsjö <martin@martin.st>
12 years ago
Samuel Pitoiset
e4a7fb3da3
blowfish: 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
669bbedfa8
blowfish: invert branch and loop precedence
...
Should slightly improve performance depending on the compiler used.
13 years ago
Samuel Pitoiset
bc3dbcc8e5
Add Blowfish encryption support in libavutil
...
Signed-off-by: Martin Storsjö <martin@martin.st>
13 years ago