[Click] Encryption Functions
Eddie Kohler
kohler at cs.ucla.edu
Tue Feb 28 22:51:34 EST 2006
Hi Jason,
Sorry for not responding earlier. First off, we'd love to host a copy of your
elements once they are ready; or add a link to them off our packages page on
the wiki. Second off, it just sounds like you've called cp_va_parse with
incorrect arguments. Unfortunately cp_va_parse, as a varargs function,
baffles the compiler, which is unable to generate useful warnings. If this is
still a problem (& I bet it's not) feel free to send the cp_va_parse call to
the list.
Eddie
Jason Haas wrote:
> Hi Beyers,
>
> Thanks, I'll probably use the SHA-1 code for another piece of our project.
> Essentially, right now, I'm trying to make the IPSecDES element, but with
> AES. DES isn't sufficient for our research purposes. I've resolved my
> initial errors as stated in my original post, they were specific to the code
> I'm trying to port. They were dynamically named macros, which is why they
> didn't grep. However, I now get:
>
> conf/aes-test.click:22: While configuring 'AESEncrypt at 6 :: AESEncrypt':
> unknown argument type ''!
> Router could not be initialized!
> click-install: Done
>
> I see the element listed in the elementmap.xml with the correct port
> settings. (1/1 h/h x/x) It points to the correct .cc file has the right
> requires, which are also correctly listed. I did:
> ./configure --with-linux=/usr/src/linux --enable-linuxmodule --enable-local
> I've also tried combinations including the above and --enable-kassert
> (asserts are used in the code) and --disable-userlevel. I've tried this
> with click 1.4.3 and the latest CVS. Here's the config:
>
> InfiniteSource(DATA \<00 00 c0 ae 67 ef 00 00 00 00 00 00 08 00
> 45 00 00 28 00 00 00 00 40 11 77 c3 01 00 00 01
> 02 00 00 02 13 69 13 69 00 14 d6 41 55 44 50 20
> 70 61 63 6b 65 74 21 0a>, LIMIT 5, STOP true)
> -> Strip(14)
> -> Align(4, 0) // in case we're not on x86
> -> CheckIPHeader(BADSRC 18.26.4.255 2.255.255.255 1.255.255.255)
> -> Print(ok)
> -> AESEncrypt("aaaaaaaaaaaaaaaa")
> -> Discard;
>
> There's only one configuration argument and it's supposed to be a string.
>
> 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