Re: Crypto hash function decryption

2016-05-01 Thread Stephan Mueller
Am Sonntag, 1. Mai 2016, 19:05:12 schrieb Gadre Nayan: Hi Gadre, > Yes, i was reading about that till your reply came. > > So then if not hash...then should I use asymmetric or symmetric key APIs. > > My kernel version is 3.19, what APIs can I use which can compile with this > kernel version. >

Re: Crypto hash function decryption

2016-05-01 Thread Stephan Mueller
Am Sonntag, 1. Mai 2016, 18:35:51 schrieb Gadre Nayan: Hi Gadre, > Hi, > > I wanted to implement a simple encryption decryption of data in kernel > space to start with the kernel crypto library. > > I have the following: > > int myFunction() { > > struct scatterlist sg; > stru

Crypto hash function decryption

2016-05-01 Thread Gadre Nayan
Hi, I wanted to implement a simple encryption decryption of data in kernel space to start with the kernel crypto library. I have the following: int myFunction() { struct scatterlist sg; struct crypto_hash *tfm; struct hash_desc desc; unsigned char input[21];