diff options
Diffstat (limited to 'recipes-kernel/cryptodev/sdk_patches/0104-fix-reset-finish-condition-before-test-start.patch')
| -rw-r--r-- | recipes-kernel/cryptodev/sdk_patches/0104-fix-reset-finish-condition-before-test-start.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/recipes-kernel/cryptodev/sdk_patches/0104-fix-reset-finish-condition-before-test-start.patch b/recipes-kernel/cryptodev/sdk_patches/0104-fix-reset-finish-condition-before-test-start.patch new file mode 100644 index 000000000..1038bed29 --- /dev/null +++ b/recipes-kernel/cryptodev/sdk_patches/0104-fix-reset-finish-condition-before-test-start.patch | |||
| @@ -0,0 +1,29 @@ | |||
| 1 | From a4b33ea30c86fb727c1d3ac3531c5548b6c194ba Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Radu Alexe <radu.alexe@nxp.com> | ||
| 3 | Date: Tue, 14 Feb 2017 12:52:33 +0200 | ||
| 4 | Subject: [PATCH 104/104] fix: reset finish condition before test start | ||
| 5 | |||
| 6 | Typo from previous commit: ba494703 | ||
| 7 | "add support for authenc(hmac(sha1), cbc(aes)) speed tests" | ||
| 8 | |||
| 9 | Signed-off-by: Radu Alexe <radu.alexe@nxp.com> | ||
| 10 | --- | ||
| 11 | tests/speed.c | 2 +- | ||
| 12 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 13 | |||
| 14 | diff --git a/tests/speed.c b/tests/speed.c | ||
| 15 | index b52938c..ae0b658 100644 | ||
| 16 | --- a/tests/speed.c | ||
| 17 | +++ b/tests/speed.c | ||
| 18 | @@ -276,7 +276,7 @@ static int encrypt_sync(int fdc, struct test_params tp, struct session_op *sess) | ||
| 19 | } | ||
| 20 | memset(buffer, val++, tp.nvalue); | ||
| 21 | |||
| 22 | - must_finish = 1; | ||
| 23 | + must_finish = 0; | ||
| 24 | alarm(tp.tvalue); | ||
| 25 | |||
| 26 | gettimeofday(&start, NULL); | ||
| 27 | -- | ||
| 28 | 2.10.2 | ||
| 29 | |||
