aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0085-add-notes-about-configured-limits-in-SEC-driver.patch
blob: 23f4b544ff13099426cf1f7353efe2065e8e704c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
From b682119d432af1190699c56039f6584ac83ae7b9 Mon Sep 17 00:00:00 2001
From: Cristian Stoica <cristian.stoica@nxp.com>
Date: Fri, 28 Oct 2016 18:03:07 +0300
Subject: [PATCH 085/104] add notes about configured limits in SEC driver

Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
---
 tests/async_speed.c        | 3 ++-
 tests/async_speed_multi.sh | 2 ++
 tests/sync_speed.c         | 3 ++-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/tests/async_speed.c b/tests/async_speed.c
index eb8468d..d16d17e 100644
--- a/tests/async_speed.c
+++ b/tests/async_speed.c
@@ -47,7 +47,8 @@ const char usage_str[] = "Usage: %s [OPTION]... <cipher>|<hash>\n"
 	"  -t <secs>\t" "time to run each test (default 10 secs)\n"
 	"  -n <bytes>\t" "size of the test buffer\n"
 	"  -m\t\t" "output in a machine readable format\n"
-	"  -h\t\t" "show this help\n"
+	"  -h\t\t" "show this help\n\n"
+	"Note: SEC driver is configured to support buffers smaller than 512K\n"
 ;
 
 int run_null(int fdc, struct test_params tp);
diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh
index 1901620..f83e362 100755
--- a/tests/async_speed_multi.sh
+++ b/tests/async_speed_multi.sh
@@ -40,6 +40,8 @@ Usage: `basename $0` [OPTIONS] <alg_name>
   -h              show this help
 
 alg_name: null, aes-128-cbc, aes-256-xts, sha1, sha256, crc32c
+
+Note: SEC driver is configured to support buffers smaller than 512K
 EOF
 }
 
diff --git a/tests/sync_speed.c b/tests/sync_speed.c
index ba1d170..ceae645 100644
--- a/tests/sync_speed.c
+++ b/tests/sync_speed.c
@@ -41,7 +41,8 @@ const char usage_str[] = "Usage: %s [OPTION]... <cipher>|<hash>\n"
 	"Run benchmark test for cipher or hash\n\n"
 	"  -t <secs>\t" "time to run each test (default 10 secs)\n"
 	"  -n <bytes>\t" "size of the test buffer\n"
-	"  -h\t\t" "show this help\n"
+	"  -h\t\t" "show this help\n\n"
+	"Note: SEC driver is configured to support buffers smaller than 512K\n"
 ;
 
 int run_null(int fdc, struct test_params tp);
-- 
2.10.2