Re: [PATCH] crypto: s390 - fix concurrency issue in aes-ctr mode

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

 



On Thu, 2014-01-16 at 16:01 +0100, Harald Freudenberger wrote:

> The aes-ctr mode uses one preallocated page without any concurrency
> protection. When multiple threads run aes-ctr encryption or decryption
> this can lead to data corruption.
> 
> The patch introduces locking for the page and a fallback solution with
> slower en/decryption performance in concurrency situations.
> 
> Signed-off-by: Harald Freudenberger <freude@xxxxxxxxxxxxxxxxxx>
> ---
>  arch/s390/crypto/aes_s390.c |   65 ++++++++++++++++++++++++++++++-------------
>  1 file changed, 46 insertions(+), 19 deletions(-)

Herbert, could you please add Cc: stable@xxxxxxxxxxxxxxx to this?

Thanks


--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux