Howto use several modules in one Module?

Greg KH greg at kroah.com
Thu Apr 21 21:29:01 UTC 2011


On Thu, Apr 21, 2011 at 10:58:13PM +0200, Michelle Konzack wrote:
> Hello,
> 
> I am not a Kernel Geek/Nerd but I have written some  modules  which  are
> more or less working properly without crashing anything.  Also some user
> space tools which use the modules.
> 
> Now I have to write a "BlueTooth Keyboard/Mouse Driver" but the  problem
> is, that the keyboard use AT91SAM7XC with AES cryption to prevent others
> to capture the key strokes.

Why do you need to write a new driver?  We already have such a driver in
the kernel today, have you tried it?

> So, my question is, how to use the kernel AES module to  encrypt/decrypt
> the connection?  Or must I implement it on my own?

Just use the functions provided by that module by calling them.

> Is there a HOWTO how to code sucht things?

Not really, it's just a matter of calling the code in the module, it's
that simple.

good luck,

greg k-h



More information about the devel mailing list