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] [thread-next>] [day] [month] [year] [list]
Message-ID: <82ecf08e0902250629n6a190165u557c21b0ebe797d5@mail.gmail.com>
Date:	Wed, 25 Feb 2009 11:29:12 -0300
From:	Thiago Galesi <thiagogalesi@...il.com>
To:	Frank Seidel <fseidel@...e.de>
Cc:	Herbert Xu <herbert@...dor.apana.org.au>,
	linux kernel <linux-kernel@...r.kernel.org>,
	linux-crypto@...r.kernel.org, Frank Seidel <frank@...eidel.de>,
	akpm@...ux-foundation.org, "David S. Miller" <davem@...emloft.net>,
	nhorman@...driver.com, lho@...c.com, kaber@...sh.net,
	darrenrjenkins@...il.com
Subject: Re: [PATCH][trivial] crypto: tcrypt - reduce stack size

On Wed, Feb 25, 2009 at 11:24 AM, Frank Seidel <fseidel@...e.de> wrote:
> Herbert Xu wrote:
>>> -    char output[1024];
>>
>> How about just making it static?
>
> Well, it was static before. But there
> are efforts to reduce current stack memory
> footprints.

If you write static char output[1024]; (even inside a function) it's
not allocated on the stack.

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