Searched hist:"5228 f0f79e983c2b39c202c75af901ceb0003fc1" (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/crypto/ |
H A D | talitos.c | diff 5228f0f79e983c2b39c202c75af901ceb0003fc1 Fri Jul 15 05:21:38 CEST 2011 Kim Phillips <kim.phillips@freescale.com> crypto: talitos - ensure request ordering within a single tfm
Assign single target channel per tfm in talitos_cra_init instead of performing channel scheduling dynamically during the encryption request. This changes the talitos_submit interface to accept a new channel number argument. Without this, rapid bursts of misc. sized requests could make it possible for IPsec packets to be encrypted out-of-order, which would result in packet drops due to sequence numbers falling outside the anti-reply window on a peer gateway.
Signed-off-by: Kim Phillips <kim.phillips@freescale.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|