Please see the detailed description in each patch. v3: - adjust the sequence of patch 1 and 2. (Daniel) - fix a mising 'break' in code logic. (Daniel) v2: - fix qtest complaint in cipher-builtin backend. - introduce patch 2 and patch 3.
Gonglei (3): crypto: extend mode as a parameter in qcrypto_cipher_supports() crypto: add CTR mode support crypto: add mode check in qcrypto_cipher_new() for cipher-builtin block/qcow.c | 3 ++- block/qcow2.c | 3 ++- crypto/cipher-builtin.c | 25 +++++++++++++++++++- 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, 152 insertions(+), 20 deletions(-) -- 1.7.12.4