On 13/04/10 17:42, ext Herbert Xu wrote:
On Tue, Apr 13, 2010 at 05:36:40PM +0300, Dmitry Kasatkin wrote:
Also one more question.
can reqa and reqb could come from the same tfm as well?
Yes of course.
Two packets coming from different CPUs going to through the same
IPsec SA for instance.
Then state must be kept in req ctx, not tfm ctx.
Right?
Then when handling different request HW must be re-initialized.
If handling the same request then no need to reinitialize.
Also not possible to call update(reqa) until previous completed.
Otherwise it will mess up data in reqa.
Thanks
Cheers,
--
To unsubscribe from this list: send the line "unsubscribe linux-crypto" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html