summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0083-use-the-same-algorithm-names-in-sync_speed-as-in-asy.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0083-use-the-same-algorithm-names-in-sync_speed-as-in-asy.patch')
-rw-r--r--recipes-kernel/cryptodev/sdk_patches/0083-use-the-same-algorithm-names-in-sync_speed-as-in-asy.patch58
1 files changed, 58 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0083-use-the-same-algorithm-names-in-sync_speed-as-in-asy.patch b/recipes-kernel/cryptodev/sdk_patches/0083-use-the-same-algorithm-names-in-sync_speed-as-in-asy.patch
new file mode 100644
index 00000000..13dde817
--- /dev/null
+++ b/recipes-kernel/cryptodev/sdk_patches/0083-use-the-same-algorithm-names-in-sync_speed-as-in-asy.patch
@@ -0,0 +1,58 @@
1From a6e777aba434533f726bc9d34b074b7f36429126 Mon Sep 17 00:00:00 2001
2From: Cristian Stoica <cristian.stoica@nxp.com>
3Date: Fri, 28 Oct 2016 17:23:27 +0300
4Subject: [PATCH 083/104] use the same algorithm names in sync_speed as in
5 async_speed
6
7Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
8---
9 tests/sync_speed.c | 12 ++++++------
10 1 file changed, 6 insertions(+), 6 deletions(-)
11
12diff --git a/tests/sync_speed.c b/tests/sync_speed.c
13index b0cb9ad..56cd3aa 100644
14--- a/tests/sync_speed.c
15+++ b/tests/sync_speed.c
16@@ -45,8 +45,8 @@ const char usage_str[] = "Usage: %s [OPTION]... <cipher>|<hash>\n"
17 ;
18
19 int run_null(int fdc, struct test_params tp);
20-int run_aes_cbc(int fdc, struct test_params tp);
21-int run_aes_xts(int fdc, struct test_params tp);
22+int run_aes_128_cbc(int fdc, struct test_params tp);
23+int run_aes_256_xts(int fdc, struct test_params tp);
24 int run_crc32c(int fdc, struct test_params tp);
25 int run_sha1(int fdc, struct test_params tp);
26 int run_sha256(int fdc, struct test_params tp);
27@@ -58,8 +58,8 @@ struct {
28 int (*func)(int, struct test_params);
29 } ciphers[ALG_COUNT] = {
30 {"null", run_null},
31- {"aes-cbc", run_aes_cbc},
32- {"aes-xts", run_aes_xts},
33+ {"aes-128-cbc", run_aes_128_cbc},
34+ {"aes-256-xts", run_aes_256_xts},
35 {"crc32c", run_crc32c},
36 {"sha1", run_sha1},
37 {"sha256", run_sha256},
38@@ -251,7 +251,7 @@ int run_null(int fdc, struct test_params tp)
39 return 0;
40 }
41
42-int run_aes_cbc(int fdc, struct test_params tp)
43+int run_aes_128_cbc(int fdc, struct test_params tp)
44 {
45 struct session_op sess;
46 char keybuf[32];
47@@ -271,7 +271,7 @@ int run_aes_cbc(int fdc, struct test_params tp)
48 return 0;
49 }
50
51-int run_aes_xts(int fdc, struct test_params tp)
52+int run_aes_256_xts(int fdc, struct test_params tp)
53 {
54 struct session_op sess;
55 char keybuf[32];
56--
572.10.2
58