[lkml]   [2006]   [Jun]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 1/4] Twofish cipher - split out common c code
On Thu, Jun 08, 2006 at 09:20:04AM +0200, Joachim Fritschi wrote:
> Solve the naming conflict when compiling. Seemed to me like it is impossible to create a
> twofish.o out of twofish.o and twofish_common.o . And since having the original module name
> seemed more important to me i changed the name. I didn't find any other way in documentation
> of the kernel makefiles. I hope this isn't another newbie mistake. =)

Just make a module out of the common code. See sound/isa/sb/Makefile
for an example. It would also help to make a common Kconfig symbol
that is not visible to the user but instead is selected by any one
of the twofish implementations.

If you do it this way then the assembly implementations just need to
select that Kconfig symbol to get the common code either built as a
module or compiled in.

Visit Openswan at
Email: Herbert Xu ~{PmV>HI~} <>
Home Page:
PGP Key:
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-06-08 09:30    [W:0.090 / U:0.520 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site