diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-02-11 14:05:21 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2016-03-17 14:41:15 +0000 |
commit | e3ba0b67014b9fa15239f99bfcc227200e89024b (patch) | |
tree | 58a858dd25f3ac712d22083b4c8760a5ddb96954 /ui | |
parent | 84f7f180b034b2a08b558bd3fbb5be1ae88f74c1 (diff) |
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 'ui')
0 files changed, 0 insertions, 0 deletions