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.
|
17 years ago |
Diego Biurrun
|
2eb697a455
Move comment to a slightly better place.
|
17 years ago |
Michael Niedermayer
|
79d4c96a1a
correct last element inited check
|
17 years ago |
Baptiste Coudurier
|
57d7b036ea
make key parameter const
|
17 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 |
Michael Niedermayer
|
0458e79074
merge sbox with mix on the encryption side
|
18 years ago |
Michael Niedermayer
|
2592438dd8
1 test vector
|
18 years ago |
Michael Niedermayer
|
95d1236bf5
fix CONFIG_SMALL case
|
18 years ago |
Michael Niedermayer
|
388b5e69ec
simplify special round
|
18 years ago |
Michael Niedermayer
|
cf5773e95f
benchmark
|
18 years ago |
Michael Niedermayer
|
ff8f659429
init multbl
|
18 years ago |
Michael Niedermayer
|
b58ecac647
ascii
|
18 years ago |
Michael Niedermayer
|
b1e5c29485
cosmetic
|
18 years ago |