Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Thu, 9 May 2019 09:39:06 +0800
From: Herbert Xu <>
To: Kees Cook <>
Cc: Eric Biggers <>, Joao Moreira <>,
	Ingo Molnar <>,
	Thomas Gleixner <>,
	Borislav Petkov <>, X86 ML <>,
	linux-crypto <>,
	LKML <>,
	Kernel Hardening <>
Subject: Re: [PATCH v3 0/7] crypto: x86: Fix indirect function call casts

On Wed, May 08, 2019 at 02:08:25PM -0700, Kees Cook wrote:
> For example, quoting the existing code:
> asmlinkage void twofish_dec_blk(struct twofish_ctx *ctx, u8 *dst,
>                                 const u8 *src);

So just make it

	asmlinkage void twofish_dec_blk(void *ctx, u8 *dst, const u8 *src);

and you won't need any of these casts.

Email: Herbert Xu <>
Home Page:
PGP Key:

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.