hi, i am trying to build a kernel module to encrypt all out-going packets and decrypt all incoming packets only on a particular interface. i am basically looking at encrypting/ecrypting only the transport header.....i have been able to capture the transport header using the net-filter hook.... i want to use the "crypto api" and use "cipher based AES encryption" to encrypt these captured headers..... i have gone through the source/Documentation/crypto/api.txt......but i am looking at something elaborate.... can someone tell me how it can be done...and which functions are to be used or possibly pointing to some link which has an example..... thanks... regards, manjunath -- Kernelnewbies: Help each other learn about the Linux kernel. Archive: http://mail.nl.linux.org/kernelnewbies/ FAQ: http://kernelnewbies.org/faq/