lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150426065132.GB13536@gondor.apana.org.au>
Date:	Sun, 26 Apr 2015 14:51:33 +0800
From:	Herbert Xu <herbert@...dor.apana.org.au>
To:	"Leonidas S. Barbosa" <leosilva@...ux.vnet.ibm.com>
Cc:	linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org,
	"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH 1/2] Fixing NX data alignment with nx_sg list

On Thu, Apr 23, 2015 at 05:40:30PM -0300, Leonidas S. Barbosa wrote:
> In NX we need to pass always a 16 multiple size nx_sg_list to
> co processor. Trim function handle with this assuring all nx_sg_lists
> are 16 multiple size, although data was not being considerated when
> crop was done. It was causing an unalignment between size of the list
> and data, corrupting csbcpb fields returning a -23 H_ST_PARM error, or
> invalid operation.
> 
> This patch fix this recalculating how much data should be put back
> in to_process variable what assures the size of sg_list will be
> correct with size of the data.
> 
> Signed-off-by: Leonidas S. Barbosa <leosilva@...ux.vnet.ibm.com>

Both patches applied.
-- 
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ