]> git.ipfire.org Git - thirdparty/qemu.git/commit
cryptodev: fix the check of aes algorithm
authorLongpeng(Mike) <longpeng2@huawei.com>
Mon, 5 Dec 2016 11:39:08 +0000 (19:39 +0800)
committerGonglei <arei.gonglei@huawei.com>
Sat, 24 Dec 2016 05:46:27 +0000 (13:46 +0800)
commit465f2fedd262cbdcbfc92c181660cf85e5029515
tree8876ad4ac96cafd94c3625e5fad745b9acc6a4ba
parenta470b33259bf82ef2336bfcd5d07640562d3f63b
cryptodev: fix the check of aes algorithm

As the key length of xts(aes) is different with other mode of aes,
so we should check specially in cryptodev_builtin_get_aes_algo, if
it is xts mode.

Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com>
Reviewed-by: Gonglei <arei.gonglei@huawei.com>
Signed-off-by: Gonglei <arei.gonglei@huawei.com>
backends/cryptodev-builtin.c