Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
authorLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Oct 2020 15:50:16 +0000 (08:50 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Oct 2020 15:50:16 +0000 (08:50 -0700)
Pull crypto updates from Herbert Xu:
 "API:
   - Allow DRBG testing through user-space af_alg
   - Add tcrypt speed testing support for keyed hashes
   - Add type-safe init/exit hooks for ahash

  Algorithms:
   - Mark arc4 as obsolete and pending for future removal
   - Mark anubis, khazad, sead and tea as obsolete
   - Improve boot-time xor benchmark
   - Add OSCCA SM2 asymmetric cipher algorithm and use it for integrity

  Drivers:
   - Fixes and enhancement for XTS in caam
   - Add support for XIP8001B hwrng in xiphera-trng
   - Add RNG and hash support in sun8i-ce/sun8i-ss
   - Allow imx-rngc to be used by kernel entropy pool
   - Use crypto engine in omap-sham
   - Add support for Ingenic X1830 with ingenic"

* 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (205 commits)
  X.509: Fix modular build of public_key_sm2
  crypto: xor - Remove unused variable count in do_xor_speed
  X.509: fix error return value on the failed path
  crypto: bcm - Verify GCM/CCM key length in setkey
  crypto: qat - drop input parameter from adf_enable_aer()
  crypto: qat - fix function parameters descriptions
  crypto: atmel-tdes - use semicolons rather than commas to separate statements
  crypto: drivers - use semicolons rather than commas to separate statements
  hwrng: mxc-rnga - use semicolons rather than commas to separate statements
  hwrng: iproc-rng200 - use semicolons rather than commas to separate statements
  hwrng: stm32 - use semicolons rather than commas to separate statements
  crypto: xor - use ktime for template benchmarking
  crypto: xor - defer load time benchmark to a later time
  crypto: hisilicon/zip - fix the uninitalized 'curr_qm_qp_num'
  crypto: hisilicon/zip - fix the return value when device is busy
  crypto: hisilicon/zip - fix zero length input in GZIP decompress
  crypto: hisilicon/zip - fix the uncleared debug registers
  lib/mpi: Fix unused variable warnings
  crypto: x86/poly1305 - Remove assignments with no effect
  hwrng: npcm - modify readl to readb
  ...

1  2 
Documentation/devicetree/bindings/vendor-prefixes.yaml
MAINTAINERS
crypto/af_alg.c
crypto/tcrypt.c
drivers/crypto/Kconfig
drivers/crypto/qat/qat_common/qat_uclo.c
net/sunrpc/auth_gss/gss_krb5_wrap.c

diff --cc MAINTAINERS
Simple merge
diff --cc crypto/af_alg.c
Simple merge
diff --cc crypto/tcrypt.c
index 12e82a61b8961c230f6d72edcaa030ed0878ffaf,234b1adcfbcb3191efae3bd66aaf66e3bec74684..eea0f453cfb6e3275f3b1c813f592245e3c5752e
@@@ -2416,11 -2417,12 +2417,12 @@@ static int do_test(const char *alg, u3
        case 317:
                test_hash_speed("rmd320", sec, generic_hash_speed_template);
                if (mode > 300 && mode < 400) break;
 -              /* fall through */
 +              fallthrough;
        case 318:
-               test_hash_speed("ghash-generic", sec, hash_speed_template_16);
+               klen = 16;
+               test_hash_speed("ghash", sec, generic_hash_speed_template);
                if (mode > 300 && mode < 400) break;
 -              /* fall through */
 +              fallthrough;
        case 319:
                test_hash_speed("crc32c", sec, generic_hash_speed_template);
                if (mode > 300 && mode < 400) break;
index 52a9b7cf6576f97b23e709029deac470ee54748f,c2950127def6564ea1eb933c002f22826f41b10a..37593387164abef4bdb644713cefc24a8399ed38
@@@ -873,9 -873,7 +873,10 @@@ config CRYPTO_DEV_SA2U
        select CRYPTO_AES
        select CRYPTO_AES_ARM64
        select CRYPTO_ALGAPI
+       select CRYPTO_AUTHENC
 +      select CRYPTO_SHA1
 +      select CRYPTO_SHA256
 +      select CRYPTO_SHA512
        select HW_RANDOM
        select SG_SPLIT
        help
Simple merge