Re: [PATCH v11 1/4] crypto: essiv - create wrapper template for ESSIV generation

From
Herbert Xu <herbert@gondor.apana.org.au>
Date
2019-08-15 05:13:33
Also in
dm-devel, linux-fscrypt
Reply to
Ard Biesheuvel, 2019-08-15
On Thu, Aug 15, 2019 at 07:59:34AM +0300, Ard Biesheuvel wrote:
So how do I ensure that the cipher and shash are actually loaded at
create() time, and that they are still loaded at TFM init time?
If they're not available at TFM init then you just fail the init
and therefore the TFM allocation.  What is the problem?

IOW the presence of the block cipher and unkeyed hash does not
affect the creation of the instance object.

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
Thread (12 messages) 12 messages, 2 authors, last reply 2019-08-15
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help