]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - Add support for the rfc3685(ctr(sm4)) skcipher
authorPascal van Leeuwen <pascalvanl@gmail.com>
Fri, 13 Sep 2019 09:10:41 +0000 (11:10 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Fri, 4 Oct 2019 15:06:05 +0000 (01:06 +1000)
commit8d952fa622fb0ede5989a11ca8cbe2e4a5d7850c
tree53b49e593537255ead6c15530c82ab8f47c24cbb
parent1aba3b3faad7be603fe08052bb1c4288f4928f30
crypto: inside-secure - Add support for the rfc3685(ctr(sm4)) skcipher

This patch adds support for SM4 in (32 bit) CTR mode, i.e. skcipher
rfc3686(ctr(sm4)).

changes since v1:
- nothing

Signed-off-by: Pascal van Leeuwen <pvanleeuwen@verimatrix.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.c
drivers/crypto/inside-secure/safexcel.h
drivers/crypto/inside-secure/safexcel_cipher.c