Thread (18 messages) flat view 18 messages, 3 authors, 2014-03-13

[PATCH 1/3 V2] crypto: Fix the pointer voodoo in unaligned ahash

From: herbert@gondor.apana.org.au (Herbert Xu)
Date: 2014-03-13 01:56:42
Also in: linux-crypto

On Thu, Mar 13, 2014 at 02:20:29AM +0100, Marek Vasut wrote:
OK, understood. But shall we not preserve the request intact in case a crypto-
api function called crypto_ahash_final() with request which has .priv already 
set? Then we would have really funny corruption of the request going on and I'm 
not sure that'd be nice.
The priv field is only ever used by ahash.c so how can this happen?
The crypto API refers to code in the API itself, excluding drivers
and users.

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