OSDN Git Service

crypto: sa2ul - change unsafe data size limit to 255 bytes
authorTero Kristo <t-kristo@ti.com>
Fri, 12 May 2023 10:40:44 +0000 (16:10 +0530)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 19 May 2023 08:45:43 +0000 (16:45 +0800)
commita69c500018b97edec48ce9d41620748761322c83
tree9a193f62adc45bac630b2e8920f9ecf3c7f5e0b3
parent6c19f3bfff0344cdc02e7b074062a9acd026f010
crypto: sa2ul - change unsafe data size limit to 255 bytes

256 bytes is quite often used in performance benchmarks and this size
appears to be also working just fine, so mark it as safe so that we do
not fallback to software implementation for this packet size. Otherwise
there is a strange bump up in crypto performance at 256 byte packet size.

Signed-off-by: Tero Kristo <t-kristo@ti.com>
Signed-off-by: Jayesh Choudhary <j-choudhary@ti.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/sa2ul.h