Re: [Qemu-devel] [PATCH for-4.1 1/2] crypto: switch to modern nettle AES APIs

2019-07-12 Thread Alex Bennée
Daniel P. Berrangé writes: > The aes_ctx struct and aes_* functions have been deprecated in nettle > 3.5, in favour of keysize specific functions which were introduced > first in nettle 3.0. > > Switch QEMU code to use the new APIs and add some backcompat defines > such that it still builds on

[Qemu-devel] [PATCH for-4.1 1/2] crypto: switch to modern nettle AES APIs

2019-07-12 Thread Daniel P . Berrangé
The aes_ctx struct and aes_* functions have been deprecated in nettle 3.5, in favour of keysize specific functions which were introduced first in nettle 3.0. Switch QEMU code to use the new APIs and add some backcompat defines such that it still builds on nettle 2.7 Signed-off-by: Daniel P. Berra