commit | f7ac78cfe1bdb1f0067eac66edd2ae550080f061 | [log] [tgz] |
---|---|---|
author | Daniel P. Berrange <berrange@redhat.com> | Fri Mar 18 12:39:12 2016 +0000 |
committer | Daniel P. Berrange <berrange@redhat.com> | Mon Mar 21 10:03:45 2016 +0000 |
tree | d3e3e990268ce212c5ec066cbc50d0387eb40935 | |
parent | 621e6ae657d4cb44f19461db0796b09cca438778 [diff] |
crypto: fix cipher function signature mismatch with nettle & xts For versions of nettle < 3.0.0, the cipher functions took a 'void *ctx' and 'unsigned len' instad of 'const void *ctx' and 'size_t len'. The xts functions though are builtin to QEMU and always expect the latter signatures. Define a second set of wrappers to use with the correct signatures needed by XTS mode. Signed-off-by: Daniel P. Berrange <berrange@redhat.com>