From mboxrd@z Thu Jan 1 00:00:00 1970 From: Marcelo Cerri Subject: [PATCH v2 0/2] drivers/crypto/nx: fixes when input data is too large Date: Fri, 2 Aug 2013 09:09:50 -0300 Message-ID: <1375445392-16237-1-git-send-email-mhcerri@linux.vnet.ibm.com> Cc: linux-kernel@vger.kernel.org, linux-crypto@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, Marcelo Cerri To: benh@kernel.crashing.org Return-path: Received: from e24smtp04.br.ibm.com ([32.104.18.25]:57648 "EHLO e24smtp04.br.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751395Ab3HBMKA (ORCPT ); Fri, 2 Aug 2013 08:10:00 -0400 Received: from /spool/local by e24smtp04.br.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 2 Aug 2013 09:09:58 -0300 Sender: linux-crypto-owner@vger.kernel.org List-ID: This series of patches fixes two bugs that are triggered when the input data is too large. The first one is caused by the miscalculation of physical addresses and the second one by some limits that the co-processor has to the input data. Changes in v2: * Replace Signed-Off-By tags with Reviewed-By tags where it is appropriate. Marcelo Cerri (2): drivers/crypto/nx: fix physical addresses added to sg lists drivers/crypto/nx: fix limits to sg lists for SHA-2 drivers/crypto/nx/nx-sha256.c | 108 +++++++++++++++++++++++----------------- drivers/crypto/nx/nx-sha512.c | 113 ++++++++++++++++++++++++------------------ drivers/crypto/nx/nx.c | 22 ++++++-- 3 files changed, 148 insertions(+), 95 deletions(-) -- 1.7.12