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>] [day] [month] [year] [list]
Date:	Mon, 10 Jan 2011 18:58:45 -0800 (PST)
From:	Alex Dubov <oakad@...oo.com>
To:	Andrew Morton <akpm@...ux-foundation.org>,
	Maxim Levitsky <maximlevitsky@...il.com>
Cc:	LKML <linux-kernel@...r.kernel.org>, Takashi Iwai <tiwai@...e.de>
Subject: Re: [PATCH 1/4] scatterlist: new helper functions

> 
> The functions that were added:
> 
> * sg_nents/sg_total_len - interate over sg list to figure

You've got a typo here.

> out its total len, number of entries.
> Useful for not keeping that information in side channels.
> 

> Allows to transparetly compare contents of the sg list to
> given linear

And here.

> buffer.
> If needed later, a function that compares two sgs can be
> added.
> 
> All of this code is used by my ms_block.c driver.
> 

I definitely find this useful.
But, of course, we need to ask somebody from the memory management
department to look at it, as this patch is intended to be not memorystick
specific.





      
--
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