diff options
author | Cyrille Pitchen <cyrille.pitchen@atmel.com> | 2015-12-17 17:48:38 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-12-23 18:19:51 +0800 |
commit | cdfab4a7e3f16224e3a52dfe990a9bd870363690 (patch) | |
tree | dddf642de4022dbe241be30ecb5ed987a522b3cd /kernel/utsname_sysctl.c | |
parent | aab0a39b281e9a26ae991f0737f2fa6f710d0dab (diff) | |
download | linux-next-cdfab4a7e3f16224e3a52dfe990a9bd870363690.tar.gz |
crypto: atmel-aes - change atmel_aes_write_ctrl() signature
This patch changes the signature of atmel_aes_write_ctrl() to make it more
generic. This will be used by future patches when implementing new block
cipher modes such as GCM.
Especially atmel_aes_hw_init() is now called outside
atmel_aes_write_ctrl(): this allows to call atmel_aes_write_ctrl() many
times, still initializing the hardware only once.
Indeed, the support of GCM will require to update the Mode Register and
the IV when processing a single request.
Signed-off-by: Cyrille Pitchen <cyrille.pitchen@atmel.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'kernel/utsname_sysctl.c')
0 files changed, 0 insertions, 0 deletions