crypto: add 3des-ede support when using libgcrypt/nettle
commitffb7bf452af8f5b50c2a9adca8ab2e54627e04ae
authorLongpeng(Mike) <longpeng2@huawei.com>
Thu, 8 Dec 2016 02:33:28 +0000 (8 10:33 +0800)
committerDaniel P. Berrange <berrange@redhat.com>
Wed, 21 Dec 2016 14:26:26 +0000 (21 14:26 +0000)
tree4a3ed5c4e178ee74295099cfdd582b23eaec75bd
parentd4c64800bbe1332328695a551b84ae68590c90fd
crypto: add 3des-ede support when using libgcrypt/nettle

Libgcrypt and nettle support 3des-ede, so this patch add 3des-ede
support when using libgcrypt or nettle.

Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
crypto/cipher-gcrypt.c
crypto/cipher-nettle.c
crypto/cipher.c
qapi/crypto.json
tests/test-crypto-cipher.c