The cryptodev use DES-RFB for ecb(des) currently, we should use standard DES for cryptodev instead.
Signed-off-by: Longpeng(Mike) <longpe...@huawei.com> --- backends/cryptodev-builtin.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/cryptodev-builtin.c b/backends/cryptodev-builtin.c index ecad565..f1b5b1b 100644 --- a/backends/cryptodev-builtin.c +++ b/backends/cryptodev-builtin.c @@ -207,7 +207,7 @@ static int cryptodev_builtin_create_cipher_session( break; case VIRTIO_CRYPTO_CIPHER_DES_ECB: mode = QCRYPTO_CIPHER_MODE_ECB; - algo = QCRYPTO_CIPHER_ALG_DES_RFB; + algo = QCRYPTO_CIPHER_ALG_DES; break; default: error_setg(errp, "Unsupported cipher alg :%u", -- 1.8.3.1