Thread (39 messages) 39 messages, 3 authors, 2016-07-04

[PATCHv2 06/27] crypto: ahash: increase the maximum allowed statesize

From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2016-06-27 05:00:41
Also in: linux-crypto, linux-omap

On Mon, Jun 27, 2016 at 07:58:43AM +0300, Tero Kristo wrote:
Ok, I think I need to allocate the storage space locally then within
the driver. Would it be ok to call kmalloc / free in the export /
import implementation of the driver? The size of the unhashed buffer
in omap-sham is unfortunately rather large.
The allocation should usually be done from the request_alloc
function, i.e., you set the reqsize and the user does the allocation
for you.

Cheers,
-- 
Email: Herbert Xu [off-list ref]
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help