diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2018-10-08 14:13:28 +0100 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2018-10-24 19:03:37 +0100 |
commit | 299ec87838babdf38be618cf2d81aef2500758bd (patch) | |
tree | d7d4f47e06e6bcfb51352e8bcc8e13d9d4c63c94 /crypto/secret.c | |
parent | a9e08155bd4ae096688a8ff19669023ab0fbc170 (diff) | |
download | qemu-299ec87838babdf38be618cf2d81aef2500758bd.zip qemu-299ec87838babdf38be618cf2d81aef2500758bd.tar.gz qemu-299ec87838babdf38be618cf2d81aef2500758bd.tar.bz2 |
crypto: remove code duplication in tweak encrypt/decrypt
The tweak encrypt/decrypt functions are identical except for the
comments, so can be merged. Profiling data shows that the compiler is
in fact already merging the two merges in the object files.
Reviewed-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Reviewed-by: Alberto Garcia <berto@igalia.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'crypto/secret.c')
0 files changed, 0 insertions, 0 deletions