[PATCH 4/4] x86/crypto: twofish: Fix function prototypes

2018-04-14 Thread Joao Moreira
Convert the use of 'struct twofish_ctx *' to 'void *' in prototypes of functions which are referenced through 'struct common_glue_func_entry', making their prototypes match those of this struct and, consequently, turning them compatible with CFI requirements. Whenever needed, cast 'void *' to

[PATCH 4/4] x86/crypto: twofish: Fix function prototypes

2018-04-14 Thread Joao Moreira
Convert the use of 'struct twofish_ctx *' to 'void *' in prototypes of functions which are referenced through 'struct common_glue_func_entry', making their prototypes match those of this struct and, consequently, turning them compatible with CFI requirements. Whenever needed, cast 'void *' to