07d4fe3a87 
								
							
								 
							
						 
						
							
							
								
								avutil: use EINVAL instead of -1 for the return code of crypto related init 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> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3d1690b8c6 
								
							
								 
							
						 
						
							
							
								
								avutil: undo FF_API_CRYPTO_CONTEXT deprecation  
							
							It's been argued that the benefits of the current implementation far outweight
those of making the structs opaque.
This deprecation is not present in any release, so it can be safely removed.
Reviewed-by: Ronald S. Bultje <rsbultje@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9e8b47e31 
								
							
								 
							
						 
						
							
							
								
								des: add av_des_alloc()  
							
							Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a0b901a348 
								
							
								 
							
						 
						
							
							
								
								Drop pointless directory name prefixes from #includes in the current dir  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb45553f57 
								
							
								 
							
						 
						
							
							
								
								Remove pointless #undefs of previously forbidden functions.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								270a325f0c 
								
							
								 
							
						 
						
							
							
								
								av_des_init: suppress warning about unused parameter  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								980f81d961 
								
							
								 
							
						 
						
							
							
								
								Use av_gettime() in various places  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								183c3fa48a 
								
							
								 
							
						 
						
							
							
								
								des: Fix half a dozen warnings  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d086c1203c 
								
							
								 
							
						 
						
							
							
								
								Add coverage exclusions for test code.  
							
							For some of the code e.g. doing timing measurements there is no
real point in running regression testing on it, thus it should
not be counted against coverage.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								9e52a40695 
								
							
								 
							
						 
						
							
							
								
								des: allow unaligned input and output buffers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								91c9aa0941 
								
							
								 
							
						 
						
							
							
								
								Move some conditionally used code below the appropriate #ifdef.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								adbfc605f6 
								
							
								 
							
						 
						
							
							
								
								doxygen: Consistently use '@' instead of '\' for Doxygen markup.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8fc0162ac4 
								
							
								 
							
						 
						
							
							
								
								Add av_ prefix to bswap macros  
							
							Originally committed as revision 24170 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						15 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								c67278098d 
								
							
								 
							
						 
						
							
							
								
								Move array specifiers outside DECLARE_ALIGNED() invocations  
							
							Originally committed as revision 21377 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								3fb1084306 
								
							
								 
							
						 
						
							
							
								
								Remove/replace code disabled by major version bump.  
							
							Originally committed as revision 17875 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								bc17cc01ed 
								
							
								 
							
						 
						
							
							
								
								Add support for 3DES to DES module  
							
							Originally committed as revision 16971 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						16 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								7a845019c1 
								
							
								 
							
						 
						
							
							
								
								Avoid unused variable warning when compiling DES test program.  
							
							Originally committed as revision 16715 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93826f561d 
								
							
								 
							
						 
						
							
							
								
								Fix des-test compilation.  
							
							Originally committed as revision 12889 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2119bb8f51 
								
							
								 
							
						 
						
							
							
								
								revert r12489.  
							
							Originally committed as revision 12490 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						17 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								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  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e9ad69aaf 
								
							
								 
							
						 
						
							
							
								
								Add support for DES en- and decryption.  
							
							Originally committed as revision 10810 to svn://svn.ffmpeg.org/ffmpeg/trunk 
							
						 
						18 years ago