Hello, I resend following patches to the kernel support AES-XCBC-MAC. These patches can probably support another XCBC algorithms but I only tested with AES on the test vectors of RFC3566.
They do not include glue codes for IPsec stack. I misunderstood XCBC. I regarded the constants in the previous patches such as 0x0101.... as a part of specification of XCBC. But the spec does not mention it at all and it depends on RFC3566. I accordingly removed the checking block size be 16. I introduced a parameter to hold those constants in the cipher_tfm. I will use it to cipher_tfm hold them. In my plan, IPsec stack will prepare the constants and set them before calling the XCBC routine. Please see the patches of tcrypt. Of course, I fixed the patches against James's comments. 1/4 xcbc core code 2/4 glue for crypto api 3/4 to test aes-xcbc-mac 4/4 change Kconfig and MAKEFILE These patch are against 2.6.16-rc1. I'm sorry. I have not fixed my mailer yet. Please use the inline for comment and use attached files to use the patches. Signed-off-by: Kazunori MIYAZAWA <[EMAIL PROTECTED]> -- Kazunori Miyazawa - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html