From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753276AbdJHJkY (ORCPT ); Sun, 8 Oct 2017 05:40:24 -0400 Received: from smtp06.smtpout.orange.fr ([80.12.242.128]:38959 "EHLO smtp.smtpout.orange.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751612AbdJHJkW (ORCPT ); Sun, 8 Oct 2017 05:40:22 -0400 X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 08 Oct 2017 11:40:21 +0200 X-ME-IP: 86.196.182.67 From: Christophe JAILLET To: herbert@gondor.apana.org.au, davem@davemloft.net Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET Subject: [PATCH 0/2] crypto: lrw - Fixes for the 'create()' function Date: Sun, 8 Oct 2017 11:39:48 +0200 Message-Id: X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The first patch is the same as the one committed for crypto/xts.c applied a few days ago. (commit 5125e4e867ab ("crypto: xts - Fix an error handling path in 'create()'") in /git/herbert/crypto-2.6.git) The 2nd one is a pure speculation from me. The create function in 'crypto/xts.c' and 'crypto/lrw.c' look very similar. However, there is one more sanity check in xts. This patch proposes to add the same test in lrw. Not sure at all if correct! I just send it for consistency. Christophe JAILLET (2): crypto: lrw - Fix an error handling path in 'create()' crypto: lrw - Check for incorrect cipher name crypto/lrw.c | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) -- 2.11.0