diff options
author | Daniel P. Berrange <berrange@redhat.com> | 2016-03-18 12:39:12 +0000 |
---|---|---|
committer | Daniel P. Berrange <berrange@redhat.com> | 2016-03-21 10:03:45 +0000 |
commit | f7ac78cfe1bdb1f0067eac66edd2ae550080f061 (patch) | |
tree | d3e3e990268ce212c5ec066cbc50d0387eb40935 /crypto/ivgen.c | |
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>
Diffstat (limited to 'crypto/ivgen.c')
0 files changed, 0 insertions, 0 deletions