Hello,
I have read the crypto library documentation on chronox.de.
I used there sample code for symmetric key cipher operation.
However in the check:
skcipher = crypto_alloc_skcipher("cbc-aes-aesni", 0, 0);
if (IS_ERR(skcipher)) {
pr_info("could not allocate skcipher handle\n");
return
This is a note to let you know that I've just added the patch titled
crypto: gcm - Fix rfc4543 decryption crash
to the 3.14-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
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.
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;
>
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];