> I am trying to encrypt decrypt data over the wire. On the receiver > side I have a pre-routing hook where I get reference to my encrypted > data and apply decryption using the skcipher api's, however I am > unable to get the same data back. > > My algo is same on both ends "cbc(aes)" and using CRYPTO_ALG_ASYNC , > key is also same (content and size). Depends on a number of things... But in general, the first thing to do is find the self tests and run them. Finding the self tests may not be that easy For example, afalg async tests are at http://github.com/tstruk/afalg_async_test. Jeff -- 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