On Sat, Feb 27, 2010 at 12:14:15PM +0100, Roberto Sassu wrote: > Hello > > i'm trying to use the authenc module and i wrote a small kernel module that > simply encrypts/decrypts a fixed data using the hmac(sha1) as authentication > algorithm and cbc(aes) as encryption algorithm. > The used platform is a KVM quest with Fedora 12 i686 and the latest kernel > 2.6.33. > I have taken the code from the testmgr and from net/ipv4/esp4.c. > But, when testing the code, attached in this mail, the crypto_aead_decrypt() > function always replies -EBADMSG. I've posted two fixes for authenc to the linux-crypto list last week. Could you please try whether these patches fix your problems? Thanks, Steffen -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html