diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2020-08-28 10:05:20 -0700 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2020-09-10 11:02:23 +0100 |
commit | ef186f4bc24ea7159a57776e8add1e9478b9702e (patch) | |
tree | b11c2c56c5d7d789962fa05bb081d208f30410cb /hw/hyperv/hyperv.c | |
parent | a2d76b6b2e324972641749f9fffd9eab27c89509 (diff) | |
download | qemu-ef186f4bc24ea7159a57776e8add1e9478b9702e.zip qemu-ef186f4bc24ea7159a57776e8add1e9478b9702e.tar.gz qemu-ef186f4bc24ea7159a57776e8add1e9478b9702e.tar.bz2 |
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/hyperv/hyperv.c')
0 files changed, 0 insertions, 0 deletions