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:
authorChunrong Guo <chunrong.guo@nxp.com>2017-07-28 15:44:09 +0800
committerOtavio Salvador <otavio@ossystems.com.br>2017-08-07 11:42:29 -0300
commitece24e8f9a042561f188d8f09c60b146dd081c94 (patch)
tree1f9b832c30fa2740f16363187493814aca21a3c2 /recipes-kernel/cryptodev/sdk_patches/0083-use-the-same-algorithm-names-in-sync_speed-as-in-asy.patch
parentd586bfdde75ab6cae4f2dcdb63c068e07f4c188e (diff)
downloadmeta-freescale-ece24e8f9a042561f188d8f09c60b146dd081c94.tar.gz
cryptodev-qoriq: update to v1.9
Signed-off-by: Chunrong Guo <B40290@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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, 0 insertions, 58 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
deleted file mode 100644
index 13dde817..00000000
--- a/recipes-kernel/cryptodev/sdk_patches/0083-use-the-same-algorithm-names-in-sync_speed-as-in-asy.patch
+++ /dev/null
@@ -1,58 +0,0 @@
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