Skip to content

Commit

Permalink
[CRYPTO] aes-generic: Make key generation exportable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Sebastian Siewior authored and Herbert Xu committed Jan 10, 2008
1 parent be5fb27 commit 96e82e4
Show file tree
Hide file tree
Showing 2 changed files with 136 additions and 129 deletions.
Loading

0 comments on commit 96e82e4

Please sign in to comment.