69 Commits (5603df39df36d9de713732da06fe183b188ec963)

Author SHA1 Message Date
Måns Rullgård c184bb44db aes: fix array index out of bounds warning 15 years ago
Reimar Döffinger 19c039ee3d Make mix function more readable. 15 years ago
Reimar Döffinger dd025f25da Change AES code to be strict-aliasing-safe. 15 years ago
Reimar Döffinger 2ad4a3bc78 Pass subshift an argument of the proper type. 15 years ago
Reimar Döffinger 17c78b087a Use a consistent type for multbl array function parameters. 15 years ago
Diego Biurrun 64bde1974b cosmetics: Rename prn variable to prng (Pseudo Random Number Generator). 16 years ago
Diego Biurrun 294eaa2643 Replace random() usage in test programs by av_lfg_*(). 16 years ago
Diego Biurrun b56e34c5e9 Make AES test program compile again: Setting the av_log_level variable 16 years ago
Reimar Döffinger 7b484a7a17 Add "const" to AES function arguments where possible without generating 16 years ago
Aurelien Jacobs b250f9c66d Change semantic of CONFIG_*, HAVE_* and ARCH_*. 16 years ago
Diego Biurrun 43bfaa8920 Fix test program compilation, random() needs to be undefined. 17 years ago
Diego Biurrun f8a80fd69d main() --> main(void) 17 years ago
Reimar Döffinger ef0d7a0d4f Document aes init code writing on purpose beyond round_key array into state array. 18 years ago
Diego Biurrun 2eb697a455 Move comment to a slightly better place. 18 years ago
Michael Niedermayer 79d4c96a1a correct last element inited check 18 years ago
Baptiste Coudurier 57d7b036ea make key parameter const 18 years ago
Michael Niedermayer ca2560dff6 10l (aes_crypt -> av_aes_crypt) 18 years ago
Michael Niedermayer 97f6d1545e fix CONFIG_SMALL again 18 years ago
Michael Niedermayer 5d1b539348 30byte smaller object file 18 years ago
Michael Niedermayer 97e3458c46 cbc support 18 years ago
Michael Niedermayer 2d3475ae6a avoid memcpy() 18 years ago
Michael Niedermayer 7465619af8 give crypt a src and dst 18 years ago
Michael Niedermayer b0642c7409 change subshift a little, this reduces the object size a litlle 18 years ago
Michael Niedermayer 298dd6b7c8 use 2 state arrays so that fewer temporary variables are needed 18 years ago
Michael Niedermayer cc6b4da83a remove useless parameter 18 years ago
Michael Niedermayer 14bc38498a unused variable 18 years ago
Michael Niedermayer 1aa72a703c merge shift into mix 18 years ago
Michael Niedermayer 1f83576b48 make aes_en/decrypt() static until we decided on the public API 18 years ago
Michael Niedermayer 0d80bd2f56 move #include log.h into the selftesting code where it belongs 18 years ago
Michael Niedermayer 6572e1a4d2 remove dependancy on *malloc() 18 years ago
Michael Niedermayer 347c27988d check the last? entry written for detecting already initalized tables 18 years ago
Michael Niedermayer 96b103086e replace / by >> this makes the .o ~150 bytes smaller 18 years ago
Michael Niedermayer e42244e9df cosmetic 18 years ago
Michael Niedermayer 597e3232ef simplify 18 years ago
Michael Niedermayer 7200f5d054 simplify multiply table init 18 years ago
Michael Niedermayer d65dc0cdc6 simplify selftest 18 years ago
Michael Niedermayer f25b650a5b revert simplification (broke 192 bit keys) 18 years ago
Michael Niedermayer 8d4ae47c3f simplify 18 years ago
Michael Niedermayer 1b10524312 fix 2 warnings 18 years ago
Michael Niedermayer 034f5fbaf2 seems i didnt copy anything from aes128.c so this should be more correct ? 18 years ago
Michael Niedermayer c2fd2b20e5 unneeded 18 years ago
Michael Niedermayer a6e923c9db unused think 18 years ago
Michael Niedermayer 0c5d2819a5 merge encrypt and decrypt so the source is simpler and the compiler can choose with inlining if it wants speed or small size 18 years ago
Michael Niedermayer 28b5123546 indent 18 years ago
Michael Niedermayer 954bd264c1 remove duplicate round_key 18 years ago
Michael Niedermayer 54b78b2495 make decode look more like encode 18 years ago
Michael Niedermayer cc85897055 dont use encode tables for decoding 18 years ago
Michael Niedermayer 73374bf4d0 remove no longer corret comment 18 years ago
Michael Niedermayer 179dc91160 unused stuff removial 18 years ago
Michael Niedermayer f12cf3d215 merge inv_sbox into inv_mix 18 years ago