All of lore.kernel.org
 help / color / mirror / Atom feed
* aead_alg request size (request context size)
@ 2015-08-24 12:52 Vasile Catalin-B50542
  2015-08-24 13:16 ` Stephan Mueller
  0 siblings, 1 reply; 2+ messages in thread
From: Vasile Catalin-B50542 @ 2015-08-24 12:52 UTC (permalink / raw)
  To: linux-crypto

How can I make aead transformations on the new API allocate some context 
space inside
the aead_request?
Description/comments of aead_alg->init() and crypto_alg->cra_init() 
suggest that they are
triggered after the tfm object has already been allocated, so setting 
crypto_aead->reqsize
has no effect.
Also, it seems that if aead_alg->init() is triggered, but 
crypto_alg->cra_init() is not.
I see a call to alg->cra_init() from crypto_create_tfm, when allocating 
an aead transformation,
but my cra_init() is not actually called. Instead aead_alg->init() is 
not seen anywhere, but
indeed it is triggered at some time. Where does it get called?

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-08-24 13:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-24 12:52 aead_alg request size (request context size) Vasile Catalin-B50542
2015-08-24 13:16 ` Stephan Mueller

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.