[Click] Encryption Functions

Beyers Cronje bcronje at gmail.com
Wed Jan 18 17:08:37 EST 2006


Hi Jason,

Maybe have a look at the IPsec elements supplied with click. Dont know if
that's what you are looking for.

http://pdos.csail.mit.edu/click/doc/IPsecAuthSHA1.n.html
http://pdos.csail.mit.edu/click/doc/IPsecDES.n.html
http://pdos.csail.mit.edu/click/doc/IPsecESPEncap.n.html
http://pdos.csail.mit.edu/click/doc/IPsecESPUnencap.n.html

Cheers

Beyers

On 1/18/06, Jason Haas <jjhaas at gmail.com> wrote:
>
> I'm trying to write a couple elements which will use encryption in a
> protocol we're developing.  I'm attempting to port some AES code from
> Brian
> Gladman (http://fp.gladman.plus.com/AES/index.htm ), but it needs to run
> in
> the linux kernel module code.  Everything compiles fine and I've added a
> number of ELEMENT_REQUIRES(...) to the source files to make sure they're
> being compiled and included in my elements, but when it comes to inserting
> the test.click configuration supplied with click, I get the following
> under
> both 2.4 and 2.6 kernels
>
> click:  Unknown symbol t_in
> click:  Unknown symbol t_fn
> click:  Unknown symbol t_im
> click:  Unknown symbol t_fl
> click:  Unknown symbol t_il
> click:  Unknown symbol t_rc
>
> The only place these pieces of text show up are in the compiled object
> files.  My guess is that there are some function calls somewhere in the
> code
> to functions that are not accessable in the kernel, but not being able to
> resolve these symbols to actual code has me stumped.  I've turned on all
> the
> kernel debugging options that I thought relevant, and the symbols are the
> same.  If anyone has a suggestion for resolving these symbols, or if
> there's
> something I'm missing, any help would be appreciated.
>
> I haven't found any discussion of using encryption in click, which makes
> me
> wonder if I'm missing something obvious.  So, alternatively, if there's an
> easier way to do encryption in the kernel than trying to port this code,
> I'd
> appreciate some pointers.
>
> Thanks,
>
> Jason
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>


More information about the click mailing list