Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp3744932imj; Tue, 19 Feb 2019 08:42:40 -0800 (PST) X-Google-Smtp-Source: AHgI3IZg6vx46FWDXLuqe41o87FVeGSHr9JM6dqZMfRlO2qNeinvEZnAQ3j24jRJ7khu8s77KoXs X-Received: by 2002:a63:7044:: with SMTP id a4mr24320854pgn.359.1550594560192; Tue, 19 Feb 2019 08:42:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1550594560; cv=none; d=google.com; s=arc-20160816; b=B1xC+VwqgPc+AfXFl37vWeaBKmyCxcT1yDTfaoYkbk2gY/IFXklgzJLWvS92wFwRBN jNBLllqCkcFTQR8dRUxEGjQjBPLkuyGXX2Hw4lMMrDm5UJ6/a1DQVp8sDL/81nslsx3z ugoYLOL7sNXCQfU/wjwsmisoVCzEFffD9q2MjOnS+XeqU89wFIRA3y4YkOrCTH6gRLud fYVnMuxCyEGMzdrvI268CE1eFbHMl8/h/lq4Ke43UVXvLM1m6vPGx29iQprAbOb7Upwu 7F6UbaLKi6aVapKhhbjEkFRsaHcG0VM3TzAcyxAdj7djF+SQCl2/pdcryk0Hm4o5RVpm 3yeg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=B6yy/r+KkqpjnFZay5/MxeSzG9RGHe2ewr5fmWSPNdc=; b=LVqCYgORD11Yhv+MZ1Dr29IxQvfYo7OQQUmO0qC3VsEyEbBGXlMTTlUILdhChQNFod YqC/MeDJt24cw8Bp8FlESfDqBdjxZ1+D40DepYNhvJVItJxsyaXS7wr6DuTMTLWkS96K 1zjSmIxoYCJo8v50dO+2ft7/28P0eU75Nmvip0cnhnDT5dbP9s3ig3ienVf8QtPa9vVQ xlMBQCvBIZqnMzyE2pHNndIjfvcsgh56lXIKVDiTdJiG66+eDEhw3fUhy/CPt3xt26M4 ReTzM0P64ASLcII3lTIXXw6YHk6Z6icweNZKeQ+H4hqTL6HXZddUKYD1QCmbfHKgWWSO IcQQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dxTrp1Nk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 8si8969023pgz.484.2019.02.19.08.42.24; Tue, 19 Feb 2019 08:42:40 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=dxTrp1Nk; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729160AbfBSQl1 (ORCPT + 99 others); Tue, 19 Feb 2019 11:41:27 -0500 Received: from mail.kernel.org ([198.145.29.99]:35838 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725811AbfBSQl1 (ORCPT ); Tue, 19 Feb 2019 11:41:27 -0500 Received: from mail-lj1-f171.google.com (mail-lj1-f171.google.com [209.85.208.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 4A0EE2183E; Tue, 19 Feb 2019 16:41:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1550594486; bh=sfZYBVk66xHud6tmaMQKnDaOJjpsmCJtq2cgfZFEPSU=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dxTrp1NkKP5FMmWxf4SvjWYXUdScTw2urzt2nevCmUSkc6kdvW21qznxNRBGJedhA 6OLgBLFTCpeEE+l070keXunniLO7bhkbJhcAMgNhMoVLidmd7VGuKKHT7Cve4DhdjT LgVqMhbAb2DGPPm0+8s6KRsYG2O+GwofDNm4kFgA= Received: by mail-lj1-f171.google.com with SMTP id v16so17977543ljg.13; Tue, 19 Feb 2019 08:41:26 -0800 (PST) X-Gm-Message-State: AHQUAuYYo7SLShrGNs874ZwnKfMlRJzc+cZWGBBhRu4N3eiMN9WeOxTP /GQ/QlfECOjCaYPysGSZpXSCjrNw7cW+4Lm/idw= X-Received: by 2002:a2e:3a10:: with SMTP id h16-v6mr23218lja.184.1550594484402; Tue, 19 Feb 2019 08:41:24 -0800 (PST) MIME-Version: 1.0 References: <20190219160232.22084-1-k.konieczny@partner.samsung.com> In-Reply-To: <20190219160232.22084-1-k.konieczny@partner.samsung.com> From: Krzysztof Kozlowski Date: Tue, 19 Feb 2019 17:41:13 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] crypto: s5p: update iv after AES-CBC op end To: Kamil Konieczny Cc: Vladimir Zapolskiy , Herbert Xu , "David S. Miller" , Eric Biggers , Bartlomiej Zolnierkiewicz , Marek Szyprowski , linux-crypto@vger.kernel.org, "linux-samsung-soc@vger.kernel.org" , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 19 Feb 2019 at 17:02, Kamil Konieczny wrote: > > Fix bug "s5p-sss crypto driver doesn't set next AES-CBC IV". While at this, > fix also AES-CTR mode. Tested on Odroid U3 with Eric Biggers branch > "iv-out-testing". > > Signed-off-by: Kamil Konieczny > Reported-by: Eric Biggers > --- > Changes since v1: > - reworded Subject and commit message > - changed code according to comments by Krzysztof Kozlowski > - added Reported-by line > --- > drivers/crypto/s5p-sss.c | 8 ++++++++ > 1 file changed, 8 insertions(+) Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof