diff options
author | Richard Henderson | 2020-08-28 19:05:20 +0200 |
---|---|---|
committer | Daniel P. Berrangé | 2020-09-10 12:02:23 +0200 |
commit | ef186f4bc24ea7159a57776e8add1e9478b9702e (patch) | |
tree | b11c2c56c5d7d789962fa05bb081d208f30410cb /hw/openrisc/cputimer.c | |
parent | crypto/builtin: Move AES_cbc_encrypt into cipher-builtin.inc.c (diff) | |
download | qemu-ef186f4bc24ea7159a57776e8add1e9478b9702e.tar.gz qemu-ef186f4bc24ea7159a57776e8add1e9478b9702e.tar.xz qemu-ef186f4bc24ea7159a57776e8add1e9478b9702e.zip |
crypto/builtin: Split and simplify AES_encrypt_cbc
Split into encrypt/decrypt functions, dropping the "enc" argument.
Now that the function is private to this file, we know that "len"
is a multiple of AES_BLOCK_SIZE. So drop the odd block size code.
Name the functions do_aes_*crypt_cbc to match the *_ecb functions.
Reorder and re-type the arguments to match as well.
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'hw/openrisc/cputimer.c')
0 files changed, 0 insertions, 0 deletions