34 Commits (8db203a9dd73072da3e8e131209362317c70ade0)

Author SHA1 Message Date
Diego Biurrun d12b5b2f13 build: Split test programs off into separate files 9 years ago
Ganesh Ajjanagadde 07d4fe3a87 avutil: use EINVAL instead of -1 for the return code of crypto related init functions 9 years ago
Vittorio Giovara 2f9b652e8c lavu: Drop deprecated context size variables 9 years ago
Michael Niedermayer e0be5c4fbe avutil/sha: Protect macro arguments with () 10 years ago
James Almer 7e4fe5162a lavu/sha: Fully unroll the transform function loops 11 years ago
Michael Niedermayer 90b40b45d4 avutil/sha:make const tables static const 11 years ago
Michael Niedermayer 636c2dd438 avutil/sha: reorder Maj arguments 12 years ago
Diego Biurrun 1fda184a85 avutil: Add av_cold attributes to init functions missing them 12 years ago
Anton Khirnov cb45553f57 Remove pointless #undefs of previously forbidden functions. 12 years ago
Michael Niedermayer ac090fa68c lavu: keep context size variables 12 years ago
Martin Storsjö 9a92aea27b avutil: Add functions for allocating opaque contexts for algorithms 12 years ago
Michael Niedermayer 4e4ae2f82c sha: change loop condition to be tighter. 12 years ago
Diego Biurrun 6df5c528ca Move some conditionally used variables into the block where they are used. 13 years ago
Kostya Shishkov 3e2aa268f6 sha: use AV_RB32() instead of assuming buffer can be cast to uint32_t* 14 years ago
Anton Khirnov 488d2b6349 lavu: remove disabled sha1 cruft. 14 years ago
Mans Rullgard 2912e87a6c Replace FFmpeg with Libav in licence headers 14 years ago
Måns Rullgård 8fc0162ac4 Add av_ prefix to bswap macros 15 years ago
Måns Rullgård e6b22522c9 bswap: change ME to NE in macro names 15 years ago
Måns Rullgård 32f40ace25 sha: add missing include 15 years ago
Måns Rullgård 2ed6f39944 Replace many includes of libavutil/common.h with what is actually needed 15 years ago
Carl Eugen Hoyos 0fcbcad140 Include sha1.h from sha.c: It contains several prototypes. 15 years ago
Kostya Shishkov a768816c33 Simplify expression as suggested by Måns Rullgård 15 years ago
Kostya Shishkov 045b60bf9b Make SHA digest function write digest value with AV_WN32 instead of assuming 15 years ago
Diego Biurrun 8b4e7c28fb Mark conditionally used variable T2 as av_unused; avoids the warning: 16 years ago
Kostya Shishkov 87d718aefc cosmetics: reindent after last commit 16 years ago
Kostya Shishkov aa5a99ae0c Add SHA-2 hashing 16 years ago
Kostya Shishkov 451ae25724 Prepare SHA code to handle SHA-2 as well. For now rename files and functions 16 years ago
Kostya Shishkov 0d73abb86a Rename function to sha1_transform so it won't be confused with SHA-2 transform 16 years ago
Kostya Shishkov 2c6361e009 Use pointer to hash transform function to make adding SHA-2 support easier. 16 years ago
Kostya Shishkov 3a7c65077d cosmetics: vertical align AVSHA1 members 16 years ago
Kostya Shishkov 01cc628845 Extend AVSHA1 so it can be used in future SHA-2 code as well 16 years ago
Kostya Shishkov 4364fc9a0d Document SHA-1 functions and structures 16 years ago
Diego Biurrun 0ef37cd52e cosmetics: Reformat file to K&R style upon Kostya's request. 16 years ago
Diego Biurrun 89c9ff504b spelling/grammar/consistency review part I 16 years ago
Diego Biurrun 811bfa76ce Remove misleading comment about how to build SHA1 test program. 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Michael Niedermayer f522310b6d Missing const found by -Wwrite-strings. 17 years ago
Luca Barbato 0bc308de56 kill a warning, av_sha1_update accepts uint8_t * not uint64_t * 17 years ago
Luca Barbato 537c8e7a48 Provide sha1 to outside applications 17 years ago
Diego Biurrun f8a80fd69d main() --> main(void) 17 years ago
Diego Biurrun 3d44f15cfc Add proper license header. 18 years ago
Attila Kinali 69ae947874 add missing include of bswap.h 18 years ago
Michael Niedermayer 248b25f878 s/context/ctx/ 18 years ago
Michael Niedermayer 36c7fa7ea5 smaller av_sha1_update() 18 years ago
Michael Niedermayer 104c30ee06 use CONFIG_SMALL 18 years ago
Michael Niedermayer 2001304500 put state[5] last so no padding is needed on arch where uint64_t needs 8byte alignment 18 years ago
Michael Niedermayer 5fd7f87b8d cosmetic 18 years ago
Michael Niedermayer 15b6cae245 dont memcpy() simpler and same speed 18 years ago
Michael Niedermayer 476f9b74ec simplify 18 years ago
Michael Niedermayer f6a3477bb5 remove middle variant (keep fastest and smallest) 18 years ago