From: Pascal van Leeuwen <pascalvanl@gmail.com>
To: linux-crypto@vger.kernel.org
Cc: antoine.tenart@bootlin.com, herbert@gondor.apana.org.au,
davem@davemloft.net,
Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Subject: [PATCH 0/7] crypto: inside-secure - Add support for SM4 ciphers
Date: Wed, 11 Sep 2019 12:38:17 +0200 [thread overview]
Message-ID: <1568198304-8101-1-git-send-email-pvanleeuwen@verimatrix.com> (raw)
Extend driver support with ecb(sm4), cbc(sm4), ofb(sm4), cfb(sm4) and
rfc3686(ctr(sm4)) skcipher algorithms.
Also add ofb(sm4), cfb(sm4) and rfc3686(ctr(sm4)) testvectors to testmgr.
The patchset has been tested with the eip197c_iewxkbc configuration
on the Xilinx VCU118 development board, including the crypto extra tests.
Note that this patchset applies on top of the earlier submitted
"Add support for (HMAC) SM3" series.
Pascal van Leeuwen (7):
crypto: inside-secure - Add support for the ecb(sm4) skcipher
crypto: inside-secure - Add support for the cbc(sm4) skcipher
crypto: inside-secure - Add support for the ofb(sm4) skcipher
crypto: testmgr - Added testvectors for the ofb(sm4) & cfb(sm4)
skciphers
crypto: inside-secure - Add support for the cfb(sm4) skcipher
crypto: inside-secure - Add support for the rfc3685(ctr(sm4)) skcipher
crypto: testmgr - Added testvectors for the rfc3686(ctr(sm4)) skcipher
crypto/testmgr.c | 18 ++
crypto/testmgr.h | 127 +++++++++++++
drivers/crypto/inside-secure/safexcel.c | 5 +
drivers/crypto/inside-secure/safexcel.h | 6 +
drivers/crypto/inside-secure/safexcel_cipher.c | 249 +++++++++++++++++++++++++
5 files changed, 405 insertions(+)
--
1.8.3.1
next reply other threads:[~2019-09-11 11:41 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-11 10:38 Pascal van Leeuwen [this message]
2019-09-11 10:38 ` [PATCH 1/7] crypto: inside-secure - Add support for the ecb(sm4) skcipher Pascal van Leeuwen
2019-09-11 10:38 ` [PATCH 2/7] crypto: inside-secure - Add support for the cbc(sm4) skcipher Pascal van Leeuwen
2019-09-11 10:38 ` [PATCH 3/7] crypto: inside-secure - Add support for the ofb(sm4) skcipher Pascal van Leeuwen
2019-09-11 10:38 ` [PATCH 4/7] crypto: testmgr - Added testvectors for the ofb(sm4) & cfb(sm4) skciphers Pascal van Leeuwen
2019-09-11 16:05 ` Eric Biggers
2019-09-11 19:34 ` Pascal Van Leeuwen
2019-09-15 20:20 ` Eric Biggers
2019-09-15 22:02 ` Pascal Van Leeuwen
2019-09-11 10:38 ` [PATCH 5/7] crypto: inside-secure - Add support for the cfb(sm4) skcipher Pascal van Leeuwen
2019-09-11 10:38 ` [PATCH 6/7] crypto: inside-secure - Add support for the rfc3685(ctr(sm4)) skcipher Pascal van Leeuwen
2019-09-11 10:38 ` [PATCH 7/7] crypto: testmgr - Added testvectors for the rfc3686(ctr(sm4)) skcipher Pascal van Leeuwen
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=1568198304-8101-1-git-send-email-pvanleeuwen@verimatrix.com \
--to=pascalvanl@gmail.com \
--cc=antoine.tenart@bootlin.com \
--cc=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-crypto@vger.kernel.org \
--cc=pvanleeuwen@verimatrix.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).