diff options
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0085-add-notes-about-configured-limits-in-SEC-driver.patch')
| -rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0085-add-notes-about-configured-limits-in-SEC-driver.patch | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0085-add-notes-about-configured-limits-in-SEC-driver.patch b/recipes-kernel/cryptodev/sdk_patches/0085-add-notes-about-configured-limits-in-SEC-driver.patch new file mode 100644 index 000000000..23f4b544f --- /dev/null +++ b/recipes-kernel/cryptodev/sdk_patches/0085-add-notes-about-configured-limits-in-SEC-driver.patch | |||
| @@ -0,0 +1,56 @@ | |||
| 1 | From b682119d432af1190699c56039f6584ac83ae7b9 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 3 | Date: Fri, 28 Oct 2016 18:03:07 +0300 | ||
| 4 | Subject: [PATCH 085/104] add notes about configured limits in SEC driver | ||
| 5 | |||
| 6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 7 | --- | ||
| 8 | tests/async_speed.c | 3 ++- | ||
| 9 | tests/async_speed_multi.sh | 2 ++ | ||
| 10 | tests/sync_speed.c | 3 ++- | ||
| 11 | 3 files changed, 6 insertions(+), 2 deletions(-) | ||
| 12 | |||
| 13 | diff --git a/tests/async_speed.c b/tests/async_speed.c | ||
| 14 | index eb8468d..d16d17e 100644 | ||
| 15 | --- a/tests/async_speed.c | ||
| 16 | +++ b/tests/async_speed.c | ||
| 17 | @@ -47,7 +47,8 @@ const char usage_str[] = "Usage: %s [OPTION]... <cipher>|<hash>\n" | ||
| 18 | " -t <secs>\t" "time to run each test (default 10 secs)\n" | ||
| 19 | " -n <bytes>\t" "size of the test buffer\n" | ||
| 20 | " -m\t\t" "output in a machine readable format\n" | ||
| 21 | - " -h\t\t" "show this help\n" | ||
| 22 | + " -h\t\t" "show this help\n\n" | ||
| 23 | + "Note: SEC driver is configured to support buffers smaller than 512K\n" | ||
| 24 | ; | ||
| 25 | |||
| 26 | int run_null(int fdc, struct test_params tp); | ||
| 27 | diff --git a/tests/async_speed_multi.sh b/tests/async_speed_multi.sh | ||
| 28 | index 1901620..f83e362 100755 | ||
| 29 | --- a/tests/async_speed_multi.sh | ||
| 30 | +++ b/tests/async_speed_multi.sh | ||
| 31 | @@ -40,6 +40,8 @@ Usage: `basename $0` [OPTIONS] <alg_name> | ||
| 32 | -h show this help | ||
| 33 | |||
| 34 | alg_name: null, aes-128-cbc, aes-256-xts, sha1, sha256, crc32c | ||
| 35 | + | ||
| 36 | +Note: SEC driver is configured to support buffers smaller than 512K | ||
| 37 | EOF | ||
| 38 | } | ||
| 39 | |||
| 40 | diff --git a/tests/sync_speed.c b/tests/sync_speed.c | ||
| 41 | index ba1d170..ceae645 100644 | ||
| 42 | --- a/tests/sync_speed.c | ||
| 43 | +++ b/tests/sync_speed.c | ||
| 44 | @@ -41,7 +41,8 @@ const char usage_str[] = "Usage: %s [OPTION]... <cipher>|<hash>\n" | ||
| 45 | "Run benchmark test for cipher or hash\n\n" | ||
| 46 | " -t <secs>\t" "time to run each test (default 10 secs)\n" | ||
| 47 | " -n <bytes>\t" "size of the test buffer\n" | ||
| 48 | - " -h\t\t" "show this help\n" | ||
| 49 | + " -h\t\t" "show this help\n\n" | ||
| 50 | + "Note: SEC driver is configured to support buffers smaller than 512K\n" | ||
| 51 | ; | ||
| 52 | |||
| 53 | int run_null(int fdc, struct test_params tp); | ||
| 54 | -- | ||
| 55 | 2.10.2 | ||
| 56 | |||
