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: <CAHXqBFK=o2Q3CUPWaL_8TDBJbGjfEOx_HnQzooy33wuKWyu5Gw@mail.gmail.com>
Date:	Mon, 15 Sep 2014 10:06:54 +0200
From:	Michał Mirosław <mirqus@...il.com>
To:	device-mapper development <dm-devel@...hat.com>
Cc:	agk@...hat.com, clm@...com, David Miller <davem@...emloft.net>,
	fabf@...net.be, Herbert Xu <herbert@...dor.apana.org.au>,
	jbacik@...com, snitzer@...hat.com, tadeusz.struk@...el.com,
	thomas.lendacky@....com, linux-ima-user@...ts.sourceforge.net,
	qat-linux@...el.com, d.kasatkin@...sung.com,
	Bruce Allan <bruce.w.allan@...el.com>,
	Linux Kernel <linux-kernel@...r.kernel.org>,
	john.griffin@...el.com, linux-raid@...r.kernel.org,
	linux-security-module@...r.kernel.org,
	Behan Webster <behanw@...verseincode.com>,
	linux-crypto@...r.kernel.org, james.l.morris@...cle.com,
	Linus Torvalds <torvalds@...ux-foundation.org>,
	linux-ima-devel@...ts.sourceforge.net,
	Andrew Morton <akpm@...ux-foundation.org>,
	zohar@...ux.vnet.ibm.com, linux-btrfs@...r.kernel.org,
	"Serge E. Hallyn" <serge@...lyn.com>
Subject: Re: [dm-devel] [PATCH v3 01/12] crypto: LLVMLinux: Add macro to
 remove use of VLAIS in crypto code

2014-09-15 9:30 GMT+02:00  <behanw@...verseincode.com>:
[...]
> +#define SHASH_DESC_ON_STACK(shash, tfm)                                  \
> +       char __desc[sizeof(struct shash_desc) +                   \
> +               crypto_shash_descsize(tfm)] CRYPTO_MINALIGN_ATTR; \
> +       struct shash_desc *shash = (struct shash_desc *)__desc
> +

char shash##__desc[] or similar? Otherwise it won't work if you use
this macro twice in the same block.

Best Regards,
Michał Mirosław
--
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