Commit d7a2127a authored by Longpeng(Mike)'s avatar Longpeng(Mike) Committed by Gonglei

cryptodev: remove single-DES support in cryptodev

Single-DES is obsolete and it's broken/useless for decades, we should
remove it in cryptodev, as suggested by Daniel.
Guest who wants to use this obsolete cipher alg will use its built-in
implementation instead.
Signed-off-by: 's avatarLongpeng(Mike) <longpeng2@huawei.com>
Reviewed-by: 's avatarDaniel P. Berrange <berrange@redhat.com>
Signed-off-by: 's avatarGonglei <arei.gonglei@huawei.com>
parent eaa57403
......@@ -205,10 +205,6 @@ static int cryptodev_builtin_create_cipher_session(
return -1;
}
break;
case VIRTIO_CRYPTO_CIPHER_DES_ECB:
mode = QCRYPTO_CIPHER_MODE_ECB;
algo = QCRYPTO_CIPHER_ALG_DES_RFB;
break;
default:
error_setg(errp, "Unsupported cipher alg :%u",
sess_info->cipher_alg);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment