]> code.ossystems Code Review - meta-freescale.git/blob
13dde817c3bba52a774b6f2d3c5fb26395558fac
[meta-freescale.git] /
1 From a6e777aba434533f726bc9d34b074b7f36429126 Mon Sep 17 00:00:00 2001
2 From: Cristian Stoica <cristian.stoica@nxp.com>
3 Date: Fri, 28 Oct 2016 17:23:27 +0300
4 Subject: [PATCH 083/104] use the same algorithm names in sync_speed as in
5  async_speed
6
7 Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com>
8 ---
9  tests/sync_speed.c | 12 ++++++------
10  1 file changed, 6 insertions(+), 6 deletions(-)
11
12 diff --git a/tests/sync_speed.c b/tests/sync_speed.c
13 index 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 -- 
57 2.10.2
58