qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] cryptodev: setiv only when really need


From: Gonglei (Arei)
Subject: Re: [Qemu-devel] [PATCH] cryptodev: setiv only when really need
Date: Mon, 16 Jan 2017 06:32:16 +0000

>
> From: longpeng
> Sent: Saturday, January 14, 2017 2:28 PM
> To: Gonglei (Arei)
> Cc: Wubin (H); Zhoujian (jay, Euler); address@hidden; longpeng
> Subject: [PATCH] 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) <address@hidden>
> ---
>  backends/cryptodev-builtin.c | 10 ++++++----
>  1 file changed, 6 insertions(+), 4 deletions(-)
> 
Queued.

Thanks,
-Gonglei




reply via email to

[Prev in Thread] Current Thread [Next in Thread]