Michael Niedermayer
1b10524312
fix 2 warnings
...
Originally committed as revision 7498 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
034f5fbaf2
seems i didnt copy anything from aes128.c so this should be more correct ?
...
Originally committed as revision 7497 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
c2fd2b20e5
unneeded
...
Originally committed as revision 7496 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
a6e923c9db
unused think
...
Originally committed as revision 7495 to svn://svn.ffmpeg.org/ffmpeg/trunk
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
...
Originally committed as revision 7494 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
28b5123546
indent
...
Originally committed as revision 7493 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
954bd264c1
remove duplicate round_key
...
one context is now either for encoding or decoding (makes more sense in reality too)
Originally committed as revision 7492 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
54b78b2495
make decode look more like encode
...
Originally committed as revision 7491 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
cc85897055
dont use encode tables for decoding
...
Originally committed as revision 7490 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
73374bf4d0
remove no longer corret comment
...
Originally committed as revision 7489 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
179dc91160
unused stuff removial
...
Originally committed as revision 7488 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
f12cf3d215
merge inv_sbox into inv_mix
...
Originally committed as revision 7487 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
0458e79074
merge sbox with mix on the encryption side
...
add one more test vector
yes this needs a cleanup ...
Originally committed as revision 7485 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2592438dd8
1 test vector
...
Originally committed as revision 7483 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
95d1236bf5
fix CONFIG_SMALL case
...
Originally committed as revision 7482 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
388b5e69ec
simplify special round
...
Originally committed as revision 7481 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
cf5773e95f
benchmark
...
Originally committed as revision 7480 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ff8f659429
init multbl
...
code can now decrypt its own encryption correctly
can anyone provide me with a correct test AES key + cyphertext + plaintext?
Originally committed as revision 7479 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b58ecac647
ascii
...
Originally committed as revision 7478 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
28221dd0fb
128bit-only AES implementation under development.
...
Originally committed as revision 7474 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
b1e5c29485
cosmetic
...
Originally committed as revision 7472 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
ba554c025e
simplify round_key generation by writing over the end but ensuring that theres some irrelevant stuff afterwards
...
Originally committed as revision 7471 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
84c72fb129
cosmetics
...
Originally committed as revision 7470 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
7acc1a27bc
memcpy
...
Originally committed as revision 7469 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
1070eba2a2
seems the larger rcon values are never accessed
...
Originally committed as revision 7468 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
12d6a1c813
copyright fix
...
Originally committed as revision 7467 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
cd0968c4ca
stealing multbl trick from reimar
...
Originally committed as revision 7466 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
e8fc93136d
stealing reimars XOR_BLOCK
...
Originally committed as revision 7464 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
d43a297579
cosmetic
...
Originally committed as revision 7463 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
eade86e2f5
memleak
...
Originally committed as revision 7462 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
2c3427eb2a
simplify sbox init
...
Originally committed as revision 7461 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3306dfd544
aes support (unfinished)
...
Originally committed as revision 7460 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Axel Holzinger
411983c1f2
Allow to uninstall a custom log callback
...
patch by Axel Holzinger % aholzinger A gmx P de %
original thread:
date: Jan 11, 2007 4:54 PM
subject: [Ffmpeg-devel] [PATCH] uninstall custom log callback
Originally committed as revision 7446 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Christophe Mutricy
d0b456ba1e
Avoid "HAVE_CMOV not defined" warning.
...
patch by Christophe Mutricy, xtophe nxtelevision com
Originally committed as revision 7443 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
6880edab82
fix av_reduce() with things like 1/0 and 0/0
...
Originally committed as revision 7431 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Abeni
40628be0ed
__attribute__((unused)) works with gcc 2.95 too
...
Originally committed as revision 7421 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
849f10351d
rename always_inline to av_always_inline and move to common.h
...
Originally committed as revision 7256 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
1845bf1fdf
merge #ifdef HAVE_AV_CONFIG_H sections
...
Originally committed as revision 7254 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
a77caa4dc9
fix mingw shared build, and get rid of FF_IMPORT_ATTR
...
Originally committed as revision 7253 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
8da9266cea
use the standard INT64_C() macro for 64-bit constants
...
Originally committed as revision 7240 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
cd10789691
move more macros to internal.h
...
Originally committed as revision 7239 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
5403f8576b
move some __attribute__ macros to internal.h
...
Originally committed as revision 7238 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Måns Rullgård
c48e633b9e
remove 'restrict' definition, it is always #defined in config.h
...
Originally committed as revision 7237 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
cf1e119bb2
Move BE_*/LE_*/ST*/LD* macros to a common place. Some further
...
optimization/cleanup would be desirable (e.g. LE_* and LD*
should be the same on x86).
Originally committed as revision 7218 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
c6c367254f
spelling cosmetics: cliped --> clipped
...
Originally committed as revision 7208 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
fc0b041637
doxy
...
Originally committed as revision 7188 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
62b9fc1571
fix overflow and remove wrong comment
...
Originally committed as revision 7187 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
3db1b8b538
return optimal fraction
...
based on a patch by Uoti Urpala
Originally committed as revision 7186 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
40a08c7e9a
Correct GET/PUT_UTF8 comment: the get/put functions might be called up
...
to 7 times, though only up to 4 times for valid utf-8 values.
Originally committed as revision 7124 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Reimar Döffinger
a99cfb0d0e
Fix typo in comment
...
Originally committed as revision 7123 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago