summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/cryptodev/sdk_patches/0054-rename-algorithm-names-for-clarity.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/0054-rename-algorithm-names-for-clarity.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/0054-rename-algorithm-names-for-clarity.patch')
-rw-r--r--recipes-kernel/cryptodev/sdk_patches/0054-rename-algorithm-names-for-clarity.patch57
1 files changed, 0 insertions, 57 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0054-rename-algorithm-names-for-clarity.patch b/recipes-kernel/cryptodev/sdk_patches/0054-rename-algorithm-names-for-clarity.patch
deleted file mode 100644
index 242f4a62..00000000
--- a/recipes-kernel/cryptodev/sdk_patches/0054-rename-algorithm-names-for-clarity.patch
+++ /dev/null
@@ -1,57 +0,0 @@
1From f71ba99a8943767c39df5104e86054c9c0e76fd8 Mon Sep 17 00:00:00 2001
2From: Cristian Stoica <cristian.stoica@nxp.com>
3Date: Tue, 25 Oct 2016 17:31:40 +0300
4Subject: [PATCH 054/104] rename algorithm names for clarity
5
6Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
7---
8 tests/async_speed.c | 12 ++++++------
9 1 file changed, 6 insertions(+), 6 deletions(-)
10
11diff --git a/tests/async_speed.c b/tests/async_speed.c
12index 73ec9d2..263ead7 100644
13--- a/tests/async_speed.c
14+++ b/tests/async_speed.c
15@@ -51,8 +51,8 @@ const char usage_str[] = "Usage: %s [OPTION]... <cipher>|<hash>\n"
16 ;
17
18 int run_null(int fdc, struct test_params tp);
19-int run_aes_cbc(int fdc, struct test_params tp);
20-int run_aes_xts(int fdc, struct test_params tp);
21+int run_aes_128_cbc(int fdc, struct test_params tp);
22+int run_aes_256_xts(int fdc, struct test_params tp);
23 int run_crc32c(int fdc, struct test_params tp);
24 int run_sha1(int fdc, struct test_params tp);
25 int run_sha256(int fdc, struct test_params tp);
26@@ -63,8 +63,8 @@ struct {
27 int (*func)(int, struct test_params);
28 } ciphers[ALG_COUNT] = {
29 {"null", run_null},
30- {"aes-cbc", run_aes_cbc},
31- {"aes-xts", run_aes_xts},
32+ {"aes-128-cbc", run_aes_128_cbc},
33+ {"aes-256-xts", run_aes_256_xts},
34 {"crc32c", run_crc32c},
35 {"sha1", run_sha1},
36 {"sha256", run_sha256},
37@@ -287,7 +287,7 @@ int run_null(int fdc, struct test_params tp)
38 return 0;
39 }
40
41-int run_aes_cbc(int fdc, struct test_params tp)
42+int run_aes_128_cbc(int fdc, struct test_params tp)
43 {
44 struct session_op sess;
45 char keybuf[32];
46@@ -308,7 +308,7 @@ int run_aes_cbc(int fdc, struct test_params tp)
47 return 0;
48 }
49
50-int run_aes_xts(int fdc, struct test_params tp)
51+int run_aes_256_xts(int fdc, struct test_params tp)
52 {
53 struct session_op sess;
54 char keybuf[32];
55--
562.10.2
57