Diego Biurrun
a6a750c7ef
tests: Move all test programs to a subdirectory
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.
9 years ago
Diego Biurrun
3b08d9d932
testprogs: K&R formatting cosmetics
9 years ago
Diego Biurrun
439929859a
testprogs: Clean up #includes
9 years ago
Diego Biurrun
52385410b7
des-test: Move a variable declaration to avoid an ifdef
9 years ago
James Almer
d9e8b47e31
des: add av_des_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
Mans Rullgard
980f81d961
Use av_gettime() in various places
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
13 years ago
David Goldwich
b3e144a7df
des: add possibility to calculate DES-CBC-MAC with small buffer
...
This patch adds the possibility to calculate the DES-CBC-MAC of a
source buffer (i.e. the last block of the buffer encrypted in CBC
mode) without having to allocate a destination buffer that is as
long as the complete source buffer, but instead only 8 bytes
for the MAC.
Signed-off-by: David Goldwich <david.goldwich@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
13 years ago
Mans Rullgard
bd39c07688
des: fix #if conditional around P_shuffle
...
CONFIG_SMALL is always defined as 0 or 1.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Mans Rullgard
9e52a40695
des: allow unaligned input and output buffers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
91c9aa0941
Move some conditionally used code below the appropriate #ifdef.
14 years ago
Mans Rullgard
66fe5970ab
des: reduce number of iterations in test program
...
Testing a million random keys takes annoying long time.
1000 iterations should be enough.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Mans Rullgard
2912e87a6c
Replace FFmpeg with Libav in licence headers
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Måns Rullgård
8fc0162ac4
Add av_ prefix to bswap macros
...
Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
e6b22522c9
bswap: change ME to NE in macro names
...
Other parts of FFmpeg use NE (native endian) rather than ME (machine).
This makes it consistent.
Originally committed as revision 24169 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Måns Rullgård
c67278098d
Move array specifiers outside DECLARE_ALIGNED() invocations
...
Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk
15 years ago
Diego Biurrun
504ffed19f
Mark non-exported functions in test and example programs as static.
...
Originally committed as revision 18259 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
3fb1084306
Remove/replace code disabled by major version bump.
...
Originally committed as revision 17875 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
25a03ba358
100l, don't run tests twice, this was some forgotten debugging code.
...
Originally committed as revision 16975 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
551a0c796e
Fix a bug in 3DEC CBC decryption and add more extensive tests based on
...
the official test vectors.
Originally committed as revision 16974 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
61eb8cc420
Update DES test code to use the new public API.
...
Originally committed as revision 16972 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
bc17cc01ed
Add support for 3DES to DES module
...
Originally committed as revision 16971 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Reimar Döffinger
1a534c7f1e
Add and use a public API for RC4 and DES, analogous to the AES API.
...
Originally committed as revision 16970 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
7a845019c1
Avoid unused variable warning when compiling DES test program.
...
Originally committed as revision 16715 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Aurelien Jacobs
b250f9c66d
Change semantic of CONFIG_*, HAVE_* and ARCH_*.
...
They are now always defined to either 0 or 1.
Originally committed as revision 16590 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
93826f561d
Fix des-test compilation.
...
Originally committed as revision 12889 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
85074d3c93
Reapply r12489: Add pure, const and malloc attributes to proper functions
...
in libavutil.
Fix a compilation failure in r12489.
Originally committed as revision 12498 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Benoit Fouet
2119bb8f51
revert r12489.
...
Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Zuxy Meng
6544f48f03
Pure, const and malloc attributes to libavutil.
...
Patch by Zuxy Meng: zuxy meng gmail com
Original thread:
[FFmpeg-devel] [PATCH] Pure, const and malloc attributes to libavutil
Date: 03/18/2008 6:09 AM
Originally committed as revision 12489 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
2e9ad69aaf
Add support for DES en- and decryption.
...
Originally committed as revision 10810 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago