Re: Decrypting data in RX path

2016-05-18 Thread Stephan Mueller
: Monday, May 16, 2016 5:40 PM > To: Stephan Mueller; linux-crypto@vger.kernel.org > Subject: Re: Decrypting data in RX path > > Hi, > > 1. The context of the question "best place to decrypt in > kernel(module/driver)" is I want to encrypt network packets sent from

Re: Decrypting data in RX path

2016-05-18 Thread Catalin Vasile
Inline Comments From: linux-crypto-ow...@vger.kernel.org <linux-crypto-ow...@vger.kernel.org> on behalf of Gadre Nayan <gadrena...@gmail.com> Sent: Monday, May 16, 2016 5:40 PM To: Stephan Mueller; linux-crypto@vger.kernel.org Subject: Re: Dec

Re: Decrypting data in RX path

2016-05-16 Thread Gadre Nayan
Hi, 1. The context of the question "best place to decrypt in kernel(module/driver)" is I want to encrypt network packets sent from my system and decrypt them back to work with crypto apis. So the encryption part I have done in a Kernel thread, decryption part could be either in driver or a

Re: Decrypting data in RX path

2016-05-16 Thread Stephan Mueller
Am Montag, 16. Mai 2016, 17:24:12 schrieb Gadre Nayan: Hi Gadre, > Hi, > > I am able to encrypt data using the asynchronous kernel crypto API's. > I can observe the encrypted data on the protocol analyzer. > > I wanted to decry-pt the data now on the receiver side, So I have > following

Re: Decrypting data in RX path

2016-05-16 Thread Catalin Vasile
Inline comments. From: linux-crypto-ow...@vger.kernel.org <linux-crypto-ow...@vger.kernel.org> on behalf of Gadre Nayan <gadrena...@gmail.com> Sent: Monday, May 16, 2016 2:54 PM To: linux-crypto@vger.kernel.org Subject: Decrypting data in RX

Re: Decrypting data in RX path

2016-05-16 Thread Gadre Nayan
org> > on behalf of Gadre Nayan <gadrena...@gmail.com> > Sent: Monday, May 16, 2016 2:54 PM > To: linux-crypto@vger.kernel.org > Subject: Decrypting data in RX path > > Hi, > > I am able to encrypt data using the asynchronous kernel crypto API's. > I can observe the e

Decrypting data in RX path

2016-05-16 Thread Gadre Nayan
Hi, I am able to encrypt data using the asynchronous kernel crypto API's. I can observe the encrypted data on the protocol analyzer. I wanted to decry-pt the data now on the receiver side, So I have following questions. 1. What is the best place to decrypt the data, in kernel space (module