diff options
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.patch | 57 |
1 files changed, 57 insertions, 0 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 new file mode 100644 index 000000000..242f4a62b --- /dev/null +++ b/recipes-kernel/cryptodev/sdk_patches/0054-rename-algorithm-names-for-clarity.patch | |||
| @@ -0,0 +1,57 @@ | |||
| 1 | From f71ba99a8943767c39df5104e86054c9c0e76fd8 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 3 | Date: Tue, 25 Oct 2016 17:31:40 +0300 | ||
| 4 | Subject: [PATCH 054/104] rename algorithm names for clarity | ||
| 5 | |||
| 6 | Signed-off-by: Cristian Stoica <cristian.stoica@nxp.com> | ||
| 7 | --- | ||
| 8 | tests/async_speed.c | 12 ++++++------ | ||
| 9 | 1 file changed, 6 insertions(+), 6 deletions(-) | ||
| 10 | |||
| 11 | diff --git a/tests/async_speed.c b/tests/async_speed.c | ||
| 12 | index 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 | -- | ||
| 56 | 2.10.2 | ||
| 57 | |||
