All of lore.kernel.org
 help / color / mirror / Atom feed
From: wenyehai via ltp <ltp@lists.linux.it>
To: <ltp@lists.linux.it>
Cc: wenyehai <wenyehai@huawei.com>
Subject: [LTP] [PATCH] add several hash algorithms for crypto/crypto_user02.c
Date: Tue, 4 Jan 2022 17:15:29 +0800	[thread overview]
Message-ID: <1641287729-194863-1-git-send-email-wenyehai@huawei.com> (raw)

kernel/crypto/crypto_user02.c: add several hash algorithms according to
the latest linux kernel encryption module

Signed-off-by: Yehai Wen <wenyehai@huawei.com>
---
 testcases/kernel/crypto/crypto_user02.c | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/testcases/kernel/crypto/crypto_user02.c b/testcases/kernel/crypto/crypto_user02.c
index 717b297..afaff5d 100644
--- a/testcases/kernel/crypto/crypto_user02.c
+++ b/testcases/kernel/crypto/crypto_user02.c
@@ -40,7 +40,15 @@ static const char * const ALGORITHM_CANDIDATES[] = {
 	"hmac(sha256-generic)",
 	"hmac(sha384-generic)",
 	"hmac(md5-generic)",
-	"hmac(sm3-generic)"
+	"hmac(sm3-generic)",
+	"hmac(sha512-generic)",
+	"hmac(rmd160-generic)",
+	"hmac(sha3-224-generic)",
+	"hmac(sha3-256-generic)",
+	"hmac(sha3-384-generic)",
+	"hmac(sha3-512-generic)",
+	"hmac(streebog256-generic)",
+	"hmac(streebog512-generic)"
 };

 static const char* algorithm = NULL;
--
2.7.4


-- 
Mailing list info: https://lists.linux.it/listinfo/ltp

             reply	other threads:[~2022-01-04  9:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-04  9:15 wenyehai via ltp [this message]
2022-01-05 15:13 ` [LTP] [PATCH] add several hash algorithms for crypto/crypto_user02.c Eric Biggers
2022-01-10  3:59   ` [LTP] 答复: " wenyehai via ltp
2022-01-10 17:44     ` Eric Biggers
2022-01-11  2:19       ` [LTP] 答复: " wenyehai via ltp
2022-01-11  3:03         ` Eric Biggers
2022-01-11  3:11           ` [LTP] 答复: " wenyehai via ltp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1641287729-194863-1-git-send-email-wenyehai@huawei.com \
    --to=ltp@lists.linux.it \
    --cc=wenyehai@huawei.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.