RE: HMAC test fails for big key using libkcapi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Stephen,

It worked, thank you so much

Regards,
Jaya

-----Original Message-----
From: Stephan Mueller <smueller@xxxxxxxxxx> 
Sent: Monday, August 24, 2020 9:00 PM
To: linux-crypto@xxxxxxxxxxxxxxx; Bhat, Jayalakshmi Manjunath <jayalakshmi.bhat@xxxxxx>
Subject: Re: HMAC test fails for big key using libkcapi

Am Montag, 24. August 2020, 16:41:13 CEST schrieb Bhat, Jayalakshmi Manjunath:

Hi Jayalakshmi,

> Hi All,
> 
> I am using libkcapi to execute HMAC tests. One of key size is 229248 bytes. 
> setsockopt(tfmfd, SOL_ALG, ALG_SET_KEY API fails to set the key. I am 
> not getting an option to set the buffer size to higher value.
> 
> Can you please provide me inputs on how to set the higher buffer size 
> to socket?

Update your network write buffer size?

/proc/sys/net/core/wmem_default
> 
> Regards,
> Jayalakshmi


Ciao
Stephan






[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]

  Powered by Linux