summaryrefslogtreecommitdiff
path: root/crypto/cipher-gcrypt.c
diff options
context:
space:
mode:
authorDaniel P. Berrange <berrange@redhat.com>2016-02-11 14:05:21 +0000
committerDaniel P. Berrange <berrange@redhat.com>2016-03-17 14:41:15 +0000
commite3ba0b67014b9fa15239f99bfcc227200e89024b (patch)
tree58a858dd25f3ac712d22083b4c8760a5ddb96954 /crypto/cipher-gcrypt.c
parent84f7f180b034b2a08b558bd3fbb5be1ae88f74c1 (diff)
downloadqemu-e3ba0b67014b9fa15239f99bfcc227200e89024b.tar.gz
crypto: refactor code for dealing with AES cipher
The built-in and nettle cipher backends for AES maintain two separate AES contexts, one for encryption and one for decryption. This is going to be inconvenient for the future code dealing with XTS, so wrap them up in a single struct so there is just one pointer to pass around for both encryption and decryption. Reviewed-by: Eric Blake <eblake@redhat.com> Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
Diffstat (limited to 'crypto/cipher-gcrypt.c')
0 files changed, 0 insertions, 0 deletions