From ece24e8f9a042561f188d8f09c60b146dd081c94 Mon Sep 17 00:00:00 2001 From: Chunrong Guo Date: Fri, 28 Jul 2017 15:44:09 +0800 Subject: cryptodev-qoriq: update to v1.9 Signed-off-by: Chunrong Guo Signed-off-by: Otavio Salvador --- ...0040-fix-structure-init-in-sha_speed-test.patch | 53 ---------------------- 1 file changed, 53 deletions(-) delete mode 100644 recipes-kernel/cryptodev/sdk_patches/0040-fix-structure-init-in-sha_speed-test.patch (limited to 'recipes-kernel/cryptodev/sdk_patches/0040-fix-structure-init-in-sha_speed-test.patch') diff --git a/recipes-kernel/cryptodev/sdk_patches/0040-fix-structure-init-in-sha_speed-test.patch b/recipes-kernel/cryptodev/sdk_patches/0040-fix-structure-init-in-sha_speed-test.patch deleted file mode 100644 index 053d376c..00000000 --- a/recipes-kernel/cryptodev/sdk_patches/0040-fix-structure-init-in-sha_speed-test.patch +++ /dev/null @@ -1,53 +0,0 @@ -From 3eb9ed52743584949ff9b4844e810333c34a3a1f Mon Sep 17 00:00:00 2001 -From: Cristian Stoica -Date: Fri, 12 Feb 2016 11:23:41 +0200 -Subject: [PATCH 40/40] fix structure init in sha_speed test - -Signed-off-by: Cristian Stoica ---- - tests/sha_speed.c | 8 ++++---- - 1 file changed, 4 insertions(+), 4 deletions(-) - -diff --git a/tests/sha_speed.c b/tests/sha_speed.c -index d731c66..75d0f42 100644 ---- a/tests/sha_speed.c -+++ b/tests/sha_speed.c -@@ -257,7 +257,7 @@ int hash_session(struct session_op *sess, int fdc) - int test_sha1(struct session_op *sess, int fdc) - { - fprintf(stderr, "Testing SHA1 Hash: \n"); -- memset(sess, 0, sizeof(sess)); -+ memset(sess, 0, sizeof(struct session_op)); - sess->mac = CRYPTO_SHA1; - return hash_session(sess, fdc); - } -@@ -266,7 +266,7 @@ int test_sha1(struct session_op *sess, int fdc) - int test_sha1_ciochash(struct session_op *sess, int fdc) - { - fprintf(stderr, "Testing SHA1 CIOCHASH: \n"); -- memset(sess, 0, sizeof(sess)); -+ memset(sess, 0, sizeof(struct session_op)); - sess->mac = CRYPTO_SHA1; - return ciochash_session(sess, fdc); - } -@@ -275,7 +275,7 @@ int test_sha1_ciochash(struct session_op *sess, int fdc) - int test_sha256(struct session_op *sess, int fdc) - { - fprintf(stderr, "Testing SHA256 Hash: \n"); -- memset(sess, 0, sizeof(sess)); -+ memset(sess, 0, sizeof(struct session_op)); - sess->mac = CRYPTO_SHA2_256; - return hash_session(sess, fdc); - } -@@ -284,7 +284,7 @@ int test_sha256(struct session_op *sess, int fdc) - int test_sha256_ciochash(struct session_op *sess, int fdc) - { - fprintf(stderr, "Testing SHA256 CIOCHASH: \n"); -- memset(sess, 0, sizeof(sess)); -+ memset(sess, 0, sizeof(struct session_op)); - sess->mac = CRYPTO_SHA2_256; - return ciochash_session(sess, fdc); - } --- -2.7.0 - -- cgit v1.2.3-54-g00ecf