mirror of
https://github.com/torvalds/linux.git
synced 2024-11-01 13:03:25 +01:00
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>
This commit is contained in:
parent
6c19f3bfff
commit
a69c500018
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ struct sa_tfm_ctx;
|
|||
* the following range, so avoid using it.
|
||||
*/
|
||||
#define SA_UNSAFE_DATA_SZ_MIN 240
|
||||
#define SA_UNSAFE_DATA_SZ_MAX 256
|
||||
#define SA_UNSAFE_DATA_SZ_MAX 255
|
||||
|
||||
struct sa_match_data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue