diff options
author | Sebastian Siewior <sebastian@breakpoint.cc> | 2007-11-08 14:20:30 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-10 22:16:09 +0100 |
commit | 96e82e4551d38e0863b366a7b61185bc4a9946cc (patch) | |
tree | 514e38d847cb09c55230ceb3088329ed4175c55c /lib/random32.c | |
parent | [CRYPTO] aes-generic: Coding style cleanup (diff) | |
download | linux-96e82e4551d38e0863b366a7b61185bc4a9946cc.tar.xz linux-96e82e4551d38e0863b366a7b61185bc4a9946cc.zip |
[CRYPTO] aes-generic: Make key generation exportable
This patch exports four tables and the set_key() routine. This ressources
can be shared by other AES implementations (aes-x86_64 for instance).
The decryption key has been turned around (deckey[0] is the first piece
of the key instead of deckey[keylen+20]). The encrypt/decrypt functions
are looking now identical (except they are using different tables and
key).
Signed-off-by: Sebastian Siewior <sebastian@breakpoint.cc>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/random32.c')
0 files changed, 0 insertions, 0 deletions