2020-10-12 04:40:20

by Herbert Xu

[permalink] [raw]
Subject: [GIT PULL] Crypto Update for 5.10

Hi Linus:

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.

The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

Linux 5.9-rc1 (2020-08-16 13:04:57 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus

for you to fetch changes up to 3093e7c16e12d729c325adb3c53dde7308cefbd8:

X.509: Fix modular build of public_key_sm2 (2020-10-08 16:39:14 +1100)

----------------------------------------------------------------
Andrei Botila (10):
crypto: caam/jr - add fallback for XTS with more than 8B IV
crypto: caam/qi - add fallback for XTS with more than 8B IV
crypto: caam/qi2 - add fallback for XTS with more than 8B IV
crypto: caam/jr - add support for more XTS key lengths
crypto: caam/qi - add support for more XTS key lengths
crypto: caam/qi2 - add support for more XTS key lengths
crypto: caam - add xts check for block length equal to zero
crypto: caam/jr - add support for XTS with 16B IV
crypto: caam/qi - add support for XTS with 16B IV
crypto: caam/qi2 - add support for XTS with 16B IV

Andy Shevchenko (1):
crypto: caam - use traditional error check pattern

Ard Biesheuvel (15):
staging/rtl8192e: switch to RC4 library interface
staging/rtl8192u: switch to RC4 library interface
SUNRPC: remove RC4-HMAC-MD5 support from KerberosV
crypto: n2 - remove ecb(arc4) support
crypto: bcm-iproc - remove ecb(arc4) support
net: wireless: drop bogus CRYPTO_xxx Kconfig selects
crypto: arc4 - mark ecb(arc4) skcipher as obsolete
crypto: Kconfig - mark unused ciphers as obsolete
crypto: arm/sha256-neon - avoid ADRL pseudo instruction
crypto: arm/sha512-neon - avoid ADRL pseudo instruction
crypto: arm/aes-neonbs - avoid hacks to prevent Thumb2 mode switches
crypto: arm/aes-neonbs - avoid loading reorder argument on encryption
crypto: arm/aes-neonbs - use typed init/exit routines for XTS
crypto: xor - defer load time benchmark to a later time
crypto: xor - use ktime for template benchmarking

Atte Tommiska (3):
dt-bindings: vendor-prefixes: Add Xiphera vendor prefix
dt-bindings: rng: add bindings for Xiphera XIP8001B hwrng
hwrng: xiphera-trng: add support for XIP8001B hwrng

Christophe JAILLET (2):
crypto: hifn_795x - switch from 'pci_' to 'dma_' API
crypto: ixp4xx - Fix the size used in a 'dma_free_coherent()' call

Colin Ian King (1):
crypto: chelsio - fix minor indentation issue

Corentin Labbe (18):
crypto: proc - Removing some useless only space lines
crypto: sun8i-ss - Add SS_START define
crypto: sun8i-ss - Add support for the PRNG
crypto: sun8i-ss - support hash algorithms
crypto: sun8i-ss - fix a trivial typo
crypto: sun8i-ss - Add more comment on some structures
crypto: sun8i-ss - better debug printing
crypto: sun8i-ce - handle endianness of t_common_ctl
crypto: sun8i-ce - move iv data to request context
crypto: sun8i-ce - split into prepare/run/unprepare
crypto: sun8i-ce - handle different error registers
crypto: sun8i-ce - rename has_t_dlen_in_bytes to cipher_t_dlen_in_bytes
crypto: sun8i-ce - support hash algorithms
crypto: sun8i-ce - Add stat_bytes debugfs
crypto: sun8i-ce - Add support for the PRNG
crypto: sun8i-ce - Add support for the TRNG
crypto: sun8i-ce - fix comparison of integer expressions of different signedness
crypto: sun8i-ss - fix comparison of integer expressions of different signedness

Dan Carpenter (1):
crypto: sa2ul - Fix pm_runtime_get_sync() error checking

Daniel Jordan (1):
padata: add another maintainer and another list

Denis Efremov (5):
crypto: inside-secure - use kfree_sensitive()
crypto: amlogic - use kfree_sensitive()
crypto: sun8i-ce - use kfree_sensitive()
crypto: sun8i-ss - use kfree_sensitive()
crypto: sun8i-ss - remove redundant memzero_explicit()

Dominik Przychodni (1):
crypto: qat - check cipher length for aead AES-CBC-HMAC-SHA

Elena Petrova (1):
crypto: af_alg - add extra parameters for DRBG interface

Fabio Estevam (1):
crypto: arm/curve25519 - include <linux/scatterlist.h>

George Acosta (1):
crypto: cavium/nitrox - add an error message to explain the failure of pci_request_mem_regions

Gilad Ben-Yossef (2):
crypto: ccree - remove data unit size support
crypto: ccree - remove bitlocker cipher

Giovanni Cabiddu (5):
crypto: qat - include domain in top level debugfs path
crypto: qat - replace device ids defines
crypto: qat - use PCI_VDEVICE
crypto: qat - fix function parameters descriptions
crypto: qat - drop input parameter from adf_enable_aer()

Hao Fang (1):
crypto: hisilicon/zip - fix the uncleared debug registers

Herbert Xu (32):
crypto: algapi - Move crypto_yield into internal.h
crypto: algapi - Remove skbuff.h inclusion
crypto: algif_skcipher - EBUSY on aio should be an error
crypto: algif_aead - Do not set MAY_BACKLOG on the async path
crypto: marvell/cesa - Fix sparse warnings
crypto: tcrypt - Add support for hash speed testing with keys
crypto: stm32 - Add missing header inclusions
crypto: ahash - Add init_tfm/exit_tfm
crypto: ahash - Add ahash_alg_instance
crypto: ahash - Remove AHASH_REQUEST_ON_STACK
crypto: hifn_795x - Remove 64-bit build-time check
crypto: mediatek - Fix endianness bugs and sparse warnings
crypto: stm32 - Fix sparse warnings
crypto: arm/poly1305 - Add prototype for poly1305_blocks_neon
crypto: arm64/sha - Add declarations for assembly variables
crypto: arm64/gcm - Fix endianness warnings
crypto: powerpc/crc-vpmsum_test - Fix sparse endianness warning
crypto: amlogic - Fix endianness marker
crypto: arm/aes-neonbs - Use generic cbc encryption path
crypto: cbc - Remove cbc.h
crypto: ux500 - Fix sparse endianness warnings
crypto: sa2ul - Select CRYPTO_AUTHENC
crypto: sun4i-ss - Fix sparse endianness markers
crypto: n2 - Fix sparse endianness warning
crypto: inside-secure - Move priv pointer into safexcel_context
crypto: inside-secure - Move ipad/opad into safexcel_context
crypto: inside-secure - Reuse code in safexcel_hmac_alg_setkey
crypto: lib/chacha20poly1305 - Set SG_MITER_ATOMIC unconditionally
crypto: x86/poly1305 - Remove assignments with no effect
lib/mpi: Fix unused variable warnings
crypto: bcm - Verify GCM/CCM key length in setkey
X.509: Fix modular build of public_key_sm2

Horia Geantă (1):
crypto: caam - Move debugfs fops into standalone file

Hui Tang (1):
crypto: hisilicon/qm - fix judgement of queue is full

Ira Weiny (2):
crypto: ux500 - Fix kmap() bug
crypto: hash - Remove unused async iterators

Jorge Ramirez-Ortiz (2):
hwrng: optee - handle unlimited data rates
hwrng: optee - fix wait use case

Julia Lawall (5):
hwrng: stm32 - use semicolons rather than commas to separate statements
hwrng: iproc-rng200 - use semicolons rather than commas to separate statements
hwrng: mxc-rnga - use semicolons rather than commas to separate statements
crypto: drivers - use semicolons rather than commas to separate statements
crypto: atmel-tdes - use semicolons rather than commas to separate statements

Krzysztof Kozlowski (9):
hwrng: cctrn - Simplify with dev_err_probe()
crypto: sa2ul - Simplify with dev_err_probe()
crypto: ccree - Simplify with dev_err_probe()
crypto: s5p-sss - Add and fix kerneldoc
crypto: s5p-sss - Pass error from clk_get and reduce verbosity on deferral
crypto: caam - Fix kerneldoc
crypto: caam - Simplify with dev_err_probe()
crypto: stm32-hash - Simplify with dev_err_probe()
crypto: sun8i - Simplify with dev_err_probe()

Liu Shixin (3):
crypto: atmel-aes - convert to use be32_add_cpu()
crypto: qat - convert to use DEFINE_SEQ_ATTRIBUTE macro
crypto: cpt - simplify the return expression of cav_register_algs

Longfang Liu (5):
crypto: hisilicon - update mininum queue
crypto: hisilicon - update HPRE module parameter description
crypto: hisilicon - update SEC module parameter description
crypto: hisilicon - update ZIP module parameter description
crypto: hisilicon - fixed memory allocation error

Madhuparna Bhowmik (1):
crypto: picoxcell - Fix potential race condition bug

Marco Felsch (1):
hwrng: imx-rngc - add quality to use it as kernel entropy pool

Meng Yu (3):
crypto: hisilicon/hpre - remove useless code
crypto: hisilicon/hpre - adjust some coding style
crypto: hisilicon/hpre - fix a bug in dh algorithm

Nathan Chancellor (1):
crypto: xor - Remove unused variable count in do_xor_speed

Nicolas Toromanoff (1):
crypto: stm32/crc32 - Avoid lock if hardware is already used

Pascal van Leeuwen (2):
crypto: inside-secure - Prevent missing of processing errors
crypto: inside-secure - Add support for EIP197 with output classifier

Pavel Machek (1):
crypto: ccp - fix error handling

Peter Ujfalusi (1):
crypto: sa2ul - Fix DMA mapping API usage

Qinglang Miao (8):
crypto: qat - remove unnecessary mutex_init()
crypto: allwinner - Convert to DEFINE_SHOW_ATTRIBUTE
crypto: amlogic - Convert to DEFINE_SHOW_ATTRIBUTE
crypto: caam - Convert to DEFINE_SHOW_ATTRIBUTE
crypto: cavium/zip - Convert to DEFINE_SHOW_ATTRIBUTE
crypto: hisilicon/qm - Convert to DEFINE_SHOW_ATTRIBUTE
crypto: marvell/octeontx - simplify the return expression of create_sysfs_eng_grps_info()
crypto: mediatek - simplify the return expression of mtk_dfe_dse_reset()

Ram Muthiah (1):
crypto: virtio - don't use 'default m'

Randy Dunlap (5):
crypto: algif_aead - delete duplicated word
crypto: crc32c_generic - delete and fix duplicated words
crypto: crct10dif_generic - fix duplicated words
crypto: engine - delete duplicated word
crypto: tcrypt - delete duplicated words in messages

Shukun Tan (4):
crypto: hisilicon/qm - clear used reference count when start qp
crypto: hisilicon/qm - fix event queue depth to 2048
crypto: hisilicon/qm - fix VF not available after PF FLR
crypto: hisilicon/zip - modify debugfs interface parameters

Sihang Chen (2):
crypto: hisilicon/qm - fix wrong release after using strsep
crypto: hisilicon/zip - fix the uninitalized 'curr_qm_qp_num'

Tero Kristo (3):
crypto: sa2ul - fix compiler warning produced by clang
crypto: omap-sham - convert to use crypto engine
crypto: omap-sham - fix digcnt register handling with export/import

Tianjia Zhang (12):
crypto: mediatek - Fix wrong return value in mtk_desc_ring_alloc()
crypto: sm3 - export crypto_sm3_final function
lib/mpi: Extend the MPI library
lib/mpi: Introduce ec implementation to MPI library
crypto: sm2 - introduce OSCCA SM2 asymmetric cipher algorithm
crypto: testmgr - support test with different ciphertext per encryption
crypto: testmgr - Fix potential memory leak in test_akcipher_one()
crypto: sm2 - add SM2 test vectors to testmgr
X.509: support OSCCA certificate parse
X.509: support OSCCA SM2-with-SM3 certificate verification
integrity: Asymmetric digsig supports SM2-with-SM3 algorithm
X.509: fix error return value on the failed path

Tom Rix (1):
hwrng: intel - cleanup initialization

Tomer Maimon (1):
hwrng: npcm - modify readl to readb

Uros Bizjak (3):
crypto: x86/crc32c-intel - Use CRC32 mnemonic
crypto: curve25519-x86_64 - Use XORL r32,32
crypto: poly1305-x86_64 - Use XORL r32,32

Weili Qian (2):
crypto: hisilicon/qm - fix the call trace when unbind device
crypto: hisilicon/qm - remove the update of flags

Xiaoliang Pang (1):
cypto: mediatek - fix leaks in mtk_desc_ring_alloc

Xu Wang (1):
crypto: s5p-sss - remove redundant null check

Yang Shen (15):
crypto: hisilicon/qm - fix print frequence in hisi_qp_send
crypto: hisilicon/qm - fix no stop reason when use 'hisi_qm_stop'
crypto: hisilicon/qm - register callback function to 'pci_driver.shutdown'
crypto: hisilicon/qm - fix the process of register algorithms to crypto
crypto: hisilicon/zip - remove some useless parameters
crypto: hisilicon/zip - unify naming style for functions and macros
crypto: hisilicon/zip - replace 'sprintf' with 'scnprintf'
crypto: hisilicon/zip - use a enum parameter instead of some macros
crypto: hisilicon/zip - add print for error branch
crypto: hisilicon/zip - fix static check warning
crypto: hisilicon/zip - move some private macros from 'zip.h' to 'zip_crypto.c'
crypto: hisilicon/zip - supplement some comments
crypto: hisilicon/zip - fix some coding styles
crypto: hisilicon/qm - fix wrong return type of 'pci_get_drvdata'
crypto: hisilicon/zip - fix the return value when device is busy

YueHaibing (1):
crypto: sa2ul - Fix pointer-to-int-cast warning

Zhang Qilong (1):
crypto: marvell/cesa - use devm_platform_ioremap_resource_byname

Zhou Wang (1):
crypto: hisilicon/zip - fix zero length input in GZIP decompress

[email protected] (1):
crypto: ccree - fix runtime PM imbalance on error

周琰杰 (Zhou Yanjie) (2):
dt-bindings: RNG: Add Ingenic TRNG bindings.
hwrng: ingenic - Add hardware TRNG for Ingenic X1830

Documentation/crypto/userspace-if.rst | 20 +-
.../devicetree/bindings/rng/ingenic,trng.yaml | 43 +
.../bindings/rng/xiphera,xip8001b-trng.yaml | 33 +
.../devicetree/bindings/vendor-prefixes.yaml | 2 +
MAINTAINERS | 2 +
arch/arm/crypto/aes-neonbs-core.S | 54 +-
arch/arm/crypto/aes-neonbs-glue.c | 58 +-
arch/arm/crypto/curve25519-glue.c | 1 +
arch/arm/crypto/poly1305-glue.c | 1 +
arch/arm/crypto/sha256-armv4.pl | 4 +-
arch/arm/crypto/sha256-core.S_shipped | 4 +-
arch/arm/crypto/sha512-armv4.pl | 4 +-
arch/arm/crypto/sha512-core.S_shipped | 4 +-
arch/arm64/crypto/ghash-ce-glue.c | 4 +-
arch/arm64/crypto/sha1-ce-glue.c | 3 +
arch/arm64/crypto/sha2-ce-glue.c | 3 +
arch/powerpc/crypto/crc-vpmsum_test.c | 6 +-
arch/x86/crypto/blake2s-glue.c | 1 +
arch/x86/crypto/chacha_glue.c | 1 +
arch/x86/crypto/crc32c-intel_glue.c | 18 +-
arch/x86/crypto/curve25519-x86_64.c | 69 +-
arch/x86/crypto/nhpoly1305-avx2-glue.c | 1 +
arch/x86/crypto/nhpoly1305-sse2-glue.c | 1 +
arch/x86/crypto/poly1305-x86_64-cryptogams.pl | 8 +-
arch/x86/crypto/poly1305_glue.c | 4 +-
crypto/Kconfig | 40 +
crypto/Makefile | 8 +
crypto/af_alg.c | 14 +-
crypto/ahash.c | 54 +-
crypto/algif_aead.c | 9 +-
crypto/algif_rng.c | 175 ++-
crypto/algif_skcipher.c | 2 +-
crypto/arc4.c | 11 +
crypto/asymmetric_keys/public_key.c | 63 +
crypto/asymmetric_keys/x509_cert_parser.c | 27 +-
crypto/asymmetric_keys/x509_public_key.c | 3 +
crypto/cbc.c | 144 +-
crypto/crc32c_generic.c | 4 +-
crypto/crct10dif_generic.c | 2 +-
crypto/crypto_engine.c | 3 +-
crypto/ecrdsa.c | 1 +
crypto/internal.h | 16 +-
crypto/jitterentropy-kcapi.c | 2 +-
crypto/proc.c | 4 +-
crypto/rsa-pkcs1pad.c | 1 +
crypto/sm2.c | 481 +++++++
crypto/sm2signature.asn1 | 4 +
crypto/sm3_generic.c | 7 +-
crypto/tcrypt.c | 18 +-
crypto/tcrypt.h | 29 -
crypto/testmgr.c | 25 +-
crypto/testmgr.h | 59 +
crypto/xor.c | 69 +-
drivers/char/hw_random/Kconfig | 24 +
drivers/char/hw_random/Makefile | 2 +
drivers/char/hw_random/cctrng.c | 9 +-
drivers/char/hw_random/imx-rngc.c | 1 +
drivers/char/hw_random/ingenic-trng.c | 161 +++
drivers/char/hw_random/intel-rng.c | 2 +-
drivers/char/hw_random/iproc-rng200.c | 8 +-
drivers/char/hw_random/mxc-rnga.c | 6 +-
drivers/char/hw_random/npcm-rng.c | 14 +-
drivers/char/hw_random/optee-rng.c | 6 +-
drivers/char/hw_random/stm32-rng.c | 8 +-
drivers/char/hw_random/xiphera-trng.c | 150 ++
drivers/crypto/Kconfig | 1 +
drivers/crypto/allwinner/Kconfig | 43 +
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash.c | 17 +-
drivers/crypto/allwinner/sun8i-ce/Makefile | 3 +
.../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 131 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 405 +++++-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 413 ++++++
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c | 164 +++
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-trng.c | 127 ++
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 139 +-
drivers/crypto/allwinner/sun8i-ss/Makefile | 2 +
.../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 16 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 229 ++-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 444 ++++++
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 173 +++
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 89 +-
drivers/crypto/amcc/crypto4xx_alg.c | 2 +-
drivers/crypto/amcc/crypto4xx_core.h | 1 +
drivers/crypto/amlogic/amlogic-gxl-cipher.c | 12 +-
drivers/crypto/amlogic/amlogic-gxl-core.c | 16 +-
drivers/crypto/atmel-aes.c | 2 +-
drivers/crypto/atmel-tdes.c | 2 +-
drivers/crypto/bcm/cipher.c | 111 +-
drivers/crypto/bcm/cipher.h | 1 -
drivers/crypto/bcm/spu.c | 23 +-
drivers/crypto/bcm/spu.h | 1 -
drivers/crypto/bcm/spu2.c | 12 +-
drivers/crypto/bcm/spu2.h | 1 -
drivers/crypto/caam/Kconfig | 3 +
drivers/crypto/caam/Makefile | 2 +
drivers/crypto/caam/caamalg.c | 94 +-
drivers/crypto/caam/caamalg_desc.c | 28 +-
drivers/crypto/caam/caamalg_qi.c | 94 +-
drivers/crypto/caam/caamalg_qi2.c | 118 +-
drivers/crypto/caam/caamalg_qi2.h | 2 +
drivers/crypto/caam/ctrl.c | 88 +-
drivers/crypto/caam/debugfs.c | 96 ++
drivers/crypto/caam/debugfs.h | 26 +
drivers/crypto/caam/dpseci-debugfs.c | 23 +-
drivers/crypto/caam/intern.h | 17 -
drivers/crypto/caam/jr.c | 10 +-
drivers/crypto/caam/qi.c | 20 +-
drivers/crypto/cavium/cpt/cptvf_algs.c | 8 +-
drivers/crypto/cavium/nitrox/nitrox_main.c | 1 +
drivers/crypto/cavium/zip/zip_main.c | 44 +-
drivers/crypto/ccp/ccp-ops.c | 3 +-
drivers/crypto/ccree/cc_cipher.c | 282 +---
drivers/crypto/ccree/cc_crypto_ctx.h | 1 -
drivers/crypto/ccree/cc_driver.c | 7 +-
drivers/crypto/ccree/cc_driver.h | 1 -
drivers/crypto/ccree/cc_pm.c | 6 +-
drivers/crypto/chelsio/chcr_core.c | 2 +-
drivers/crypto/hifn_795x.c | 28 +-
drivers/crypto/hisilicon/hpre/hpre.h | 1 -
drivers/crypto/hisilicon/hpre/hpre_crypto.c | 59 +-
drivers/crypto/hisilicon/hpre/hpre_main.c | 33 +-
drivers/crypto/hisilicon/qm.c | 237 ++-
drivers/crypto/hisilicon/qm.h | 31 +-
drivers/crypto/hisilicon/sec2/sec_crypto.c | 51 +-
drivers/crypto/hisilicon/sec2/sec_main.c | 39 +-
drivers/crypto/hisilicon/zip/zip.h | 15 -
drivers/crypto/hisilicon/zip/zip_crypto.c | 140 +-
drivers/crypto/hisilicon/zip/zip_main.c | 195 +--
drivers/crypto/img-hash.c | 1 +
drivers/crypto/inside-secure/safexcel.c | 44 +-
drivers/crypto/inside-secure/safexcel.h | 28 +-
drivers/crypto/inside-secure/safexcel_cipher.c | 90 +-
drivers/crypto/inside-secure/safexcel_hash.c | 153 +-
drivers/crypto/inside-secure/safexcel_ring.c | 9 +-
drivers/crypto/ixp4xx_crypto.c | 2 +-
drivers/crypto/marvell/cesa/cesa.c | 4 +-
drivers/crypto/marvell/cesa/cesa.h | 20 +-
drivers/crypto/marvell/cesa/cipher.c | 5 +-
drivers/crypto/marvell/cesa/hash.c | 24 +-
drivers/crypto/marvell/cesa/tdma.c | 16 +-
drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c | 8 +-
drivers/crypto/mediatek/mtk-aes.c | 57 +-
drivers/crypto/mediatek/mtk-platform.c | 16 +-
drivers/crypto/mediatek/mtk-sha.c | 2 +-
drivers/crypto/n2_core.c | 60 +-
drivers/crypto/omap-sham.c | 189 ++-
drivers/crypto/padlock-aes.c | 1 +
drivers/crypto/picoxcell_crypto.c | 9 +-
drivers/crypto/qat/qat_c3xxx/adf_drv.c | 19 +-
drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 17 +-
drivers/crypto/qat/qat_c62x/adf_drv.c | 19 +-
drivers/crypto/qat/qat_c62xvf/adf_drv.c | 17 +-
drivers/crypto/qat/qat_common/adf_accel_devices.h | 6 -
drivers/crypto/qat/qat_common/adf_aer.c | 6 +-
drivers/crypto/qat/qat_common/adf_cfg.c | 19 +-
drivers/crypto/qat/qat_common/adf_common_drv.h | 2 +-
drivers/crypto/qat/qat_common/adf_ctl_drv.c | 2 -
drivers/crypto/qat/qat_common/adf_dev_mgr.c | 2 +-
drivers/crypto/qat/qat_common/adf_sriov.c | 6 +-
.../crypto/qat/qat_common/adf_transport_debug.c | 42 +-
drivers/crypto/qat/qat_common/qat_algs.c | 10 +-
drivers/crypto/qat/qat_common/qat_hal.c | 7 +-
drivers/crypto/qat/qat_common/qat_uclo.c | 9 +-
drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 19 +-
drivers/crypto/qat/qat_dh895xccvf/adf_drv.c | 17 +-
drivers/crypto/qce/core.c | 1 +
drivers/crypto/qce/sha.c | 1 +
drivers/crypto/qce/skcipher.c | 1 +
drivers/crypto/qcom-rng.c | 1 +
drivers/crypto/rockchip/rk3288_crypto.c | 1 +
drivers/crypto/rockchip/rk3288_crypto.h | 1 +
drivers/crypto/rockchip/rk3288_crypto_ahash.c | 1 +
drivers/crypto/rockchip/rk3288_crypto_skcipher.c | 1 +
drivers/crypto/s5p-sss.c | 28 +-
drivers/crypto/sa2ul.c | 235 +--
drivers/crypto/sahara.c | 2 +-
drivers/crypto/stm32/Kconfig | 1 +
drivers/crypto/stm32/stm32-crc32.c | 22 +-
drivers/crypto/stm32/stm32-cryp.c | 47 +-
drivers/crypto/stm32/stm32-hash.c | 16 +-
drivers/crypto/talitos.c | 8 +-
drivers/crypto/ux500/cryp/cryp_core.c | 28 +-
drivers/crypto/ux500/hash/hash_core.c | 31 +-
drivers/crypto/virtio/Kconfig | 1 -
drivers/crypto/xilinx/zynqmp-aes-gcm.c | 1 +
drivers/net/wireless/intel/ipw2x00/Kconfig | 4 -
drivers/net/wireless/intersil/hostap/Kconfig | 4 -
drivers/staging/rtl8192e/Kconfig | 4 +-
drivers/staging/rtl8192e/rtllib_crypt_tkip.c | 70 +-
drivers/staging/rtl8192e/rtllib_crypt_wep.c | 72 +-
drivers/staging/rtl8192u/Kconfig | 1 +
.../rtl8192u/ieee80211/ieee80211_crypt_tkip.c | 81 +-
.../rtl8192u/ieee80211/ieee80211_crypt_wep.c | 64 +-
include/crypto/algapi.h | 8 +-
include/crypto/cbc.h | 141 --
include/crypto/hash.h | 18 +-
include/crypto/if_alg.h | 1 +
include/crypto/internal/hash.h | 19 +-
include/crypto/public_key.h | 3 +
include/crypto/sm2.h | 25 +
include/crypto/sm3.h | 2 +
include/linux/mpi.h | 192 +++
include/linux/oid_registry.h | 6 +
include/linux/sunrpc/gss_krb5.h | 11 -
include/linux/sunrpc/gss_krb5_enctypes.h | 9 +-
include/uapi/linux/if_alg.h | 1 +
lib/crypto/chacha20poly1305.c | 4 +-
lib/mpi/Makefile | 6 +
lib/mpi/ec.c | 1509 ++++++++++++++++++++
lib/mpi/mpi-add.c | 155 ++
lib/mpi/mpi-bit.c | 251 ++++
lib/mpi/mpi-cmp.c | 46 +-
lib/mpi/mpi-div.c | 234 +++
lib/mpi/mpi-internal.h | 53 +
lib/mpi/mpi-inv.c | 143 ++
lib/mpi/mpi-mod.c | 155 ++
lib/mpi/mpi-mul.c | 91 ++
lib/mpi/mpicoder.c | 336 +++++
lib/mpi/mpih-div.c | 294 ++++
lib/mpi/mpih-mul.c | 25 +
lib/mpi/mpiutil.c | 204 +++
net/sunrpc/Kconfig | 1 -
net/sunrpc/auth_gss/gss_krb5_crypto.c | 276 ----
net/sunrpc/auth_gss/gss_krb5_mech.c | 95 --
net/sunrpc/auth_gss/gss_krb5_seal.c | 1 -
net/sunrpc/auth_gss/gss_krb5_seqnum.c | 87 --
net/sunrpc/auth_gss/gss_krb5_unseal.c | 1 -
net/sunrpc/auth_gss/gss_krb5_wrap.c | 65 +-
security/integrity/digsig_asymmetric.c | 14 +-
229 files changed, 9465 insertions(+), 3102 deletions(-)
create mode 100644 Documentation/devicetree/bindings/rng/ingenic,trng.yaml
create mode 100644 Documentation/devicetree/bindings/rng/xiphera,xip8001b-trng.yaml
create mode 100644 crypto/sm2.c
create mode 100644 crypto/sm2signature.asn1
create mode 100644 drivers/char/hw_random/ingenic-trng.c
create mode 100644 drivers/char/hw_random/xiphera-trng.c
create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c
create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c
create mode 100644 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-trng.c
create mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c
create mode 100644 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c
create mode 100644 drivers/crypto/caam/debugfs.c
create mode 100644 drivers/crypto/caam/debugfs.h
delete mode 100644 include/crypto/cbc.h
create mode 100644 include/crypto/sm2.h
create mode 100644 lib/mpi/ec.c
create mode 100644 lib/mpi/mpi-add.c
create mode 100644 lib/mpi/mpi-div.c
create mode 100644 lib/mpi/mpi-inv.c
create mode 100644 lib/mpi/mpi-mod.c
create mode 100644 lib/mpi/mpi-mul.c

Thanks,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt


2020-10-13 18:42:24

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Crypto Update for 5.10

The pull request you sent on Mon, 12 Oct 2020 14:32:49 +1100:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/39a5101f989e8d2be557136704d53990f9b402c8

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html

2020-12-14 09:58:06

by Herbert Xu

[permalink] [raw]
Subject: [GIT PULL] Crypto Update for 5.11

Hi Linus:

API:

- Add speed testing on 1420-byte blocks for networking.

Algorithms:

- Improve performance of chacha on ARM for network packets.
- Improve performance of aegis128 on ARM for network packets.

Drivers:

- Add support for Keem Bay OCS AES/SM4.
- Add support for QAT 4xxx devices.
- Enable crypto-engine retry mechanism in caam.
- Enable support for crypto engine on sdm845 in qce.
- Add HiSilicon PRNG driver support.

Please note that there is a merge conflict in the MAINTAINERS
file with the drm tree due to the Keem Bay driver.

The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

Linux 5.10-rc1 (2020-10-25 15:14:11 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6 linus

for you to fetch changes up to 93cebeb1c21a65b92636aaa278a32fbc0415ec67:

crypto: qat - add capability detection logic in qat_4xxx (2020-12-11 21:54:16 +1100)

----------------------------------------------------------------
Adam Guerin (2):
crypto: qat - remove cast for mailbox CSR
crypto: qat - replace pci with PCI in comments

Ahsan Atta (1):
crypto: qat - num_rings_per_bank is device dependent

Ard Biesheuvel (14):
crypto: arm64/poly1305-neon - reorder PAC authentication with SP update
crypto: arm/chacha-neon - optimize for non-block size multiples
crypto: arm64/chacha - simplify tail block handling
crypto: arm64/gcm - move authentication tag check to SIMD domain
crypto: aegis128 - wipe plaintext and tag if decryption fails
crypto: aegis128/neon - optimize tail block handling
crypto: aegis128/neon - move final tag check to SIMD domain
crypto: aegis128 - expose SIMD code path as separate driver
crypto: tcrypt - don't initialize at subsys_initcall time
crypto: tcrypt - permit tcrypt.ko to be builtin
crypto: tcrypt - include 1420 byte blocks in aead and skcipher benchmarks
crypto: ecdh - avoid unaligned accesses in ecdh_set_secret()
crypto: arm/aes-ce - work around Cortex-A57/A72 silion errata
crypto: aegis128 - avoid spurious references crypto_aegis128_update_simd

Arnd Bergmann (1):
crypto: atmel-i2c - select CONFIG_BITREVERSE

Arvind Sankar (6):
crypto: lib/sha256 - Use memzero_explicit() for clearing state
crypto: hash - Use memzero_explicit() for clearing state
crypto: lib/sha256 - Don't clear temporary variables
crypto: lib/sha256 - Clear W[] in sha256_update() instead of sha256_transform()
crypto: lib/sha256 - Unroll SHA256 loop 8 times intead of 64
crypto: lib/sha256 - Unroll LOAD and BLEND loops

Christophe JAILLET (3):
crypto: cavium/zip - Use dma_set_mask_and_coherent to simplify code
crypto: marvell/octeontx - Use dma_set_mask_and_coherent to simplify code
crypto: cavium - Use dma_set_mask_and_coherent to simplify code

Christophe Leroy (2):
crypto: talitos - Endianess in current_desc_hdr()
crypto: talitos - Fix return type of current_desc_hdr()

Colin Ian King (2):
crypto: inside-secure - Fix sizeof() mismatch
crypto: kconfig - fix a couple of spelling mistakes

Corentin Labbe (1):
crypto: sun8i-ce - fix two error path's memory leak

Daniele Alessandrelli (1):
dt-bindings: Add Keem Bay OCS AES bindings

Eric Biggers (8):
crypto: x86/aes - remove unused file aes_glue.c
crypto: aead - add crypto_aead_driver_name()
crypto: testmgr - always print the actual hash driver name
crypto: testmgr - always print the actual AEAD driver name
crypto: testmgr - always print the actual skcipher driver name
crypto: testmgr - WARN on test failure
crypto: af_alg - avoid undefined behavior accessing salg_name
crypto: sha - split sha.h into sha1.h and sha2.h

Gilad Ben-Yossef (1):
crypto: ccree - rework cache parameters handling

Giovanni Cabiddu (33):
crypto: qat - remove unused function
crypto: qat - mask device capabilities with soft straps
crypto: qat - fix configuration of iov threads
crypto: qat - split transport CSR access logic
crypto: qat - relocate GEN2 CSR access code
crypto: qat - abstract admin interface
crypto: qat - add packed to init admin structures
crypto: qat - rename ME in AE
crypto: qat - change admin sequence
crypto: qat - use admin mask to send fw constants
crypto: qat - update constants table
crypto: qat - remove writes into WQCFG
crypto: qat - remove unused macros in arbiter module
crypto: qat - abstract arbiter access
crypto: qat - register crypto instances based on capability
crypto: qat - enable ring after pair is programmed
crypto: qat - abstract build ring base
crypto: qat - replace constant masks with GENMASK
crypto: qat - use BIT_ULL() - 1 pattern for masks
crypto: qat - abstract writes to arbiter enable
crypto: qat - remove hardcoded bank irq clear flag mask
crypto: qat - call functions in adf_sriov if available
crypto: qat - remove unnecessary void* casts
crypto: qat - change return value in adf_cfg_add_key_value_param()
crypto: qat - change return value in adf_cfg_key_val_get()
crypto: qat - refactor qat_crypto_create_instances()
crypto: qat - refactor qat_crypto_dev_config()
crypto: qat - allow for instances in different banks
crypto: qat - extend ae_mask
crypto: qat - support for mof format in fw loader
crypto: qat - target fw images to specific AEs
crypto: qat - add hook to initialize vector routing table
crypto: qat - add qat_4xxx driver

Gustavo A. R. Silva (1):
crypto: ccree - Fix fall-through warnings for Clang

Herbert Xu (10):
lib/mpi: Remove unused scalar_copied
crypto: sa2ul - Reduce stack usage
crypto: cavium/nitrox - Fix sparse warnings
crypto: lib/curve25519 - Move selftest prototype into header file
crypto: mips/octeon - Fix sparse endianness warnings
crypto: powerpc/sha256-spe - Fix sparse endianness warning
crypto: sparc - Fix sparse endianness warnings
crypto: lib/blake2s - Move selftest prototype into header file
hwrng: ks-sa - Add dependency on IOMEM and OF
crypto: cpt - Fix sparse warnings in cptpf

Horia Geantă (3):
crypto: arm/aes-neonbs - fix usage of cbc(aes) fallback
crypto: caam - fix printing on xts fallback allocation error path
crypto: caam/qi - simplify error path for context allocation

Iuliana Prodan (1):
crypto: caam - enable crypto-engine retry mechanism

Jack Xu (31):
crypto: qat - fix status check in qat_hal_put_rel_rd_xfer()
crypto: qat - fix CSR access
crypto: qat - fix error message
crypto: qat - remove unnecessary parenthesis
crypto: qat - introduce additional parenthesis
crypto: qat - rename qat_uclo_del_uof_obj()
crypto: qat - add support for relative FW ucode loading
crypto: qat - change type for ctx_mask
crypto: qat - change micro word data mask
crypto: qat - refactor AE start
crypto: qat - remove global CSRs helpers
crypto: qat - move defines to header files
crypto: qat - refactor qat_uclo_set_ae_mode()
crypto: qat - refactor long expressions
crypto: qat - introduce chip info structure
crypto: qat - replace check based on DID
crypto: qat - add next neighbor to chip_info
crypto: qat - add support for lm2 and lm3
crypto: qat - add local memory size to chip info
crypto: qat - add reset CSR and mask to chip info
crypto: qat - add clock enable CSR to chip info
crypto: qat - add wake up event to chip info
crypto: qat - add misc control CSR to chip info
crypto: qat - add check for null pointer
crypto: qat - use ae_mask
crypto: qat - add CSS3K support
crypto: qat - add FCU CSRs to chip info
crypto: qat - allow to target specific AEs
crypto: qat - add support for shared ustore
crypto: qat - add support for broadcasting mode
crypto: qat - add gen4 firmware loader

Jason A. Donenfeld (1):
crypto: Kconfig - CRYPTO_MANAGER_EXTRA_TESTS requires the manager

Kai Ye (1):
crypto: hisilicon/sec2 - Fix aead authentication setting key error

Longfang Liu (2):
crypto: hisilicon - delete unused structure member variables
crypto: hisilicon - fixes some coding style

Marco Chiappero (5):
crypto: qat - update IV in software
crypto: qat - add support for capability detection
crypto: qat - add AES-CTR support for QAT GEN4 devices
crypto: qat - add AES-XTS support for QAT GEN4 devices
crypto: qat - add capability detection logic in qat_4xxx

Mike Healy (1):
crypto: keembay - Add support for Keem Bay OCS AES/SM4

Nathan Chancellor (1):
crypto: crypto4xx - Replace bitwise OR with logical OR in crypto4xx_build_pd

Nigel Christian (1):
hwrng: imx-rngc - irq already prints an error

Shiju Jose (1):
crypto: hisilicon - Fix doc warnings in sgl.c and qm.c

Thara Gopinath (2):
crypto: qce - Enable support for crypto engine on sdm845
crypto: qce - Fix SHA result buffer corruption issues

Tianjia Zhang (1):
crypto: sm2 - remove unnecessary reset operations

Tom Rix (4):
crypto: atmel-sha - remove unneeded break
crypto: cavium/nitrox - remove unneeded semicolon
crypto: qat - remove unneeded semicolon
crypto: seed - remove trailing semicolon in macro definition

Uros Bizjak (3):
crypto: aesni - Use TEST %reg,%reg instead of CMP $0,%reg
crypto: x86/sha512 - Use TEST %reg,%reg instead of CMP $0,%reg
crypto: x86/poly1305 - Use TEST %reg,%reg instead of CMP $0,%reg

Weili Qian (12):
crypto: hisilicon/qm - numbers are replaced by macros
crypto: hisilicon/qm - modify the return type of function
crypto: hisilicon/qm - modify the return type of debugfs interface
crypto: hisilicon/qm - modify return type of 'qm_set_sqctype'
crypto: hisilicon/qm - replace 'sprintf' with 'scnprintf'
crypto: hisilicon/qm - split 'qm_qp_ctx_cfg' into smaller pieces
crypto: hisilicon/qm - split 'qm_eq_ctx_cfg' into smaller pieces
crypto: hisilicon/qm - split 'hisi_qm_init' into smaller pieces
hwrng: hisi - remove HiSilicon TRNG driver
crypto: hisilicon/trng - add HiSilicon TRNG driver support
crypto: hisilicon/trng - add support for PRNG
MAINTAINERS: Move HiSilicon TRNG V2 driver

Yang Shen (1):
crypto: hisilicon/zip - add a work_queue for zip irq

Yejune Deng (1):
crypto: hisilicon/trng - replace atomic_add_return()

Zhang Qilong (2):
crypto: omap-aes - fix the reference count leak of omap device
crypto: omap-aes - Fix PM disable depth imbalance in omap_aes_probe

kernel test robot (1):
crypto: qat - fix excluded_middle.cocci warnings

.../bindings/crypto/intel,keembay-ocs-aes.yaml | 45 +
MAINTAINERS | 12 +-
arch/arm/crypto/aes-ce-core.S | 32 +-
arch/arm/crypto/aes-neonbs-glue.c | 8 +-
arch/arm/crypto/chacha-glue.c | 34 +-
arch/arm/crypto/chacha-neon-core.S | 97 +-
arch/arm/crypto/sha1-ce-glue.c | 2 +-
arch/arm/crypto/sha1.h | 2 +-
arch/arm/crypto/sha1_glue.c | 2 +-
arch/arm/crypto/sha1_neon_glue.c | 2 +-
arch/arm/crypto/sha2-ce-glue.c | 2 +-
arch/arm/crypto/sha256_glue.c | 2 +-
arch/arm/crypto/sha256_neon_glue.c | 2 +-
arch/arm/crypto/sha512-glue.c | 2 +-
arch/arm/crypto/sha512-neon-glue.c | 2 +-
arch/arm64/configs/defconfig | 1 +
arch/arm64/crypto/aes-glue.c | 2 +-
arch/arm64/crypto/chacha-neon-core.S | 193 +--
arch/arm64/crypto/ghash-ce-core.S | 15 +
arch/arm64/crypto/ghash-ce-glue.c | 48 +-
arch/arm64/crypto/poly1305-armv8.pl | 2 +-
arch/arm64/crypto/poly1305-core.S_shipped | 2 +-
arch/arm64/crypto/poly1305-glue.c | 2 +-
arch/arm64/crypto/sha1-ce-glue.c | 2 +-
arch/arm64/crypto/sha2-ce-glue.c | 2 +-
arch/arm64/crypto/sha256-glue.c | 2 +-
arch/arm64/crypto/sha3-ce-glue.c | 2 +-
arch/arm64/crypto/sha512-ce-glue.c | 2 +-
arch/arm64/crypto/sha512-glue.c | 2 +-
arch/mips/cavium-octeon/crypto/octeon-crypto.h | 2 +-
arch/mips/cavium-octeon/crypto/octeon-md5.c | 14 +-
arch/mips/cavium-octeon/crypto/octeon-sha1.c | 2 +-
arch/mips/cavium-octeon/crypto/octeon-sha256.c | 2 +-
arch/mips/cavium-octeon/crypto/octeon-sha512.c | 2 +-
arch/powerpc/crypto/sha1-spe-glue.c | 2 +-
arch/powerpc/crypto/sha1.c | 2 +-
arch/powerpc/crypto/sha256-spe-glue.c | 4 +-
arch/s390/crypto/sha.h | 3 +-
arch/s390/crypto/sha1_s390.c | 2 +-
arch/s390/crypto/sha256_s390.c | 2 +-
arch/s390/crypto/sha3_256_s390.c | 1 -
arch/s390/crypto/sha3_512_s390.c | 1 -
arch/s390/crypto/sha512_s390.c | 2 +-
arch/s390/purgatory/purgatory.c | 2 +-
arch/sparc/crypto/crc32c_glue.c | 2 +-
arch/sparc/crypto/md5_glue.c | 9 +-
arch/sparc/crypto/sha1_glue.c | 2 +-
arch/sparc/crypto/sha256_glue.c | 2 +-
arch/sparc/crypto/sha512_glue.c | 2 +-
arch/x86/crypto/aes_glue.c | 1 -
arch/x86/crypto/aesni-intel_asm.S | 20 +-
arch/x86/crypto/aesni-intel_avx-x86_64.S | 20 +-
arch/x86/crypto/poly1305-x86_64-cryptogams.pl | 2 +-
arch/x86/crypto/poly1305_glue.c | 2 +-
arch/x86/crypto/sha1_ssse3_glue.c | 2 +-
arch/x86/crypto/sha256_ssse3_glue.c | 2 +-
arch/x86/crypto/sha512-avx-asm.S | 2 +-
arch/x86/crypto/sha512-ssse3-asm.S | 2 +-
arch/x86/crypto/sha512_ssse3_glue.c | 2 +-
arch/x86/purgatory/purgatory.c | 2 +-
crypto/Kconfig | 4 +-
crypto/aegis128-core.c | 245 ++-
crypto/aegis128-neon-inner.c | 122 +-
crypto/aegis128-neon.c | 21 +-
crypto/af_alg.c | 10 +-
crypto/asymmetric_keys/asym_tpm.c | 2 +-
crypto/ecdh.c | 9 +-
crypto/seed.c | 2 +-
crypto/sha1_generic.c | 2 +-
crypto/sha256_generic.c | 2 +-
crypto/sha512_generic.c | 2 +-
crypto/sm2.c | 75 +-
crypto/tcrypt.c | 83 +-
crypto/testmgr.c | 141 +-
drivers/char/hw_random/Kconfig | 14 +-
drivers/char/hw_random/Makefile | 1 -
drivers/char/hw_random/hisi-trng-v2.c | 99 --
drivers/char/hw_random/imx-rngc.c | 4 +-
drivers/char/random.c | 2 +-
drivers/crypto/Kconfig | 5 +-
drivers/crypto/Makefile | 1 +
drivers/crypto/allwinner/Kconfig | 2 +-
drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h | 2 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 23 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 3 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 3 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 3 +-
drivers/crypto/amcc/crypto4xx_alg.c | 2 +-
drivers/crypto/amcc/crypto4xx_core.c | 4 +-
drivers/crypto/atmel-authenc.h | 3 +-
drivers/crypto/atmel-sha.c | 4 +-
drivers/crypto/axis/artpec6_crypto.c | 3 +-
drivers/crypto/bcm/cipher.c | 3 +-
drivers/crypto/bcm/cipher.h | 3 +-
drivers/crypto/bcm/spu.h | 3 +-
drivers/crypto/caam/caamalg.c | 4 +-
drivers/crypto/caam/caamalg_qi.c | 12 +-
drivers/crypto/caam/caamalg_qi2.c | 3 +-
drivers/crypto/caam/compat.h | 3 +-
drivers/crypto/caam/intern.h | 8 +
drivers/crypto/caam/jr.c | 4 +-
drivers/crypto/cavium/cpt/cptpf_main.c | 16 +-
drivers/crypto/cavium/cpt/cptvf_main.c | 10 +-
drivers/crypto/cavium/nitrox/nitrox_aead.c | 11 +-
drivers/crypto/cavium/nitrox/nitrox_debugfs.c | 1 +
drivers/crypto/cavium/nitrox/nitrox_hal.c | 1 +
drivers/crypto/cavium/nitrox/nitrox_isr.c | 1 +
drivers/crypto/cavium/nitrox/nitrox_isr.h | 9 +
drivers/crypto/cavium/nitrox/nitrox_main.c | 13 -
drivers/crypto/cavium/nitrox/nitrox_mbx.c | 3 +-
drivers/crypto/cavium/nitrox/nitrox_req.h | 4 +
drivers/crypto/cavium/nitrox/nitrox_reqmgr.c | 7 +-
drivers/crypto/cavium/zip/zip_main.c | 10 +-
drivers/crypto/ccp/ccp-crypto-sha.c | 3 +-
drivers/crypto/ccp/ccp-crypto.h | 3 +-
drivers/crypto/ccree/cc_cipher.c | 3 +
drivers/crypto/ccree/cc_driver.c | 75 +-
drivers/crypto/ccree/cc_driver.h | 9 +-
drivers/crypto/ccree/cc_pm.c | 2 +-
drivers/crypto/chelsio/chcr_algo.c | 3 +-
drivers/crypto/hisilicon/Kconfig | 8 +
drivers/crypto/hisilicon/Makefile | 1 +
drivers/crypto/hisilicon/hpre/hpre_main.c | 4 +-
drivers/crypto/hisilicon/qm.c | 220 ++-
drivers/crypto/hisilicon/qm.h | 2 +-
drivers/crypto/hisilicon/sec2/sec.h | 2 -
drivers/crypto/hisilicon/sec2/sec_crypto.c | 25 +-
drivers/crypto/hisilicon/sec2/sec_main.c | 34 +-
drivers/crypto/hisilicon/sgl.c | 2 -
drivers/crypto/hisilicon/trng/Makefile | 2 +
drivers/crypto/hisilicon/trng/trng.c | 334 ++++
drivers/crypto/hisilicon/zip/zip_main.c | 30 +-
drivers/crypto/img-hash.c | 3 +-
drivers/crypto/inside-secure/safexcel.c | 2 +-
drivers/crypto/inside-secure/safexcel.h | 3 +-
drivers/crypto/inside-secure/safexcel_cipher.c | 3 +-
drivers/crypto/inside-secure/safexcel_hash.c | 3 +-
drivers/crypto/ixp4xx_crypto.c | 2 +-
drivers/crypto/keembay/Kconfig | 39 +
drivers/crypto/keembay/Makefile | 5 +
drivers/crypto/keembay/keembay-ocs-aes-core.c | 1713 ++++++++++++++++++++
drivers/crypto/keembay/ocs-aes.c | 1489 +++++++++++++++++
drivers/crypto/keembay/ocs-aes.h | 129 ++
drivers/crypto/marvell/cesa/hash.c | 3 +-
drivers/crypto/marvell/octeontx/otx_cptpf_main.c | 10 +-
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c | 3 +-
drivers/crypto/marvell/octeontx/otx_cptvf_main.c | 10 +-
drivers/crypto/mediatek/mtk-sha.c | 3 +-
drivers/crypto/mxs-dcp.c | 3 +-
drivers/crypto/n2_core.c | 3 +-
drivers/crypto/nx/nx-sha256.c | 2 +-
drivers/crypto/nx/nx-sha512.c | 2 +-
drivers/crypto/nx/nx.c | 2 +-
drivers/crypto/omap-aes.c | 4 +-
drivers/crypto/omap-sham.c | 3 +-
drivers/crypto/padlock-sha.c | 3 +-
drivers/crypto/picoxcell_crypto.c | 3 +-
drivers/crypto/qat/Kconfig | 11 +
drivers/crypto/qat/Makefile | 1 +
drivers/crypto/qat/qat_4xxx/Makefile | 4 +
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c | 242 +++
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h | 86 +
drivers/crypto/qat/qat_4xxx/adf_drv.c | 323 ++++
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 49 +-
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.h | 5 +
drivers/crypto/qat/qat_c3xxx/adf_drv.c | 11 +-
.../crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.c | 7 +-
drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 4 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c | 49 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.h | 5 +
drivers/crypto/qat/qat_c62x/adf_drv.c | 11 +-
drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.c | 7 +-
drivers/crypto/qat/qat_c62xvf/adf_drv.c | 4 +-
drivers/crypto/qat/qat_common/Makefile | 2 +
drivers/crypto/qat/qat_common/adf_accel_devices.h | 65 +-
drivers/crypto/qat/qat_common/adf_accel_engine.c | 69 +-
drivers/crypto/qat/qat_common/adf_admin.c | 77 +-
drivers/crypto/qat/qat_common/adf_cfg.c | 4 +-
drivers/crypto/qat/qat_common/adf_cfg_common.h | 3 +-
drivers/crypto/qat/qat_common/adf_cfg_strings.h | 3 +-
drivers/crypto/qat/qat_common/adf_common_drv.h | 19 +-
drivers/crypto/qat/qat_common/adf_dev_mgr.c | 11 +-
drivers/crypto/qat/qat_common/adf_gen2_hw_data.c | 181 +++
drivers/crypto/qat/qat_common/adf_gen2_hw_data.h | 123 ++
drivers/crypto/qat/qat_common/adf_gen4_hw_data.c | 101 ++
drivers/crypto/qat/qat_common/adf_gen4_hw_data.h | 99 ++
drivers/crypto/qat/qat_common/adf_hw_arbiter.c | 94 +-
drivers/crypto/qat/qat_common/adf_isr.c | 7 +-
drivers/crypto/qat/qat_common/adf_sriov.c | 78 +-
drivers/crypto/qat/qat_common/adf_transport.c | 130 +-
.../qat/qat_common/adf_transport_access_macros.h | 67 -
.../crypto/qat/qat_common/adf_transport_debug.c | 32 +-
.../crypto/qat/qat_common/adf_transport_internal.h | 2 +-
drivers/crypto/qat/qat_common/adf_vf_isr.c | 5 +-
.../crypto/qat/qat_common/icp_qat_fw_init_admin.h | 6 +-
drivers/crypto/qat/qat_common/icp_qat_fw_la.h | 7 +
.../qat/qat_common/icp_qat_fw_loader_handle.h | 26 +-
drivers/crypto/qat/qat_common/icp_qat_hal.h | 63 +-
drivers/crypto/qat/qat_common/icp_qat_hw.h | 40 +-
drivers/crypto/qat/qat_common/icp_qat_uclo.h | 132 +-
drivers/crypto/qat/qat_common/qat_algs.c | 248 ++-
drivers/crypto/qat/qat_common/qat_asym_algs.c | 13 +-
drivers/crypto/qat/qat_common/qat_crypto.c | 162 +-
drivers/crypto/qat/qat_common/qat_crypto.h | 26 +-
drivers/crypto/qat/qat_common/qat_hal.c | 421 +++--
drivers/crypto/qat/qat_common/qat_uclo.c | 737 +++++++--
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 60 +-
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h | 5 +
drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 9 +-
.../qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.c | 7 +-
drivers/crypto/qat/qat_dh895xccvf/adf_drv.c | 4 +-
drivers/crypto/qce/common.c | 3 +-
drivers/crypto/qce/core.c | 18 +-
drivers/crypto/qce/sha.c | 2 +-
drivers/crypto/qce/sha.h | 3 +-
drivers/crypto/rockchip/rk3288_crypto.h | 3 +-
drivers/crypto/s5p-sss.c | 3 +-
drivers/crypto/sa2ul.c | 121 +-
drivers/crypto/sa2ul.h | 7 +-
drivers/crypto/sahara.c | 3 +-
drivers/crypto/stm32/stm32-hash.c | 3 +-
drivers/crypto/talitos.c | 13 +-
drivers/crypto/ux500/hash/hash_core.c | 3 +-
drivers/firmware/efi/embedded-firmware.c | 2 +-
.../chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c | 3 +-
.../ethernet/chelsio/inline_crypto/chtls/chtls.h | 3 +-
drivers/nfc/s3fwrn5/firmware.c | 2 +-
drivers/tee/tee_core.c | 2 +-
fs/crypto/fname.c | 2 +-
fs/crypto/hkdf.c | 2 +-
fs/ubifs/auth.c | 1 -
fs/verity/fsverity_private.h | 2 +-
include/crypto/aead.h | 5 +
include/crypto/curve25519.h | 2 +
include/crypto/hash_info.h | 3 +-
include/crypto/internal/blake2s.h | 2 +
include/crypto/sha1.h | 46 +
include/crypto/sha1_base.h | 5 +-
include/crypto/{sha.h => sha2.h} | 41 +-
include/crypto/sha256_base.h | 5 +-
include/crypto/sha512_base.h | 5 +-
include/crypto/sm3_base.h | 3 +-
include/linux/ccp.h | 3 +-
include/linux/filter.h | 2 +-
include/linux/purgatory.h | 2 +-
include/uapi/linux/if_alg.h | 16 +
kernel/crash_core.c | 2 +-
kernel/kexec_core.c | 1 -
kernel/kexec_file.c | 2 +-
lib/crypto/blake2s-selftest.c | 2 +-
lib/crypto/blake2s.c | 2 -
lib/crypto/curve25519.c | 2 -
lib/crypto/sha256.c | 214 +--
lib/digsig.c | 2 +-
lib/mpi/ec.c | 3 -
lib/sha1.c | 2 +-
net/ipv6/seg6_hmac.c | 1 -
net/mptcp/crypto.c | 2 +-
net/mptcp/options.c | 2 +-
net/mptcp/subflow.c | 2 +-
security/integrity/integrity.h | 2 +-
security/keys/encrypted-keys/encrypted.c | 2 +-
security/keys/trusted-keys/trusted_tpm1.c | 2 +-
sound/soc/codecs/cros_ec_codec.c | 2 +-
264 files changed, 8427 insertions(+), 1992 deletions(-)
create mode 100644 Documentation/devicetree/bindings/crypto/intel,keembay-ocs-aes.yaml
delete mode 100644 arch/x86/crypto/aes_glue.c
delete mode 100644 drivers/char/hw_random/hisi-trng-v2.c
create mode 100644 drivers/crypto/hisilicon/trng/Makefile
create mode 100644 drivers/crypto/hisilicon/trng/trng.c
create mode 100644 drivers/crypto/keembay/Kconfig
create mode 100644 drivers/crypto/keembay/Makefile
create mode 100644 drivers/crypto/keembay/keembay-ocs-aes-core.c
create mode 100644 drivers/crypto/keembay/ocs-aes.c
create mode 100644 drivers/crypto/keembay/ocs-aes.h
create mode 100644 drivers/crypto/qat/qat_4xxx/Makefile
create mode 100644 drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c
create mode 100644 drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h
create mode 100644 drivers/crypto/qat/qat_4xxx/adf_drv.c
create mode 100644 drivers/crypto/qat/qat_common/adf_gen2_hw_data.c
create mode 100644 drivers/crypto/qat/qat_common/adf_gen2_hw_data.h
create mode 100644 drivers/crypto/qat/qat_common/adf_gen4_hw_data.c
create mode 100644 drivers/crypto/qat/qat_common/adf_gen4_hw_data.h
create mode 100644 include/crypto/sha1.h
rename include/crypto/{sha.h => sha2.h} (77%)

Thanks,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

2021-02-15 02:50:20

by Herbert Xu

[permalink] [raw]
Subject: [GIT PULL] Crypto Update for 5.12

Hi Linus:

API:

- Restrict crypto_cipher to internal API users only.

Algorithms:

- Add x86 aesni acceleration for cts.
- Improve x86 aesni acceleration for xts.
- Remove x86 acceleration of some uncommon algorithms.
- Remove RIPE-MD, Tiger and Salsa20.
- Remove tnepres.
- Add ARM acceleration for BLAKE2s and BLAKE2b.

Drivers:

- Add Keem Bay OCS HCU driver.
- Add Marvell OcteonTX2 CPT PF driver.
- Remove PicoXcell driver.
- Remove mediatek driver.

The following changes since commit 0aa171e9b267ce7c52d3a3df7bc9c1fc0203dec5:

crypto: ecdh - avoid buffer overflow in ecdh_set_secret() (2021-01-03 08:35:35 +1100)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus

for you to fetch changes up to 0de9dc80625b0ca1cb9730c5ed1c5a8cab538369:

hwrng: timeriomem - Use device-managed registration API (2021-02-10 17:56:01 +1100)

----------------------------------------------------------------
Adam Guerin (3):
crypto: qat - fix potential spectre issue
crypto: qat - change format string and cast ring size
crypto: qat - reduce size of mapped region

Ard Biesheuvel (60):
crypto: aesni - implement support for cts(cbc(aes))
crypto: tcrypt - avoid signed overflow in byte count
chcr_ktls: use AES library for single use cipher
crypto: remove cipher routines from public crypto API
crypto: arm64/aes-ce - really hide slower algos when faster ones are enabled
crypto: arm64/aes-ctr - improve tail handling
crypto: x86/aes-ni-xts - use direct calls to and 4-way stride
crypto: x86/aes-ni-xts - rewrite and drop indirections via glue helper
crypto: aesni - prevent misaligned buffers on the stack
crypto: aesni - drop unused asm prototypes
crypto: aesni - clean up mapping of associated data
crypto: aesni - refactor scatterlist processing
crypto: aesni - replace function pointers with static branches
crypto: x86/camellia - switch to XTS template
crypto: x86/cast6 - switch to XTS template
crypto: x86/serpent- switch to XTS template
crypto: x86/twofish - switch to XTS template
crypto: x86/glue-helper - drop XTS helper routines
crypto: x86/camellia - drop CTR mode implementation
crypto: x86/serpent - drop CTR mode implementation
crypto: x86/cast5 - drop CTR mode implementation
crypto: x86/cast6 - drop CTR mode implementation
crypto: x86/twofish - drop CTR mode implementation
crypto: x86/glue-helper - drop CTR helper routines
crypto: x86/des - drop CTR mode implementation
crypto: x86/blowfish - drop CTR mode implementation
crypto: x86 - add some helper macros for ECB and CBC modes
crypto: x86/camellia - drop dependency on glue helper
crypto: x86/serpent - drop dependency on glue helper
crypto: x86/cast5 - drop dependency on glue helper
crypto: x86/cast6 - drop dependency on glue helper
crypto: x86/twofish - drop dependency on glue helper
crypto: x86 - remove glue helper module
crypto: x86 - use local headers for x86 specific shared declarations
crypto - shash: reduce minimum alignment of shash_desc structure
crypto: arm64/sha - add missing module aliases
crypto: aesni - replace CTR function pointer with static call
crypto: aesni - release FPU during skcipher walk API calls
crypto: rmd128 - remove RIPE-MD 128 hash algorithm
crypto: rmd256 - remove RIPE-MD 256 hash algorithm
crypto: rmd320 - remove RIPE-MD 320 hash algorithm
crypto: tgr192 - remove Tiger 128/160/192 hash algorithms
crypto: salsa20 - remove Salsa20 stream cipher algorithm
arm64: assembler: add cond_yield macro
crypto: michael_mic - fix broken misalignment handling
crypto: serpent - get rid of obsolete tnepres variant
crypto: serpent - use unaligned accessors instead of alignmask
crypto: blowfish - use unaligned accessors instead of alignmask
crypto: camellia - use unaligned accessors instead of alignmask
crypto: cast5 - use unaligned accessors instead of alignmask
crypto: cast6 - use unaligned accessors instead of alignmask
crypto: fcrypt - drop unneeded alignmask
crypto: twofish - use unaligned accessors instead of alignmask
crypto: arm64/sha1-ce - simplify NEON yield
crypto: arm64/sha2-ce - simplify NEON yield
crypto: arm64/sha3-ce - simplify NEON yield
crypto: arm64/sha512-ce - simplify NEON yield
crypto: arm64/aes-neonbs - remove NEON yield calls
crypto: arm64/aes-ce-mac - simplify NEON yield
crypto: arm64/crc-t10dif - move NEON yield to C code

Arnd Bergmann (1):
crypto: octeontx2 - fix -Wpointer-bool-conversion warning

Bhaskar Chowdhury (2):
crypto: marvell/cesa - Fix a spelling s/fautly/faultly/ in comment
crypto: xor - Fix typo of optimization

Christophe JAILLET (1):
hwrng: ingenic - Fix a resource leak in an error handling path

Christophe Leroy (2):
crypto: talitos - Work around SEC6 ERRATA (AES-CTR mode data size error)
crypto: talitos - Fix ctr(aes) on SEC1

Corentin Labbe (8):
crypto: sun4i-ss - linearize buffers content must be kept
crypto: sun4i-ss - checking sg length is not sufficient
crypto: sun4i-ss - IV register does not work on A10 and A13
crypto: sun4i-ss - handle BigEndian for cipher
crypto: sun4i-ss - initialize need_fallback
crypto: sun4i-ss - fix kmap usage
crypto: sun4i-ss - enabled stats via debugfs
crypto: sun4i-ss - add SPDX header and remove blank lines

Dan Carpenter (2):
crypto: keembay-ocs-hcu - Fix a WARN() message
crypto: octeontx2 - fix signedness bug in cptvf_register_interrupts()

Daniele Alessandrelli (6):
crypto: keembay-ocs-hcu - Add HMAC support
crypto: keembay-ocs-hcu - Add optional support for sha224
MAINTAINERS: Add maintainers for Keem Bay OCS HCU driver
crypto: keembay-ocs-hcu - Add dependency on HAS_IOMEM and ARCH_KEEMBAY
crypto: ecdh_helper - Ensure 'len >= secret.len' in decode_key()
crypto: keembay-ocs-aes - Fix 'q' assignment during CCM B0 generation

Declan Murphy (2):
dt-bindings: crypto: Add Keem Bay OCS HCU bindings
crypto: keembay - Add Keem Bay OCS HCU driver

Eric Biggers (14):
crypto: blake2s - define shash_alg structs using macros
crypto: x86/blake2s - define shash_alg structs using macros
crypto: blake2s - remove unneeded includes
crypto: blake2s - move update and final logic to internal/blake2s.h
crypto: blake2s - share the "shash" API boilerplate code
crypto: blake2s - optimize blake2s initialization
crypto: blake2s - add comment for blake2s_state fields
crypto: blake2s - adjust include guard naming
crypto: blake2s - include <linux/bug.h> instead of <asm/bug.h>
crypto: arm/blake2s - add ARM scalar optimized BLAKE2s
wireguard: Kconfig: select CRYPTO_BLAKE2S_ARM
crypto: blake2b - sync with blake2s implementation
crypto: blake2b - update file comment
crypto: arm/blake2b - add NEON-accelerated BLAKE2b

Fabio Estevam (1):
crypto: sahara - Remove unused .id_table support

Florian Fainelli (1):
crypto: crypto4xx - Avoid linking failure with HW_RANDOM=m

Geert Uytterhoeven (1):
crypto: marvell - CRYPTO_DEV_OCTEONTX2_CPT should depend on ARCH_THUNDER2

Herbert Xu (6):
crypto: vmx - Move extern declarations into header file
crypto: stm32 - Fix last sparse warning in stm32_cryp_check_ctr_counter
crypto: bcm - Fix sparse warnings
crypto: marvell/cesa - Fix use of sg_pcopy on iomem pointer
crypto: octeontx2 - Add dependency on NET_VENDOR_MARVELL
Merge git://git.kernel.org/.../arm64/linux for-next/crypto

Hui Tang (6):
crypto: hisilicon/hpre - delete ECC 1bit error reported threshold
crypto: hisilicon/hpre - add two RAS correctable errors processing
crypto: hisilicon/hpre - add ecc algorithm inqury for uacce device
crypto: hisilicon/hpre - adapt the number of clusters
crypto: hisilicon/hpre - tiny fix
crypto: hisilicon/hpre - enable Elliptic curve cryptography

Jan Henrik Weinstock (1):
hwrng: timeriomem - Fix cooldown period calculation

Jason A. Donenfeld (1):
crypto: lib/chacha20poly1305 - define empty module exit function

Jiapeng Chong (1):
crypto: caam - Replace DEFINE_SIMPLE_ATTRIBUTE with DEFINE_DEBUGFS_ATTRIBUTE

Jiri Olsa (1):
crypto: bcm - Rename struct device_private to bcm_device_private

Kai Ye (4):
crypto: hisilicon/qm - SVA bugfixed on Kunpeng920
crypto: hisilicon - add ZIP device using mode parameter
crypto: hisilicon/hpre - register HPRE device to uacce
crypto: hisilicon/sec - register SEC device to uacce

Krzysztof Kozlowski (1):
MAINTAINERS: crypto: s5p-sss: drop Kamil Konieczny

Marco Chiappero (1):
crypto: qat - replace CRYPTO_AES with CRYPTO_LIB_AES in Kconfig

Matthias Brugger (2):
hwrng: iproc-rng200 - Fix disable of the block.
hwrng: iproc-rng200 - Move enable/disable in separate function

Ovidiu Panait (1):
crypto: keembay - use 64-bit arithmetic for computing bit_len

Rob Herring (1):
crypto: picoxcell - Remove PicoXcell driver

Sihang Chen (1):
crypto: hisilicon/qm - update irqflag

Srujana Challa (9):
crypto: marvell - add Marvell OcteonTX2 CPT PF driver
crypto: octeontx2 - add mailbox communication with AF
crypto: octeontx2 - enable SR-IOV and mailbox communication with VF
crypto: octeontx2 - load microcode and create engine groups
crypto: octeontx2 - add LF framework
crypto: octeontx2 - add support to get engine capabilities
crypto: octeontx2 - add virtual function driver support
crypto: octeontx2 - add support to process the crypto request
crypto: octeontx2 - register with linux crypto framework

Tian Tao (4):
crypto: ccree - remove unused including <linux/version.h>
crypto: inside-secure - fix platform_get_irq.cocci warnings
hwrng: optee - Use device-managed registration API
hwrng: timeriomem - Use device-managed registration API

Vic Wu (1):
crypto: mediatek - remove obsolete driver

Weili Qian (7):
crypto: hisilicon/qm - fix use of 'dma_map_single'
crypto: hisilicon - PASID fixed on Kunpeng 930
crypto: hisilicon/qm - removing driver after reset
crypto: hisilicon/qm - fix request missing error
crypto: hisilicon/qm - fix the value of 'QM_SQC_VFT_BASE_MASK_V2'
crypto: hisilicon/qm - do not reset hardware when CE happens
crypto: hisilicon/qm - fix printing format issue

Wojciech Ziemba (1):
crypto: qat - configure arbiter mapping based on engines enabled

Xu Wang (1):
crypto: cpt - remove casting dma_alloc_coherent

Yang Li (1):
crypto: powerpc/sha256 - remove unneeded semicolon

dingsenjie (1):
crypto: ccree - fix spelling typo of allocated

.mailmap | 1 -
.../admin-guide/device-mapper/dm-integrity.rst | 4 +-
Documentation/crypto/api-skcipher.rst | 4 +-
.../bindings/crypto/intel,keembay-ocs-hcu.yaml | 46 +
.../bindings/crypto/samsung-slimsss.yaml | 1 -
.../devicetree/bindings/crypto/samsung-sss.yaml | 1 -
MAINTAINERS | 12 +-
arch/arm/crypto/Kconfig | 19 +
arch/arm/crypto/Makefile | 4 +
arch/arm/crypto/aes-neonbs-glue.c | 3 +
arch/arm/crypto/blake2b-neon-core.S | 347 ++++
arch/arm/crypto/blake2b-neon-glue.c | 105 ++
arch/arm/crypto/blake2s-core.S | 285 +++
arch/arm/crypto/blake2s-glue.c | 78 +
arch/arm64/crypto/aes-glue.c | 71 +-
arch/arm64/crypto/aes-modes.S | 217 ++-
arch/arm64/crypto/aes-neonbs-core.S | 8 +-
arch/arm64/crypto/crct10dif-ce-core.S | 43 +-
arch/arm64/crypto/crct10dif-ce-glue.c | 30 +-
arch/arm64/crypto/sha1-ce-core.S | 47 +-
arch/arm64/crypto/sha1-ce-glue.c | 23 +-
arch/arm64/crypto/sha2-ce-core.S | 38 +-
arch/arm64/crypto/sha2-ce-glue.c | 24 +-
arch/arm64/crypto/sha3-ce-core.S | 81 +-
arch/arm64/crypto/sha3-ce-glue.c | 18 +-
arch/arm64/crypto/sha512-ce-core.S | 29 +-
arch/arm64/crypto/sha512-ce-glue.c | 55 +-
arch/arm64/include/asm/assembler.h | 16 +
arch/powerpc/crypto/sha256-spe-glue.c | 2 +-
arch/s390/crypto/aes_s390.c | 2 +
arch/x86/crypto/Makefile | 2 -
arch/x86/crypto/aesni-intel_asm.S | 482 +++++-
arch/x86/crypto/aesni-intel_glue.c | 753 ++++----
arch/x86/crypto/blake2s-glue.c | 150 +-
arch/x86/crypto/blowfish_glue.c | 107 --
arch/x86/crypto/camellia-aesni-avx-asm_64.S | 298 ----
arch/x86/crypto/camellia-aesni-avx2-asm_64.S | 351 ----
arch/x86/{include/asm => }/crypto/camellia.h | 24 -
arch/x86/crypto/camellia_aesni_avx2_glue.c | 198 +--
arch/x86/crypto/camellia_aesni_avx_glue.c | 216 +--
arch/x86/crypto/camellia_glue.c | 145 +-
arch/x86/crypto/cast5_avx_glue.c | 287 +---
arch/x86/crypto/cast6-avx-x86_64-asm_64.S | 84 -
arch/x86/crypto/cast6_avx_glue.c | 207 +--
arch/x86/crypto/des3_ede_glue.c | 104 --
arch/x86/crypto/ecb_cbc_helpers.h | 76 +
arch/x86/crypto/glue_helper-asm-avx.S | 104 --
arch/x86/crypto/glue_helper-asm-avx2.S | 136 --
arch/x86/crypto/glue_helper.c | 381 -----
arch/x86/crypto/serpent-avx-x86_64-asm_64.S | 68 -
arch/x86/crypto/serpent-avx.h | 21 +
arch/x86/crypto/serpent-avx2-asm_64.S | 87 -
arch/x86/{include/asm => }/crypto/serpent-sse2.h | 0
arch/x86/crypto/serpent_avx2_glue.c | 185 +-
arch/x86/crypto/serpent_avx_glue.c | 215 +--
arch/x86/crypto/serpent_sse2_glue.c | 150 +-
arch/x86/crypto/twofish-avx-x86_64-asm_64.S | 80 -
arch/x86/{include/asm => }/crypto/twofish.h | 4 -
arch/x86/crypto/twofish_avx_glue.c | 211 +--
arch/x86/crypto/twofish_glue_3way.c | 160 +-
arch/x86/include/asm/crypto/glue_helper.h | 118 --
arch/x86/include/asm/crypto/serpent-avx.h | 42 -
crypto/Kconfig | 96 +-
crypto/Makefile | 4 -
crypto/adiantum.c | 2 +
crypto/ansi_cprng.c | 2 +
crypto/blake2b_generic.c | 249 +--
crypto/blake2s_generic.c | 158 +-
crypto/blowfish_generic.c | 23 +-
crypto/camellia_generic.c | 45 +-
crypto/cast5_generic.c | 23 +-
crypto/cast6_generic.c | 39 +-
crypto/cbc.c | 1 +
crypto/ccm.c | 2 +
crypto/cfb.c | 2 +
crypto/cipher.c | 7 +-
crypto/cmac.c | 2 +
crypto/ctr.c | 2 +
crypto/drbg.c | 2 +
crypto/ecb.c | 1 +
crypto/ecdh_helper.c | 3 +
crypto/essiv.c | 2 +
crypto/fcrypt.c | 1 -
crypto/keywrap.c | 2 +
crypto/michael_mic.c | 31 +-
crypto/ofb.c | 2 +
crypto/pcbc.c | 2 +
crypto/ripemd.h | 14 -
crypto/rmd128.c | 323 ----
crypto/rmd256.c | 342 ----
crypto/rmd320.c | 391 -----
crypto/salsa20_generic.c | 212 ---
crypto/serpent_generic.c | 126 +-
crypto/skcipher.c | 8 +-
crypto/tcrypt.c | 113 +-
crypto/testmgr.c | 57 +-
crypto/testmgr.h | 1632 ------------------
crypto/tgr192.c | 682 --------
crypto/twofish_generic.c | 11 +-
crypto/vmac.c | 2 +
crypto/xcbc.c | 2 +
crypto/xor.c | 2 +-
crypto/xts.c | 2 +
drivers/char/hw_random/ingenic-trng.c | 6 +-
drivers/char/hw_random/iproc-rng200.c | 38 +-
drivers/char/hw_random/optee-rng.c | 3 +-
drivers/char/hw_random/timeriomem-rng.c | 5 +-
drivers/crypto/Kconfig | 35 +-
drivers/crypto/Makefile | 2 -
drivers/crypto/allwinner/Kconfig | 9 +
.../crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 196 ++-
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c | 52 +
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash.c | 6 +
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c | 6 +
drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h | 8 +
drivers/crypto/bcm/cipher.c | 6 +-
drivers/crypto/bcm/cipher.h | 4 +-
drivers/crypto/bcm/spu.c | 20 +-
drivers/crypto/bcm/spu2.c | 6 +-
drivers/crypto/bcm/spu2.h | 8 +-
drivers/crypto/bcm/spum.h | 22 +-
drivers/crypto/bcm/util.c | 4 +-
drivers/crypto/bcm/util.h | 26 +-
drivers/crypto/caam/debugfs.c | 4 +-
drivers/crypto/cavium/cpt/cptvf_main.c | 8 +-
drivers/crypto/ccree/cc_cipher.c | 2 +-
drivers/crypto/ccree/cc_driver.h | 1 -
drivers/crypto/geode-aes.c | 2 +
drivers/crypto/hisilicon/hpre/hpre.h | 8 +-
drivers/crypto/hisilicon/hpre/hpre_main.c | 169 +-
drivers/crypto/hisilicon/qm.c | 193 ++-
drivers/crypto/hisilicon/qm.h | 33 +-
drivers/crypto/hisilicon/sec2/sec_main.c | 42 +-
drivers/crypto/hisilicon/zip/zip_main.c | 23 +-
drivers/crypto/inside-secure/safexcel.c | 6 +-
drivers/crypto/inside-secure/safexcel_hash.c | 1 +
drivers/crypto/keembay/Kconfig | 31 +
drivers/crypto/keembay/Makefile | 3 +
drivers/crypto/keembay/keembay-ocs-hcu-core.c | 1264 ++++++++++++++
drivers/crypto/keembay/ocs-aes.c | 10 +-
drivers/crypto/keembay/ocs-hcu.c | 840 +++++++++
drivers/crypto/keembay/ocs-hcu.h | 106 ++
drivers/crypto/marvell/Kconfig | 15 +
drivers/crypto/marvell/Makefile | 1 +
drivers/crypto/marvell/cesa/cesa.c | 10 +-
drivers/crypto/marvell/cesa/cesa.h | 31 +-
drivers/crypto/marvell/cesa/cipher.c | 34 +-
drivers/crypto/marvell/cesa/hash.c | 59 +-
drivers/crypto/marvell/cesa/tdma.c | 52 +-
drivers/crypto/marvell/octeontx2/Makefile | 10 +
drivers/crypto/marvell/octeontx2/otx2_cpt_common.h | 137 ++
.../crypto/marvell/octeontx2/otx2_cpt_hw_types.h | 464 +++++
.../marvell/octeontx2/otx2_cpt_mbox_common.c | 202 +++
drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h | 197 +++
drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 428 +++++
drivers/crypto/marvell/octeontx2/otx2_cptlf.h | 353 ++++
drivers/crypto/marvell/octeontx2/otx2_cptpf.h | 61 +
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 713 ++++++++
drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c | 356 ++++
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 1415 +++++++++++++++
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.h | 162 ++
drivers/crypto/marvell/octeontx2/otx2_cptvf.h | 29 +
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c | 1758 +++++++++++++++++++
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h | 178 ++
drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c | 410 +++++
drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c | 167 ++
.../crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c | 541 ++++++
drivers/crypto/mediatek/Makefile | 3 -
drivers/crypto/mediatek/mtk-aes.c | 1271 --------------
drivers/crypto/mediatek/mtk-platform.c | 586 -------
drivers/crypto/mediatek/mtk-platform.h | 231 ---
drivers/crypto/mediatek/mtk-regs.h | 190 --
drivers/crypto/mediatek/mtk-sha.c | 1353 ---------------
drivers/crypto/picoxcell_crypto.c | 1807 --------------------
drivers/crypto/picoxcell_crypto_regs.h | 115 --
drivers/crypto/qat/Kconfig | 2 +-
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c | 14 +-
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 17 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c | 27 +-
drivers/crypto/qat/qat_common/adf_accel_devices.h | 3 +-
drivers/crypto/qat/qat_common/adf_ctl_drv.c | 1 +
drivers/crypto/qat/qat_common/adf_hw_arbiter.c | 8 +-
drivers/crypto/qat/qat_common/adf_transport.c | 2 +
.../crypto/qat/qat_common/adf_transport_debug.c | 4 +-
drivers/crypto/qat/qat_common/qat_algs.c | 1 +
drivers/crypto/qat/qat_common/qat_asym_algs.c | 12 +-
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 28 +-
drivers/crypto/sahara.c | 7 -
drivers/crypto/stm32/stm32-cryp.c | 2 +-
drivers/crypto/talitos.c | 50 +-
drivers/crypto/talitos.h | 1 +
drivers/crypto/vmx/aes.c | 1 +
drivers/crypto/vmx/aesp8-ppc.h | 6 +
drivers/crypto/vmx/vmx.c | 7 +-
drivers/net/Kconfig | 1 +
drivers/net/ethernet/chelsio/inline_crypto/Kconfig | 1 +
.../chelsio/inline_crypto/ch_ktls/chcr_ktls.c | 19 +-
include/crypto/algapi.h | 39 -
include/crypto/blake2b.h | 67 +
include/crypto/blake2s.h | 63 +-
include/crypto/hash.h | 8 +-
include/crypto/internal/blake2b.h | 115 ++
include/crypto/internal/blake2s.h | 109 +-
include/crypto/internal/cipher.h | 218 +++
include/crypto/internal/skcipher.h | 2 +-
include/linux/crypto.h | 172 +-
lib/crypto/blake2s.c | 48 +-
lib/crypto/chacha20poly1305.c | 5 +
208 files changed, 13977 insertions(+), 15312 deletions(-)
create mode 100644 Documentation/devicetree/bindings/crypto/intel,keembay-ocs-hcu.yaml
create mode 100644 arch/arm/crypto/blake2b-neon-core.S
create mode 100644 arch/arm/crypto/blake2b-neon-glue.c
create mode 100644 arch/arm/crypto/blake2s-core.S
create mode 100644 arch/arm/crypto/blake2s-glue.c
rename arch/x86/{include/asm => }/crypto/camellia.h (69%)
create mode 100644 arch/x86/crypto/ecb_cbc_helpers.h
delete mode 100644 arch/x86/crypto/glue_helper.c
create mode 100644 arch/x86/crypto/serpent-avx.h
rename arch/x86/{include/asm => }/crypto/serpent-sse2.h (100%)
rename arch/x86/{include/asm => }/crypto/twofish.h (80%)
delete mode 100644 arch/x86/include/asm/crypto/glue_helper.h
delete mode 100644 arch/x86/include/asm/crypto/serpent-avx.h
delete mode 100644 crypto/rmd128.c
delete mode 100644 crypto/rmd256.c
delete mode 100644 crypto/rmd320.c
delete mode 100644 crypto/salsa20_generic.c
delete mode 100644 crypto/tgr192.c
create mode 100644 drivers/crypto/keembay/keembay-ocs-hcu-core.c
create mode 100644 drivers/crypto/keembay/ocs-hcu.c
create mode 100644 drivers/crypto/keembay/ocs-hcu.h
create mode 100644 drivers/crypto/marvell/octeontx2/Makefile
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_common.h
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_hw_types.h
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_mbox_common.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptlf.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptlf.h
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf.h
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptpf_ucode.h
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf.h
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c
delete mode 100644 drivers/crypto/mediatek/Makefile
delete mode 100644 drivers/crypto/mediatek/mtk-aes.c
delete mode 100644 drivers/crypto/mediatek/mtk-platform.c
delete mode 100644 drivers/crypto/mediatek/mtk-platform.h
delete mode 100644 drivers/crypto/mediatek/mtk-regs.h
delete mode 100644 drivers/crypto/mediatek/mtk-sha.c
delete mode 100644 drivers/crypto/picoxcell_crypto.c
delete mode 100644 drivers/crypto/picoxcell_crypto_regs.h
create mode 100644 include/crypto/blake2b.h
create mode 100644 include/crypto/internal/blake2b.h
create mode 100644 include/crypto/internal/cipher.h

Thanks,
--
Email: Herbert Xu <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

2021-02-22 01:30:26

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Crypto Update for 5.12

The pull request you sent on Mon, 15 Feb 2021 13:47:21 +1100:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git linus

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/31caf8b2a847214be856f843e251fc2ed2cd1075

Thank you!

--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/prtracker.html