This patch uses the crypto_aead_set_reqsize helper to avoid directly
touching the internals of aead.
Signed-off-by: Herbert Xu
---
crypto/gcm.c | 22 +++---
1 file changed, 11 insertions(+), 11 deletions(-)
diff --git a/crypto/gcm.c b/crypto/gcm.c
index 2e403f6..b56200e 10064
This patch uses the crypto_aead_set_reqsize helper to avoid directly
touching the internals of aead.
Signed-off-by: Herbert Xu
---
crypto/authenc.c | 15 ---
1 file changed, 8 insertions(+), 7 deletions(-)
diff --git a/crypto/authenc.c b/crypto/authenc.c
index 325f37a..3e85229 10
This patch adds a new primitive crypto_grab_spawn which is meant
to replace crypto_init_spawn and crypto_init_spawn2. Under the
new scheme the user no longer has to worry about reference counting
the alg object before it is subsumed by the spawn.
It is pretty much an exact copy of crypto_grab_aea
On Mon, May 11, 2015 at 09:30:11AM +0200, Stephan Mueller wrote:
>
> I will remove that in the next installment. But that means that the DRBG
> kernel module (or any other module) cannot be unloaded until the work
> completes.
I don't think that's a big deal.
> Are you suggesting to only leave
On 11 May 2015 at 08:59, Herbert Xu wrote:
> On Fri, May 08, 2015 at 10:46:21AM +0200, Ard Biesheuvel wrote:
>>
>> diff --git a/arch/arm/crypto/Kconfig b/arch/arm/crypto/Kconfig
>> index 8da2207b0072..08b5fb85bff5 100644
>> --- a/arch/arm/crypto/Kconfig
>> +++ b/arch/arm/crypto/Kconfig
>> @@ -53,2