Please see the detailed description in each patch. v2: - fix qtest complaint in cipher-builtin backend. - introduce patch 2 and patch 3.
Gonglei (3): crypto: add CTR mode support crypto: extend mode as a parameter in qcrypto_cipher_supports() crypto: add mode check in qcrypto_cipher_new() for cipher-builtin block/qcow.c | 3 ++- block/qcow2.c | 3 ++- crypto/cipher-builtin.c | 24 ++++++++++++++++++- crypto/cipher-gcrypt.c | 38 +++++++++++++++++++++++++------ crypto/cipher-nettle.c | 28 +++++++++++++++++++++-- crypto/cipher.c | 1 + include/crypto/cipher.h | 12 ++++++---- qapi/crypto.json | 3 ++- tests/test-crypto-cipher.c | 57 +++++++++++++++++++++++++++++++++++++++++++++- ui/vnc.c | 2 +- 10 files changed, 151 insertions(+), 20 deletions(-) -- 1.7.12.4