diff options
| author | Longpeng(Mike) <longpeng2@huawei.com> | 2017-01-14 14:14:27 +0800 |
|---|---|---|
| committer | Gonglei <arei.gonglei@huawei.com> | 2017-03-23 17:22:01 +0800 |
| commit | 50d19cf3681059efc8d2efcc585d2a19b9ab37c3 (patch) | |
| tree | 6d81c3368073cfc8508f3b2ac2edbc1ae1d265a9 /include/hw/compat.h | |
| parent | 55a19ad8b2d0797e3a8fe90ab99a9bb713824059 (diff) | |
| download | focaccia-qemu-50d19cf3681059efc8d2efcc585d2a19b9ab37c3.tar.gz focaccia-qemu-50d19cf3681059efc8d2efcc585d2a19b9ab37c3.zip | |
cryptodev: setiv only when really need
ECB mode cipher doesn't need IV, if we setiv for it then qemu crypto API would report "Expected IV size 0 not **", so we should setiv only when the cipher algos really need. Signed-off-by: Longpeng(Mike) <longpeng2@huawei.com> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Diffstat (limited to 'include/hw/compat.h')
0 files changed, 0 insertions, 0 deletions