2021-06-28 11:02:16

by Herbert Xu

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

Hi Linus:

Algorithms:

- Fix rmmod crash with x86/curve25519.
- Add ECDH NIST P384.
- Generate assembly files at build-time with perl scripts on arm.
- Switch to HMAC SHA512 DRBG as default DRBG.

Drivers:

- Add sl3516 crypto engine.
- Add ECDH NIST P384 support in hisilicon/hpre.
- Add {ofb,cfb,ctr} over {aes,sm4} in hisilicon/sec.
- Add {ccm,gcm} over {aes,sm4} in hisilicon/sec.
- Enable omap hwrng driver for TI K3 family.
- Add support for AEAD algorithms in qce.

Please note that there is a merge conflict with cavium/nitrox,
the fix is to simply use the version from the crypto tree.

The following changes since commit 6efb943b8616ec53a5e444193dccf1af9ad627b5:

Linux 5.13-rc1 (2021-05-09 14:17:44 -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 9f38b678ffc4e2ccf167a1131c0403dc4f5e1bb7:

crypto: sl3516 - depends on HAS_IOMEM (2021-06-24 14:57:28 +0800)

----------------------------------------------------------------
Ard Biesheuvel (2):
crypto: tcrypt - enable tests for xxhash and blake2
crypto: shash - avoid comparing pointers to exported functions under CFI

Arnd Bergmann (1):
crypto: ixp4xx - convert to platform driver

Baokun Li (1):
crypto: ccp - Use list_move_tail instead of list_del/list_add_tail in ccp-dmaengine.c

Bixuan Cui (1):
crypto: nx - add missing MODULE_DEVICE_TABLE

Christophe JAILLET (3):
crypto: cpt - Use 'hlist_for_each_entry' to simplify code
crypto: ccp - Fix a resource leak in an error handling path
crypto: cavium/nitrox - Fix an error rhandling path in 'nitrox_probe()'

Colin Ian King (2):
hwrng: amd - remove redundant initialization of variable err
crypto: hisilicon/sec - Fix spelling mistake "fallbcak" -> "fallback"

Corentin Labbe (15):
crypto: ixp4xx - dma_unmap the correct address
crypto: ixp4xx - update IV after requests
crypto: ixp4xx - fallback when having more than one SG
crypto: ixp4xx - convert unsigned to unsigned int
crypto: ixp4xx - convert all printk to dev_xxx
crypto: ixp4xx - whitespace fixes
crypto: ixp4xx - Do not initialize static to NULL
crypto: ixp4xx - remove brackets from single statement
crypto: ixp4xx - Correct functions alignment
MAINTAINERS: add ixp4xx_crypto to the right arch list
MAINTAINERS: add myself as maintainer of ixp4xx_crypto
dt-bindings: crypto: Add documentation for sl3516-ce
crypto: sl3516 - Add sl3516 crypto engine
MAINTAINERS: add gemini crypto sl3516-ce
crypto: sl3516 - depends on HAS_IOMEM

Hangbin Liu (1):
crypto: x86/curve25519 - fix cpu feature checking logic in mod_exit

Herbert Xu (4):
crypto: sa2ul - Remove unused auth_len variable
crypto: api - Move crypto attr definitions out of crypto.h
crypto: nx - Fix RCU warning in nx842_OF_upd_status
crypto: nx - Fix numerous sparse byte-order warnings

Hongbo Li (1):
crypto: sm2 - fix a memory leak in sm2

Horia Geantă (1):
MAINTAINERS: update caam crypto driver maintainers list

Hui Tang (20):
crypto: testmgr - fix initialization of 'secret_size'
crypto: ecdh - extend 'cra_driver_name' with curve name
crypto: hisilicon/hpre - extend 'cra_driver_name' with curve name
crypto: hisilicon/hpre - fix unmapping invalid dma address
crypto: hisilicon/hpre - the macro 'HPRE_ADDR' expands
crypto: hisilicon/hpre - init a structure member each line
crypto: hisilicon/hpre - replace macro with inline function
crypto: hisilicon/hpre - remove the macro of 'HPRE_DEV'
crypto: hisilicon/hpre - delete rudundant initialization
crypto: hisilicon/hpre - use 'GENMASK' to generate mask value
crypto: hisilicon/hpre - delete rudundant macro definition
crypto: hisilicon/hpre - add 'default' for switch statement
crypto: khazad,wp512 - remove leading spaces before tabs
crypto: ecdh - fix ecdh-nist-p192's entry in testmgr
crypto: ecdh - fix 'ecdh_init'
crypto: ecdh - register NIST P384 tfm
crypto: ecdh - add test suite for NIST P384
crypto: hisilicon/hpre - fix ecdh self test issue
crypto: hisilicon/hpre - add check before gx modulo p
crypto: hisilicon/hpre - register ecdh NIST P384

Jack Xu (5):
crypto: qat - return error when failing to map FW
crypto: qat - check MMP size before writing to the SRAM
crypto: qat - report an error if MMP file size is too large
crypto: qat - check return code of qat_hal_rd_rel_reg()
crypto: qat - remove unused macro in FW loader

Jiapeng Chong (1):
crypto: qce - Fix inconsistent indenting

Joerg Roedel (1):
crypto: ccp - Annotate SEV Firmware file names

Juerg Haefliger (1):
hwrng: Kconfig - Remove leading spaces

Kai Ye (19):
crypto: hisilicon/qm - add dfx log if not use hardware crypto algs
crypto: hisilicon/qm - fix the process of VF's list adding
crypto: hisilicon/sec - add new type of SQE
crypto: hisilicon/sec - driver adapt to new SQE
crypto: hisilicon/sec - add new skcipher mode for SEC
crypto: hisilicon/sec - add fallback tfm supporting for XTS mode
crypto: hisilicon/sec - fixup 3des minimum key size declaration
crypto: hisilicon/sec - add new algorithm mode for AEAD
crypto: hisilicon/sec - add fallback tfm supporting for aeads
crypto: hisilicon/sec - add hardware integrity check value process
crypto: hisilicon/sec - modify the SEC request structure
crypto: hisilicon/qm - supports writing QoS int the host
crypto: hisilicon/qm - add the "alg_qos" file node
crypto: hisilicon/qm - merges the work initialization process into a single function
crypto: hisilicon/qm - add pf ping single vf function
crypto: hisilicon/qm - supports to inquiry each function's QoS
crypto: hisilicon/sec - adds the max shaper type rate
crypto: hisilicon/hpre - adds the max shaper type rate
crypto: hisilicon/zip - adds the max shaper type rate

Kees Cook (1):
crypto: nx - Fix memcpy() over-reading in nonce

Lee Jones (3):
crypto: cavium: Fix a bunch of kernel-doc related issues
crypto: nx: nx-aes-gcm: Kernel-doc formatting should not be used for headers
crypto: ccp: ccp-dev: Fix a little doc-rot

Linus Walleij (2):
crypto: ixp4xx - Add DT bindings
crypto: ixp4xx - Add device tree support

Liu Shixin (1):
crypto: api - remove CRYPTOA_U32 and related functions

Longfang Liu (1):
crypto: hisilicon/qm - support address prefetching

Masahiro Yamada (4):
crypto: arm - generate *.S by Perl at build time instead of shipping them
crypto: arm - use a pattern rule for generating *.S files
crypto: arm64 - generate *.S by Perl at build time instead of shipping them
crypto: arm64 - use a pattern rule for generating *.S files

Shaokun Zhang (2):
hwrng: core - remove redundant initialization of variable err
crypto: nx - Fix typo in comment

Srujana Challa (4):
crypto: octeontx2 - Add mailbox support for CN10K
crypto: octeontx2 - add support to map LMTST region for CN10K
crypto: octeontx2 - add support for CPT operations on CN10K
crypto: octeontx2 - enable and handle ME interrupts

Stephan Müller (1):
crypto: DRBG - switch to HMAC SHA512 DRBG as default DRBG

Suman Anna (6):
hwrng: omap - Enable driver for TI K3 family
crypto: sa2ul - Fix leaks on failure paths with sa_dma_init()
crypto: sa2ul - Fix pm_runtime enable in sa_ul_probe()
crypto: sa2ul - Use of_device_get_match_data() helper
crypto: sa2ul - Use devm_platform_ioremap_resource()
crypto: sa2ul - Remove child devices in remove

Thara Gopinath (9):
crypto: qce - Add MAC failed error checking
crypto: qce - Make result dump optional
crypto: qce - Add mode for rfc4309
crypto: qce - Add support for AEAD algorithms
crypto: qce - Clean up qce_auth_cfg
crypto: qce - Add support for AEAD algorithms
crypto: qce - Schedule fallback aead algorithm
crypto: qce: skcipher: Fix incorrect sg count for dma transfers
MAINTAINERS: Add maintainer for Qualcomm crypto drivers

Tian Tao (3):
hwrng: exynos - Use pm_runtime_resume_and_get() to replace open coding
hwrng: omap - Use pm_runtime_resume_and_get() to replace open coding
hwrng: ks-sa - Use pm_runtime_resume_and_get() to replace open coding

Tom Rix (1):
crypto: marvell/cesa - change FPGA indirect article to an

Tong Tiangen (1):
crypto: nitrox - fix unchecked variable in nitrox_register_interrupts

Wei Yongjun (2):
crypto: qce - Fix some error handling path
crypto: qce - fix error return code in qce_skcipher_async_req_handle()

Weili Qian (9):
crypto: hisilicon/qm - initialize the device before doing tasks
crypto: hisilicon/qm - modify 'QM_RESETTING' clearing error
crypto: hisilicon/qm - adjust order of device error configuration
crypto: hisilicon/qm - enable to close master ooo when NFE occurs
crypto: hisilicon/qm - add MSI detection steps on Kunpeng930
crypto: hisilicon/qm - adjust reset interface
crypto: hisilicon/qm - enable PF and VFs communication
crypto: hisilicon/qm - add callback to support communication
crypto: hisilicon/qm - update reset flow

Wenkai Lin (1):
crypto: hisilicon/qm - implement for querying hardware tasks status.

Wu Bo (1):
crypto: af_alg - use DIV_ROUND_UP helper macro for calculations

Yang Li (2):
crypto: cavium/nitrox - Remove redundant initialization of 'sg'
crypto: cavium/nitrox - Fix kernel-doc

YueHaibing (2):
hwrng: core - Use DEVICE_ATTR_<RW|RO> macro
crypto: sl3516 - Fix build warning without CONFIG_PM

Zhang Qilong (2):
crypto: omap-des - using pm_runtime_resume_and_get instead of pm_runtime_get_sync
crypto: omap-sham - Fix PM reference leak in omap sham ops

Zhen Lei (2):
crypto: ux500 - Fix error return code in hash_hw_final()
crypto: header - Fix spelling errors

Zou Wei (1):
crypto: hisilicon - switch to memdup_user_nul()

kernel test robot (1):
crypto: sl3516 - fix duplicated inclusion

Łukasz Stelmach (1):
hwrng: exynos - Fix runtime PM imbalance on error

.../bindings/crypto/cortina,sl3516-crypto.yaml | 50 +
.../bindings/crypto/intel,ixp4xx-crypto.yaml | 47 +
.../intel,ixp4xx-network-processing-engine.yaml | 22 +-
MAINTAINERS | 23 +-
arch/arm/crypto/Makefile | 10 +-
arch/arm/crypto/poly1305-core.S_shipped | 1158 --------
arch/arm/crypto/sha256-core.S_shipped | 2816 --------------------
arch/arm/crypto/sha512-core.S_shipped | 1869 -------------
arch/arm/mach-ixp4xx/common.c | 26 +
arch/arm64/crypto/Makefile | 10 +-
arch/arm64/crypto/poly1305-core.S_shipped | 835 ------
arch/arm64/crypto/sha256-core.S_shipped | 2069 --------------
arch/arm64/crypto/sha512-core.S_shipped | 1093 --------
arch/x86/crypto/curve25519-x86_64.c | 2 +-
crypto/af_alg.c | 2 +-
crypto/algapi.c | 18 -
crypto/algboss.c | 31 +-
crypto/drbg.c | 12 +-
crypto/ecdh.c | 49 +-
crypto/internal.h | 12 +
crypto/khazad.c | 2 +-
crypto/shash.c | 18 +-
crypto/sm2.c | 24 +-
crypto/tcrypt.c | 36 +
crypto/testmgr.c | 10 +-
crypto/testmgr.h | 71 +-
crypto/wp512.c | 40 +-
drivers/char/hw_random/Kconfig | 10 +-
drivers/char/hw_random/amd-rng.c | 2 +-
drivers/char/hw_random/core.c | 38 +-
drivers/char/hw_random/exynos-trng.c | 7 +-
drivers/char/hw_random/ks-sa-rng.c | 3 +-
drivers/char/hw_random/omap-rng.c | 6 +-
drivers/crypto/Kconfig | 41 +
drivers/crypto/Makefile | 1 +
drivers/crypto/cavium/cpt/cptpf_main.c | 2 +-
drivers/crypto/cavium/cpt/cptvf_reqmanager.c | 10 +-
drivers/crypto/cavium/nitrox/nitrox_isr.c | 4 +
drivers/crypto/cavium/nitrox/nitrox_main.c | 22 +-
drivers/crypto/cavium/nitrox/nitrox_mbx.c | 4 +-
drivers/crypto/cavium/nitrox/nitrox_reqmgr.c | 16 +-
drivers/crypto/cavium/nitrox/nitrox_skcipher.c | 2 +-
drivers/crypto/ccp/ccp-dev.c | 2 +-
drivers/crypto/ccp/ccp-dmaengine.c | 3 +-
drivers/crypto/ccp/sev-dev.c | 4 +
drivers/crypto/ccp/sp-pci.c | 6 +-
drivers/crypto/gemini/Makefile | 2 +
drivers/crypto/gemini/sl3516-ce-cipher.c | 387 +++
drivers/crypto/gemini/sl3516-ce-core.c | 535 ++++
drivers/crypto/gemini/sl3516-ce-rng.c | 61 +
drivers/crypto/gemini/sl3516-ce.h | 347 +++
drivers/crypto/hisilicon/hpre/hpre_crypto.c | 185 +-
drivers/crypto/hisilicon/hpre/hpre_main.c | 256 +-
drivers/crypto/hisilicon/qm.c | 2181 +++++++++++----
drivers/crypto/hisilicon/qm.h | 17 +
drivers/crypto/hisilicon/sec2/sec.h | 23 +-
drivers/crypto/hisilicon/sec2/sec_crypto.c | 1036 ++++++-
drivers/crypto/hisilicon/sec2/sec_crypto.h | 193 ++
drivers/crypto/hisilicon/sec2/sec_main.c | 100 +-
drivers/crypto/hisilicon/zip/zip_main.c | 99 +-
drivers/crypto/ixp4xx_crypto.c | 413 +--
drivers/crypto/marvell/cesa/cesa.h | 2 +-
drivers/crypto/marvell/octeontx2/Makefile | 13 +-
drivers/crypto/marvell/octeontx2/cn10k_cpt.c | 93 +
drivers/crypto/marvell/octeontx2/cn10k_cpt.h | 36 +
drivers/crypto/marvell/octeontx2/otx2_cpt_common.h | 23 +
.../crypto/marvell/octeontx2/otx2_cpt_hw_types.h | 16 +-
drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 9 +-
drivers/crypto/marvell/octeontx2/otx2_cptlf.h | 10 +
drivers/crypto/marvell/octeontx2/otx2_cptpf.h | 1 +
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 160 +-
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 32 +-
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.h | 8 +-
drivers/crypto/marvell/octeontx2/otx2_cptvf.h | 3 +
drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c | 49 +-
drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c | 43 +
.../crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c | 17 +-
drivers/crypto/nx/nx-842-pseries.c | 31 +-
drivers/crypto/nx/nx-aes-cbc.c | 2 +-
drivers/crypto/nx/nx-aes-ccm.c | 4 +-
drivers/crypto/nx/nx-aes-ctr.c | 4 +-
drivers/crypto/nx/nx-aes-ecb.c | 2 +-
drivers/crypto/nx/nx-aes-gcm.c | 2 +-
drivers/crypto/nx/nx-common-powernv.c | 4 +-
drivers/crypto/nx/nx-sha256.c | 19 +-
drivers/crypto/nx/nx-sha512.c | 19 +-
drivers/crypto/nx/nx_csbcpb.h | 4 +-
drivers/crypto/omap-des.c | 9 +-
drivers/crypto/omap-sham.c | 4 +-
.../qat/qat_common/icp_qat_fw_loader_handle.h | 2 +-
drivers/crypto/qat/qat_common/qat_hal.c | 14 +-
drivers/crypto/qat/qat_common/qat_uclo.c | 12 +-
drivers/crypto/qce/Makefile | 1 +
drivers/crypto/qce/aead.c | 847 ++++++
drivers/crypto/qce/aead.h | 56 +
drivers/crypto/qce/common.c | 196 +-
drivers/crypto/qce/common.h | 9 +-
drivers/crypto/qce/core.c | 4 +
drivers/crypto/qce/skcipher.c | 19 +-
drivers/crypto/sa2ul.c | 50 +-
drivers/crypto/ux500/hash/hash_core.c | 1 +
drivers/soc/ixp4xx/ixp4xx-npe.c | 7 +
include/crypto/aead.h | 2 +-
include/crypto/algapi.h | 10 +-
include/crypto/engine.h | 2 +-
include/crypto/hash.h | 2 +-
include/crypto/internal/hash.h | 8 +-
include/linux/crypto.h | 26 -
108 files changed, 7084 insertions(+), 11176 deletions(-)
create mode 100644 Documentation/devicetree/bindings/crypto/cortina,sl3516-crypto.yaml
create mode 100644 Documentation/devicetree/bindings/crypto/intel,ixp4xx-crypto.yaml
delete mode 100644 arch/arm/crypto/poly1305-core.S_shipped
delete mode 100644 arch/arm/crypto/sha256-core.S_shipped
delete mode 100644 arch/arm/crypto/sha512-core.S_shipped
delete mode 100644 arch/arm64/crypto/poly1305-core.S_shipped
delete mode 100644 arch/arm64/crypto/sha256-core.S_shipped
delete mode 100644 arch/arm64/crypto/sha512-core.S_shipped
create mode 100644 drivers/crypto/gemini/Makefile
create mode 100644 drivers/crypto/gemini/sl3516-ce-cipher.c
create mode 100644 drivers/crypto/gemini/sl3516-ce-core.c
create mode 100644 drivers/crypto/gemini/sl3516-ce-rng.c
create mode 100644 drivers/crypto/gemini/sl3516-ce.h
create mode 100644 drivers/crypto/marvell/octeontx2/cn10k_cpt.c
create mode 100644 drivers/crypto/marvell/octeontx2/cn10k_cpt.h
create mode 100644 drivers/crypto/qce/aead.c
create mode 100644 drivers/crypto/qce/aead.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-06-28 23:44:40

by pr-tracker-bot

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

The pull request you sent on Mon, 28 Jun 2021 19:00:51 +0800:

> 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/6159c49e12284b4880fd60e0575a71a40556a67e

Thank you!

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

2021-08-30 08:29:16

by Herbert Xu

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

Hi Linus:

Algorithms:

- Add AES-NI/AVX/x86_64 implementation of SM4.

Drivers:

- Add Arm SMCCC TRNG based driver.

The following changes since commit 5261cdf457ce3635bf18d393a3c1991dcfaf9d02:

crypto: drbg - select SHA512 (2021-07-16 15:49:31 +0800)

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 6ae51ffe5e768d9e25a7f4298e2e7a058472bcc3:

crypto: sha512 - remove imaginary and mystifying clearing of variables (2021-08-27 16:30:19 +0800)

----------------------------------------------------------------
Ahsan Atta (1):
crypto: qat - flush vf workqueue at driver removal

Andre Przywara (2):
firmware: smccc: Register smccc_trng platform device
hwrng: Add Arm SMCCC TRNG based driver

Ard Biesheuvel (1):
crypto: x86/aes-ni - add missing error checks in XTS code

Ben Hutchings (2):
crypto: omap - Avoid redundant copy when using truncated sg list
crypto: omap - Fix inconsistent locking of device lists

Brijesh Singh (1):
crypto: ccp - shutdown SEV firmware on kexec

Cai Huoqing (1):
padata: Remove repeated verbose license text

Changbin Du (1):
crypto: skcipher - in_irq() cleanup

Christophe JAILLET (3):
crypto: qat - simplify code and axe the use of a deprecated API
crypto: qat - disable AER if an error occurs in probe functions
crypto: qat - fix a typo in a comment

Giovanni Cabiddu (8):
crypto: qat - set DMA mask to 48 bits for Gen2
crypto: qat - use proper type for vf_mask
crypto: qat - do not ignore errors from enable_vf2pf_comms()
crypto: qat - handle both source of interrupt in VF ISR
crypto: qat - prevent spurious MSI interrupt in VF
crypto: qat - move IO virtualization functions
crypto: qat - do not export adf_iov_putmsg()
crypto: qat - store vf.compatible flag

Hongbo Li (1):
lib/mpi: use kcalloc in mpi_resize

Jason Wang (2):
crypto: sun8i-ss - Use kfree_sensitive
crypto: sun8i-ce - use kfree_sensitive to clear and free sensitive data

John Allen (1):
crypto: ccp - Add support for new CCP/PSP device ID

Kai Ye (2):
crypto: hisilicon/sec - fix the abnormal exiting process
crypto: hisilicon/sec - modify the hardware endian configuration

Kanchana Velusamy (1):
crypto: qat - protect interrupt mask CSRs with a spinlock

Lukas Bulwahn (2):
crypto: rmd320 - remove rmd320 in Makefile
crypto: sha512 - remove imaginary and mystifying clearing of variables

Marco Chiappero (10):
crypto: qat - remove empty sriov_configure()
crypto: qat - enable interrupts only after ISR allocation
crypto: qat - prevent spurious MSI interrupt in PF
crypto: qat - rename compatibility version definition
crypto: qat - fix reuse of completion variable
crypto: qat - move pf2vf interrupt [en|dis]able to adf_vf_isr.c
crypto: qat - fix naming for init/shutdown VF to PF notifications
crypto: qat - complete all the init steps before service notification
crypto: qat - fix naming of PF/VF enable functions
crypto: qat - remove the unnecessary get_vintmsk_offset()

Mian Yousaf Kaukab (1):
crypto: ecc - handle unaligned input buffer in ecc_swap_digits

Randy Dunlap (4):
crypto: arm/curve25519 - rename 'mod_init' & 'mod_exit' functions to be module-specific
hwrng: rename 'mod_init' & 'mod_exit' functions to be module-specific
crypto: lib - rename 'mod_init' & 'mod_exit' functions to be module-specific
crypto: wp512 - correct a non-kernel-doc comment

Salah Triki (1):
crypto: atmel-aes - use swap()

Sean Anderson (2):
crypto: mxs-dcp - Check for DMA mapping errors
crypto: mxs-dcp - Use sg_mapping_iter to copy data

Sebastian Andrzej Siewior (2):
crypto: virtio - Replace deprecated CPU-hotplug functions.
padata: Replace deprecated CPU-hotplug functions.

Shreyansh Chouhan (1):
crypto: aesni - xts_crypt() return if walk.nbytes is 0

Svyatoslav Pankratov (1):
crypto: qat - remove intermediate tasklet for vf2pf

Tianjia Zhang (9):
crypto: sm4 - create SM4 library based on sm4 generic code
crypto: arm64/sm4-ce - Make dependent on sm4 library instead of sm4-generic
crypto: x86/sm4 - add AES-NI/AVX/x86_64 implementation
crypto: tcrypt - add the asynchronous speed test for SM4
crypto: tcrypt - Fix missing return value check
crypto: testmgr - Add GCM/CCM mode test of SM4 algorithm
crypto: tcrypt - add GCM/CCM mode test for SM4 algorithm
crypto: x86/sm4 - export reusable AESNI/AVX functions
crypto: x86/sm4 - add AES-NI/AVX2/x86_64 implementation

Tony Lindgren (6):
crypto: omap-sham - clear dma flags only after omap_sham_update_dma_stop()
crypto: omap-sham - initialize req only after omap_sham_hw_init()
crypto: omap-sham - add missing pm_runtime_dontuse_autosuspend()
crypto: omap-sham - drop old hw_init and unused FLAGS_INIT
crypto: omap-sham - drop suspend and resume functions
crypto: omap-sham - drop pm_runtime_irqsafe() usage

Tudor Ambarus (9):
crypto: atmel-tdes - Clarify how tdes dev gets allocated to the tfm
crypto: atmel-tdes - Handle error messages
crypto: atmel-aes - Add blocksize constraint for ECB and CBC modes
crypto: atmel-aes - Add XTS input length constraint
crypto: atmel-aes - Add NIST 800-38A's zero length cryptlen constraint
crypto: atmel-tdes - Add FIPS81's zero length cryptlen constraint
crypto: atmel - Set OFB's blocksize to 1
crypto: atmel-aes - Add fallback to XTS software implementation
crypto: atmel-aes - Allocate aes dev at tfm init time

Weili Qian (8):
crypto: hisilicon - enable zip device clock gating
crypto: hisilicon - enable sec device clock gating
crypto: hisilicon - enable hpre device clock gating
crypto: hisilicon - using 'debugfs_create_file' instead of 'debugfs_create_regset32'
crypto: hisilicon - add runtime PM ops
crypto: hisilicon - support runtime PM for accelerator device
crypto: hisilicon - change parameter passing of debugfs function
crypto: hisilicon - check _PS0 and _PR0 method

Xiyu Yang (1):
padata: Convert from atomic_t to refcount_t on parallel_data->refcnt

arch/arm/crypto/curve25519-glue.c | 8 +-
arch/arm64/crypto/Kconfig | 2 +-
arch/arm64/crypto/sm4-ce-glue.c | 20 +-
arch/x86/crypto/Makefile | 6 +
arch/x86/crypto/aesni-intel_glue.c | 5 +
arch/x86/crypto/sm4-aesni-avx-asm_64.S | 589 +++++++++++++++++++++
arch/x86/crypto/sm4-aesni-avx2-asm_64.S | 497 +++++++++++++++++
arch/x86/crypto/sm4-avx.h | 24 +
arch/x86/crypto/sm4_aesni_avx2_glue.c | 169 ++++++
arch/x86/crypto/sm4_aesni_avx_glue.c | 487 +++++++++++++++++
crypto/Kconfig | 44 ++
crypto/Makefile | 1 -
crypto/ecc.h | 5 +-
crypto/sha512_generic.c | 3 -
crypto/skcipher.c | 2 +-
crypto/sm4_generic.c | 180 +------
crypto/tcrypt.c | 100 +++-
crypto/testmgr.c | 29 +
crypto/testmgr.h | 148 ++++++
crypto/wp512.c | 2 +-
drivers/char/hw_random/Kconfig | 14 +
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/amd-rng.c | 8 +-
drivers/char/hw_random/arm_smccc_trng.c | 123 +++++
drivers/char/hw_random/geode-rng.c | 8 +-
drivers/char/hw_random/intel-rng.c | 8 +-
drivers/char/hw_random/via-rng.c | 8 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c | 9 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-trng.c | 3 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 9 +-
drivers/crypto/atmel-aes.c | 154 ++++--
drivers/crypto/atmel-tdes.c | 66 +--
drivers/crypto/ccp/sev-dev.c | 49 +-
drivers/crypto/ccp/sp-pci.c | 19 +
drivers/crypto/hisilicon/hpre/hpre_main.c | 123 ++++-
drivers/crypto/hisilicon/qm.c | 430 ++++++++++++---
drivers/crypto/hisilicon/qm.h | 8 +
drivers/crypto/hisilicon/sec2/sec.h | 5 -
drivers/crypto/hisilicon/sec2/sec_main.c | 138 +++--
drivers/crypto/hisilicon/zip/zip_main.c | 83 ++-
drivers/crypto/mxs-dcp.c | 81 +--
drivers/crypto/omap-aes.c | 8 +-
drivers/crypto/omap-crypto.c | 2 +-
drivers/crypto/omap-des.c | 8 +-
drivers/crypto/omap-sham.c | 68 +--
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c | 8 +-
drivers/crypto/qat/qat_4xxx/adf_drv.c | 14 +-
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 19 +-
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.h | 1 -
drivers/crypto/qat/qat_c3xxx/adf_drv.c | 21 +-
.../crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.c | 14 +-
.../crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.h | 1 -
drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 16 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c | 19 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.h | 1 -
drivers/crypto/qat/qat_c62x/adf_drv.c | 21 +-
drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.c | 14 +-
drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.h | 1 -
drivers/crypto/qat/qat_c62xvf/adf_drv.c | 16 +-
drivers/crypto/qat/qat_common/adf_accel_devices.h | 8 +-
drivers/crypto/qat/qat_common/adf_aer.c | 2 +-
drivers/crypto/qat/qat_common/adf_common_drv.h | 21 +-
drivers/crypto/qat/qat_common/adf_init.c | 13 +-
drivers/crypto/qat/qat_common/adf_isr.c | 42 +-
drivers/crypto/qat/qat_common/adf_pf2vf_msg.c | 78 +--
drivers/crypto/qat/qat_common/adf_pf2vf_msg.h | 2 +-
drivers/crypto/qat/qat_common/adf_sriov.c | 8 +-
drivers/crypto/qat/qat_common/adf_vf2pf_msg.c | 12 +-
drivers/crypto/qat/qat_common/adf_vf_isr.c | 64 ++-
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 19 +-
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h | 1 -
drivers/crypto/qat/qat_dh895xcc/adf_drv.c | 21 +-
.../qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.c | 14 +-
.../qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.h | 1 -
drivers/crypto/qat/qat_dh895xccvf/adf_drv.c | 16 +-
drivers/crypto/virtio/virtio_crypto_core.c | 4 +-
drivers/firmware/smccc/smccc.c | 17 +
include/crypto/sm4.h | 25 +-
include/linux/padata.h | 3 +-
kernel/padata.c | 35 +-
lib/crypto/Kconfig | 3 +
lib/crypto/Makefile | 3 +
lib/crypto/blake2s.c | 8 +-
lib/crypto/chacha20poly1305.c | 8 +-
lib/crypto/curve25519.c | 8 +-
lib/crypto/sm4.c | 176 ++++++
lib/mpi/mpiutil.c | 2 +-
87 files changed, 3695 insertions(+), 839 deletions(-)
create mode 100644 arch/x86/crypto/sm4-aesni-avx-asm_64.S
create mode 100644 arch/x86/crypto/sm4-aesni-avx2-asm_64.S
create mode 100644 arch/x86/crypto/sm4-avx.h
create mode 100644 arch/x86/crypto/sm4_aesni_avx2_glue.c
create mode 100644 arch/x86/crypto/sm4_aesni_avx_glue.c
create mode 100644 drivers/char/hw_random/arm_smccc_trng.c
create mode 100644 lib/crypto/sm4.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

2021-08-30 20:17:48

by pr-tracker-bot

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

The pull request you sent on Mon, 30 Aug 2021 16:28:18 +0800:

> 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/44a7d4441181d0f2d622dc9bb512d7f5ca13f768

Thank you!

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

2021-11-02 03:52:58

by Herbert Xu

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

Hi Linus:

API:

- Delay boot-up self-test for built-in algorithms.

Algorithms:

- Remove fallback path on arm64 as SIMD now runs with softirq off.

Drivers:

- Add Keem Bay OCS ECC Driver.

The following changes since commit 6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f:

Linux 5.15-rc1 (2021-09-12 16:28:37 -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 39ef08517082a424b5b65c3dbaa6c0fa9d3303b9:

crypto: testmgr - fix wrong key length for pkcs1pad (2021-10-29 21:04:04 +0800)

----------------------------------------------------------------
Ard Biesheuvel (7):
crypto: arm64/gcm-aes-ce - remove non-SIMD fallback path
crypto: arm64/aes-neonbs - stop using SIMD helper for skciphers
crypto: arm64/aes-ce - stop using SIMD helper for skciphers
crypto: arm64/aes-ccm - yield NEON when processing auth-only data
crypto: arm64/aes-ccm - remove non-SIMD fallback path
crypto: arm64/aes-ccm - reduce NEON begin/end calls for common case
crypto: arm64/aes-ccm - avoid by-ref argument for ce_aes_ccm_auth_data

Arnd Bergmann (2):
crypto: ecc - fix CRYPTO_DEFAULT_RNG dependency
crypto: ccree - avoid out-of-range warnings from clang

Cai Huoqing (3):
hwrng: Kconfig - Add helper dependency on COMPILE_TEST
hwrng: ixp4xx - Make use of the helper function devm_platform_ioremap_resource()
crypto: ccp - Make use of the helper macro kthread_run()

Colin Ian King (2):
crypto: img-hash - remove need for error return variable ret
crypto: hisilicon/zip - Fix spelling mistake "COMSUMED" -> "CONSUMED"

Daniel Jordan (1):
crypto: pcrypt - Delay write to padata->info

Daniele Alessandrelli (2):
crypto: ecc - Move ecc.h to include/crypto/internal
crypto: ecc - Export additional helper functions

Giovanni Cabiddu (5):
crypto: qat - remove unneeded packed attribute
crypto: qat - power up 4xxx device
crypto: qat - detect PFVF collision after ACK
crypto: qat - disregard spurious PFVF interrupts
crypto: qat - use hweight for bit counting

Herbert Xu (4):
crypto: hisilicon - Fix sscanf format signedness
crypto: api - Fix built-in testing dependency failures
crypto: api - Export crypto_boot_test_finished
crypto: api - Do not create test larvals if manager is disabled

Horia Geantă (1):
crypto: tcrypt - fix skcipher multi-buffer tests for 1420B blocks

Kai Ye (3):
crypto: hisilicon/qm - fix the uacce mmap failed
crypto: hisilicon/qm - support the userspace task resetting
crypto: hisilicon/qm - modify the uacce mode check

Krzysztof Kozlowski (1):
crypto: marvell/cesa - drop unneeded MODULE_ALIAS

Lei He (1):
crypto: testmgr - fix wrong key length for pkcs1pad

Maksim Lukoshkov (1):
crypto: qat - free irqs only if allocated

Marco Chiappero (9):
crypto: qat - remove unnecessary collision prevention step in PFVF
crypto: qat - fix handling of VF to PF interrupts
crypto: qat - remove duplicated logic across GEN2 drivers
crypto: qat - make pfvf send message direction agnostic
crypto: qat - move pfvf collision detection values
crypto: qat - rename pfvf collision constants
crypto: qat - add VF and PF wrappers to common send function
crypto: qat - extract send and wait from adf_vf2pf_request_version()
crypto: qat - share adf_enable_pf2vf_comms() from adf_pf2vf_msg.c

Markus Schneider-Pargmann (1):
hwrng: mtk - Force runtime pm ops for sleep ops

Michael Walle (1):
crypto: caam - disable pkc for non-E SoCs

Nathan Chancellor (1):
crypto: sm4 - Do not change section of ck and sbox

Ovidiu Panait (1):
crypto: octeontx2 - set assoclen in aead_do_fallback()

Peter Gonda (1):
crypto: ccp - Fix whitespace in sev_cmd_buffer_len()

Prabhjot Khurana (3):
crypto: engine - Add KPP Support to Crypto Engine
dt-bindings: crypto: Add Keem Bay ECC bindings
crypto: keembay-ocs-ecc - Add Keem Bay OCS ECC Driver

Qing Wang (1):
hwrng: s390 - replace snprintf in show functions with sysfs_emit

Randy Dunlap (1):
crypto: jitter - drop kernel-doc notation

Sebastian Andrzej Siewior (1):
crypto: testmgr - Only disable migration in crypto_disable_simd_for_test()

Shreyansh Chouhan (1):
crypto: aesni - check walk.nbytes instead of err

Tang Bin (2):
crypto: s5p-sss - Add error handling in s5p_aes_probe()
crypto: sa2ul - Use the defined variable to clean code

Tim Gardner (1):
crypto: drbg - Fix unused value warning in drbg_healthcheck_sanity()

Uwe Kleine-König (1):
hwrng: meson - Improve error handling for core clock

Wojciech Ziemba (3):
crypto: qat - replace deprecated MSI API
crypto: qat - remove unmatched CPU affinity to cluster IRQ
crypto: qat - free irq in case of failure

Documentation/crypto/crypto_engine.rst | 4 +
.../bindings/crypto/intel,keembay-ocs-ecc.yaml | 47 +
MAINTAINERS | 11 +
arch/arm64/crypto/Kconfig | 6 -
arch/arm64/crypto/aes-ce-ccm-core.S | 24 +-
arch/arm64/crypto/aes-ce-ccm-glue.c | 203 ++--
arch/arm64/crypto/aes-glue.c | 102 +-
arch/arm64/crypto/aes-neonbs-glue.c | 122 +--
arch/arm64/crypto/ghash-ce-glue.c | 209 +---
arch/x86/crypto/aesni-intel_glue.c | 2 +-
crypto/Kconfig | 2 +-
crypto/algapi.c | 123 ++-
crypto/api.c | 50 +-
crypto/crypto_engine.c | 26 +
crypto/drbg.c | 2 +-
crypto/ecc.c | 14 +-
crypto/ecdh.c | 2 +-
crypto/ecdsa.c | 2 +-
crypto/ecrdsa.c | 2 +-
crypto/ecrdsa_defs.h | 2 +-
crypto/internal.h | 10 +
crypto/jitterentropy.c | 24 +-
crypto/pcrypt.c | 12 +-
crypto/tcrypt.c | 5 +-
crypto/testmgr.c | 4 +-
crypto/testmgr.h | 2 +-
drivers/char/hw_random/Kconfig | 12 +-
drivers/char/hw_random/ixp4xx-rng.c | 4 +-
drivers/char/hw_random/meson-rng.c | 5 +-
drivers/char/hw_random/mtk-rng.c | 9 +-
drivers/char/hw_random/s390-trng.c | 4 +-
drivers/crypto/caam/caampkc.c | 19 +-
drivers/crypto/caam/regs.h | 3 +
drivers/crypto/ccp/ccp-dev-v3.c | 5 +-
drivers/crypto/ccp/ccp-dev-v5.c | 5 +-
drivers/crypto/ccp/sev-dev.c | 2 +-
drivers/crypto/ccree/cc_driver.c | 3 +-
drivers/crypto/hisilicon/qm.c | 74 +-
drivers/crypto/hisilicon/zip/zip_main.c | 2 +-
drivers/crypto/img-hash.c | 7 +-
drivers/crypto/keembay/Kconfig | 19 +
drivers/crypto/keembay/Makefile | 2 +
drivers/crypto/keembay/keembay-ocs-ecc.c | 1017 ++++++++++++++++++++
drivers/crypto/marvell/cesa/cesa.c | 1 -
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c | 1 +
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c | 35 +-
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h | 10 +
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 89 +-
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.h | 13 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c | 87 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.h | 12 -
drivers/crypto/qat/qat_common/adf_accel_devices.h | 29 +-
drivers/crypto/qat/qat_common/adf_common_drv.h | 9 +-
drivers/crypto/qat/qat_common/adf_gen2_hw_data.c | 98 ++
drivers/crypto/qat/qat_common/adf_gen2_hw_data.h | 27 +
drivers/crypto/qat/qat_common/adf_init.c | 5 +
drivers/crypto/qat/qat_common/adf_isr.c | 190 ++--
drivers/crypto/qat/qat_common/adf_pf2vf_msg.c | 238 +++--
drivers/crypto/qat/qat_common/adf_pf2vf_msg.h | 9 -
drivers/crypto/qat/qat_common/adf_vf2pf_msg.c | 4 +-
drivers/crypto/qat/qat_common/adf_vf_isr.c | 30 +-
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 123 +--
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h | 14 +-
drivers/crypto/s5p-sss.c | 2 +
drivers/crypto/sa2ul.c | 13 +-
include/crypto/engine.h | 5 +
{crypto => include/crypto/internal}/ecc.h | 36 +
lib/crypto/sm4.c | 4 +-
68 files changed, 2130 insertions(+), 1158 deletions(-)
create mode 100644 Documentation/devicetree/bindings/crypto/intel,keembay-ocs-ecc.yaml
create mode 100644 drivers/crypto/keembay/keembay-ocs-ecc.c
rename {crypto => include/crypto/internal}/ecc.h (90%)

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-11-02 04:27:54

by pr-tracker-bot

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

The pull request you sent on Tue, 2 Nov 2021 11:52:02 +0800:

> 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/bfc484fe6abba4b89ec9330e0e68778e2a9856b2

Thank you!

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

2022-01-11 02:04:32

by Herbert Xu

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

Hi Linus:

This update includes the following changes:

Algorithms:

- Drop alignment requirement for data in aesni.
- Use synchronous seeding from the /dev/random in DRBG.
- Reseed nopr DRBGs every 5 minutes from /dev/random.
- Add KDF algorithms currently used by security/DH.
- Fix lack of entropy on some AMD CPUs with jitter RNG.

Drivers:

- Add support for the D1 variant in sun8i-ce.
- Add SEV_INIT_EX support in ccp.
- PFVF support for GEN4 host driver in qat.
- Compression support for GEN4 devices in qat.
- Add cn10k random number generator support.

The following changes since commit fa55b7dcdc43c1aa1ba12bca9d2dd4318c2a0dbf:

Linux 5.16-rc1 (2021-11-14 13:56:52 -0800)

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 5f21d7d283dd82865bdb0123795b3accf0d42b67:

crypto: af_alg - rewrite NULL pointer check (2022-01-07 14:30:01 +1100)

----------------------------------------------------------------
Andy Shevchenko (1):
crypto: api - Replace kernel.h with the necessary inclusions

Chengfeng Ye (3):
crypto: qce - fix uaf on qce_aead_register_one
crypto: qce - fix uaf on qce_ahash_register_one
crypto: qce - fix uaf on qce_skcipher_register_one

Christophe JAILLET (1):
crypto: ccree - remove redundant 'flush_workqueue()' calls

Colin Ian King (1):
crypto: x86/des3 - remove redundant assignment of variable nbytes

Corentin Labbe (2):
crypto: sun8i-ce - Add support for the D1 variant
crypto: omap - increase priority of DES/3DES

Dan Carpenter (3):
crypto: octeontx2 - uninitialized variable in kvf_limits_store()
crypto: octeontx2 - out of bounds access in otx2_cpt_dl_custom_egrp_delete()
crypto: octeontx2 - prevent underflow in get_cores_bmap()

David Rientjes (1):
crypto: ccp - Add SEV_INIT_EX support

Etienne Carriere (2):
crypto: stm32/cryp - defer probe for reset controller
crypto: stm32/cryp - don't print error on probe deferral

Gaurav Jain (1):
crypto: caam - save caam memory to support crypto engine retry mechanism.

Geert Uytterhoeven (1):
crypto: sa2ul - Use bitfield helpers

Giovanni Cabiddu (13):
crypto: qat - do not handle PFVF sources for qat_4xxx
crypto: qat - fix undetected PFVF timeout in ACK loop
crypto: qat - move vf2pf interrupt helpers
crypto: qat - change PFVF ACK behaviour
crypto: qat - re-enable interrupts for legacy PFVF messages
crypto: qat - relocate PFVF disabled function
crypto: qat - abstract PFVF receive logic
crypto: qat - get compression extended capabilities
crypto: qat - set CIPHER capability for QAT GEN2
crypto: qat - set COMPRESSION capability for QAT GEN2
crypto: qat - extend crypto capability detection for 4xxx
crypto: qat - allow detection of dc capabilities for 4xxx
crypto: qat - fix definition of ring reset results

Guo Zhengkui (1):
crypto: dh - remove duplicate includes

Gustavo A. R. Silva (2):
crypto: cavium - Use kcalloc() instead of kzalloc()
crypto: marvell/octeontx - Use kcalloc() instead of kzalloc()

Heiner Kallweit (1):
crypto: omap-aes - Fix broken pm_runtime_and_get() usage

Herbert Xu (1):
crypto: stm32 - Revert broken pm_runtime_resume_and_get changes

Jakub Kicinski (1):
crypto: x86/aesni - don't require alignment of data

Jason A. Donenfeld (1):
crypto: x86/curve25519 - use in/out register constraints more precisely

Jason Wang (1):
crypto: ccp - no need to initialise statics to 0

Jiapeng Chong (1):
crypto: octeontx2 - Use swap() instead of swap_engines()

Jiasheng Jiang (1):
crypto: af_alg - rewrite NULL pointer check

Kai Ye (5):
crypto: hisilicon - modify the value of engine type rate
crypto: hisilicon/qm - modify the value of qos initialization
crypto: hisilicon/qm - some optimizations of ths qos write process
crypto: hisilicon/qm - simplified the calculation of qos shaper parameters
MAINTAINERS: update SEC2 driver maintainers list

Lad Prabhakar (1):
crypto: ux500 - Use platform_get_irq() to get the interrupt

Lei He (1):
crypto: testmgr - Fix wrong test case of RSA

Lukas Bulwahn (1):
MAINTAINERS: rectify entry for INTEL KEEM BAY OCS ECC CRYPTO DRIVER

Marco Chiappero (36):
crypto: qat - refactor PF top half for PFVF
crypto: qat - move VF message handler to adf_vf2pf_msg.c
crypto: qat - move interrupt code out of the PFVF handler
crypto: qat - split PFVF message decoding from handling
crypto: qat - handle retries due to collisions in adf_iov_putmsg()
crypto: qat - relocate PFVF PF related logic
crypto: qat - relocate PFVF VF related logic
crypto: qat - add pfvf_ops
crypto: qat - differentiate between pf2vf and vf2pf offset
crypto: qat - abstract PFVF send function
crypto: qat - reorganize PFVF code
crypto: qat - reorganize PFVF protocol definitions
crypto: qat - use enums for PFVF protocol codes
crypto: qat - pass the PF2VF responses back to the callers
crypto: qat - refactor pfvf version request messages
crypto: qat - do not rely on min version
crypto: qat - fix VF IDs in PFVF log messages
crypto: qat - improve logging of PFVF messages
crypto: qat - support the reset of ring pairs on PF
crypto: qat - add the adf_get_pmisc_base() helper function
crypto: qat - make PFVF message construction direction agnostic
crypto: qat - make PFVF send and receive direction agnostic
crypto: qat - set PFVF_MSGORIGIN just before sending
crypto: qat - abstract PFVF messages with struct pfvf_message
crypto: qat - leverage bitfield.h utils for PFVF messages
crypto: qat - leverage read_poll_timeout in PFVF send
crypto: qat - improve the ACK timings in PFVF send
crypto: qat - store the PFVF protocol version of the endpoints
crypto: qat - store the ring-to-service mapping
crypto: qat - introduce support for PFVF block messages
crypto: qat - exchange device capabilities over PFVF
crypto: qat - support fast ACKs in the PFVF protocol
crypto: qat - exchange ring-to-service mappings over PFVF
crypto: qat - config VFs based on ring-to-svc mapping
crypto: qat - add PFVF support to the GEN4 host driver
crypto: qat - add PFVF support to enable the reset of ring pairs

Marek Vasut (1):
crypto: stm32/crc32 - Fix kernel BUG triggered in probe()

Meng Li (1):
crypto: caam - replace this_cpu_ptr with raw_cpu_ptr

Nicolai Stange (9):
crypto: drbg - prepare for more fine-grained tracking of seeding state
crypto: drbg - track whether DRBG was seeded with !rng_is_initialized()
crypto: drbg - move dynamic ->reseed_threshold adjustments to __drbg_seed()
crypto: drbg - make reseeding from get_random_bytes() synchronous
crypto: drbg - make drbg_prepare_hrng() handle jent instantiation errors
crypto: drbg - reseed 'nopr' drbgs periodically from get_random_bytes()
crypto: drbg - ignore jitterentropy errors if not in FIPS mode
crypto: jitter - don't limit ->health_failure check to FIPS mode
crypto: jitter - quit sample collection loop upon RCT failure

Nicolas Toromanoff (7):
crypto: stm32/cryp - fix CTR counter carry
crypto: stm32/cryp - fix xts and race condition in crypto_engine requests
crypto: stm32/cryp - check early input data
crypto: stm32/cryp - fix double pm exit
crypto: stm32/cryp - fix lrw chaining mode
crypto: stm32/cryp - fix bugs and crash in tests
crypto: stm32/cryp - reorder hw initialization

Pankaj Gupta (1):
MAINTAINERS: update caam crypto driver maintainers list

Peter Gonda (4):
crypto: ccp - Add SEV_INIT rc error logging on init
crypto: ccp - Move SEV_INIT retry for corrupted data
crypto: ccp - Refactor out sev_fw_alloc()
crypto: ccp - Add psp_init_on_probe module parameter

Srujana Challa (2):
crypto: octeontx2 - add apis for custom engine groups
crypto: octeontx2 - parameters for custom engine groups

Stephan M?ller (10):
crypto: kdf - Add key derivation self-test support code
crypto: kdf - add SP800-108 counter key derivation function
security: DH - remove dead code for zero padding
security: DH - use KDF implementation from crypto API
crypto: jitter - consider 32 LSB for APT
crypto: rsa - limit key size to 2048 in FIPS mode
crypto: dh - limit key size to 2048 in FIPS mode
crypto: des - disallow des3 in FIPS mode
crypto: jitter - add oversampling of noise source
crypto: kdf - select SHA-256 required for self-test

Sunil Goutham (2):
hwrng: cavium - Check health status while reading random data
hwrng: cn10k - Add random number generator support

Tianjia Zhang (5):
crypto: sha256 - remove duplicate generic hash init function
crypto: mips/sha - remove duplicate hash init function
crypto: powerpc/sha - remove duplicate hash init function
crypto: sparc/sha - remove duplicate hash init function
crypto: s390/sha512 - Use macros instead of direct IV numbers

Tom Rix (1):
crypto: hisilicon - cleanup warning in qm_get_qos_value()

Tomasz Kowalik (1):
crypto: qat - add support for compression for 4xxx

Tudor Ambarus (1):
crypto: atmel-aes - Reestablish the correct tfm context at dequeue

Wei Yongjun (1):
crypto: keembay-ocs-ecc - Fix error return code in kmb_ocs_ecc_probe()

Weili Qian (9):
crypto: hisilicon/qm - fix incorrect return value of hisi_qm_resume()
crypto: hisilicon/hpre - fix memory leak in hpre_curve25519_src_init()
crypto: hisilicon/qm - remove unnecessary device memory reset
crypto: hisilicon/qm - code movement
crypto: hisilicon/qm - modify the handling method after abnormal interruption
crypto: hisilicon/qm - use request_threaded_irq instead
crypto: hisilicon/qm - reset function if event queue overflows
crypto: hisilicon/qm - disable queue when 'CQ' error
crypto: hisilicon/qm - disable qm clock-gating

Yang Guang (1):
crypto: hisilicon/hpre - use swap() to make code cleaner

Yang Li (1):
crypto: ccp - remove unneeded semicolon

Yang Shen (3):
crypto: hisilicon/zip - enable ssid for sva sgl
crypto: hisilicon/qm - fix deadlock for remove driver
crypto: hisilicon/zip - add new algorithms for uacce device

Zizhuang Deng (1):
lib/mpi: Add the return value check of kcalloc()

chiminghao (1):
crypto: octeontx2 - use swap() to make code cleaner

Documentation/virt/kvm/amd-memory-encryption.rst | 6 +
MAINTAINERS | 3 +-
arch/mips/cavium-octeon/crypto/octeon-sha1.c | 17 +-
arch/mips/cavium-octeon/crypto/octeon-sha256.c | 39 +-
arch/mips/cavium-octeon/crypto/octeon-sha512.c | 39 +-
arch/powerpc/crypto/sha1-spe-glue.c | 17 +-
arch/powerpc/crypto/sha1.c | 14 +-
arch/powerpc/crypto/sha256-spe-glue.c | 39 +-
arch/s390/crypto/sha512_s390.c | 32 +-
arch/sparc/crypto/sha1_glue.c | 14 +-
arch/sparc/crypto/sha256_glue.c | 37 +-
arch/sparc/crypto/sha512_glue.c | 37 +-
arch/x86/crypto/aesni-intel_glue.c | 4 +-
arch/x86/crypto/curve25519-x86_64.c | 767 ++++++++++------
arch/x86/crypto/des3_ede_glue.c | 4 +-
crypto/Kconfig | 4 +
crypto/Makefile | 5 +
crypto/af_alg.c | 7 +-
crypto/dh.c | 5 +-
crypto/drbg.c | 150 ++--
crypto/jitterentropy-kcapi.c | 6 -
crypto/jitterentropy.c | 32 +-
crypto/jitterentropy.h | 1 -
crypto/kdf_sp800108.c | 153 ++++
crypto/rsa.c | 4 +
crypto/sha256_generic.c | 16 +-
crypto/testmgr.c | 9 -
crypto/testmgr.h | 6 +-
drivers/char/hw_random/Kconfig | 13 +-
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/cavium-rng-vf.c | 194 +++-
drivers/char/hw_random/cavium-rng.c | 11 +-
drivers/char/hw_random/cn10k-rng.c | 181 ++++
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 21 +
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 1 +
drivers/crypto/atmel-aes.c | 6 +-
drivers/crypto/caam/caamalg.c | 6 +
drivers/crypto/caam/caamalg_qi2.c | 2 +-
drivers/crypto/caam/caamhash.c | 3 +
drivers/crypto/caam/caampkc.c | 3 +
drivers/crypto/cavium/cpt/cptvf_main.c | 5 +-
drivers/crypto/ccp/ccp-dev.c | 2 +-
drivers/crypto/ccp/sev-dev.c | 259 +++++-
drivers/crypto/ccree/cc_request_mgr.c | 1 -
drivers/crypto/hisilicon/hpre/hpre_crypto.c | 7 +-
drivers/crypto/hisilicon/hpre/hpre_main.c | 2 +-
drivers/crypto/hisilicon/qm.c | 483 ++++++----
drivers/crypto/hisilicon/sec2/sec_main.c | 2 +-
drivers/crypto/hisilicon/zip/zip_main.c | 12 +-
drivers/crypto/keembay/keembay-ocs-ecc.c | 1 +
drivers/crypto/marvell/octeontx/otx_cptvf_main.c | 4 +-
drivers/crypto/marvell/octeontx2/Makefile | 2 +-
drivers/crypto/marvell/octeontx2/otx2_cpt_common.h | 1 +
.../crypto/marvell/octeontx2/otx2_cpt_devlink.c | 108 +++
.../crypto/marvell/octeontx2/otx2_cpt_devlink.h | 20 +
drivers/crypto/marvell/octeontx2/otx2_cptpf.h | 3 +
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 18 +-
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 315 ++++++-
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.h | 7 +-
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c | 5 +-
drivers/crypto/omap-aes.c | 2 +-
drivers/crypto/omap-des.c | 8 +-
drivers/crypto/qat/Kconfig | 1 +
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c | 151 +++-
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h | 2 +
drivers/crypto/qat/qat_4xxx/adf_drv.c | 33 +
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 12 +-
.../crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.c | 15 +-
.../crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.h | 1 -
drivers/crypto/qat/qat_c3xxxvf/adf_drv.c | 6 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c | 12 +-
drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.c | 15 +-
drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.h | 1 -
drivers/crypto/qat/qat_c62xvf/adf_drv.c | 6 +-
drivers/crypto/qat/qat_common/Makefile | 6 +-
drivers/crypto/qat/qat_common/adf_accel_devices.h | 47 +-
drivers/crypto/qat/qat_common/adf_accel_engine.c | 8 +-
drivers/crypto/qat/qat_common/adf_admin.c | 47 +-
drivers/crypto/qat/qat_common/adf_cfg.c | 1 +
drivers/crypto/qat/qat_common/adf_cfg_common.h | 13 +
drivers/crypto/qat/qat_common/adf_cfg_strings.h | 3 +
drivers/crypto/qat/qat_common/adf_common_drv.h | 42 +-
drivers/crypto/qat/qat_common/adf_gen2_hw_data.c | 105 +--
drivers/crypto/qat/qat_common/adf_gen2_hw_data.h | 22 +-
drivers/crypto/qat/qat_common/adf_gen2_pfvf.c | 381 ++++++++
drivers/crypto/qat/qat_common/adf_gen2_pfvf.h | 29 +
drivers/crypto/qat/qat_common/adf_gen4_hw_data.c | 69 +-
drivers/crypto/qat/qat_common/adf_gen4_hw_data.h | 17 +
drivers/crypto/qat/qat_common/adf_gen4_pfvf.c | 148 +++
drivers/crypto/qat/qat_common/adf_gen4_pfvf.h | 17 +
drivers/crypto/qat/qat_common/adf_init.c | 11 +-
drivers/crypto/qat/qat_common/adf_isr.c | 111 ++-
drivers/crypto/qat/qat_common/adf_pf2vf_msg.c | 416 ---------
drivers/crypto/qat/qat_common/adf_pf2vf_msg.h | 93 --
drivers/crypto/qat/qat_common/adf_pfvf_msg.h | 259 ++++++
drivers/crypto/qat/qat_common/adf_pfvf_pf_msg.c | 52 ++
drivers/crypto/qat/qat_common/adf_pfvf_pf_msg.h | 18 +
drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.c | 346 ++++++++
drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.h | 13 +
drivers/crypto/qat/qat_common/adf_pfvf_utils.c | 65 ++
drivers/crypto/qat/qat_common/adf_pfvf_utils.h | 31 +
drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.c | 167 ++++
drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.h | 23 +
drivers/crypto/qat/qat_common/adf_pfvf_vf_proto.c | 368 ++++++++
drivers/crypto/qat/qat_common/adf_pfvf_vf_proto.h | 17 +
drivers/crypto/qat/qat_common/adf_sriov.c | 59 +-
drivers/crypto/qat/qat_common/adf_vf2pf_msg.c | 48 -
drivers/crypto/qat/qat_common/adf_vf_isr.c | 106 +--
.../crypto/qat/qat_common/icp_qat_fw_init_admin.h | 4 +-
drivers/crypto/qat/qat_common/icp_qat_hw.h | 13 +-
drivers/crypto/qat/qat_common/qat_crypto.c | 25 +
drivers/crypto/qat/qat_common/qat_hal.c | 41 +-
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 44 +-
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h | 2 +
.../qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.c | 15 +-
.../qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.h | 1 -
drivers/crypto/qat/qat_dh895xccvf/adf_drv.c | 6 +-
drivers/crypto/qce/aead.c | 2 +-
drivers/crypto/qce/sha.c | 2 +-
drivers/crypto/qce/skcipher.c | 2 +-
drivers/crypto/sa2ul.c | 19 +-
drivers/crypto/stm32/stm32-crc32.c | 4 +-
drivers/crypto/stm32/stm32-cryp.c | 988 +++++++++------------
drivers/crypto/stm32/stm32-hash.c | 6 +-
drivers/crypto/ux500/cryp/cryp.h | 2 +
drivers/crypto/ux500/cryp/cryp_core.c | 26 +-
include/crypto/aead.h | 4 +-
include/crypto/algapi.h | 5 +-
include/crypto/blake2b.h | 1 -
include/crypto/blake2s.h | 2 +-
include/crypto/cryptd.h | 3 +-
include/crypto/drbg.h | 11 +-
include/crypto/engine.h | 6 +-
include/crypto/internal/kdf_selftest.h | 71 ++
include/crypto/kdf_sp800108.h | 61 ++
include/crypto/pcrypt.h | 2 +-
include/crypto/scatterwalk.h | 3 +-
include/crypto/skcipher.h | 6 +-
include/linux/psp-sev.h | 21 +
lib/mpi/mpi-mod.c | 2 +
security/keys/Kconfig | 2 +-
security/keys/dh.c | 130 +--
142 files changed, 5484 insertions(+), 2637 deletions(-)
create mode 100644 crypto/kdf_sp800108.c
create mode 100644 drivers/char/hw_random/cn10k-rng.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.c
create mode 100644 drivers/crypto/marvell/octeontx2/otx2_cpt_devlink.h
create mode 100644 drivers/crypto/qat/qat_common/adf_gen2_pfvf.c
create mode 100644 drivers/crypto/qat/qat_common/adf_gen2_pfvf.h
create mode 100644 drivers/crypto/qat/qat_common/adf_gen4_pfvf.c
create mode 100644 drivers/crypto/qat/qat_common/adf_gen4_pfvf.h
delete mode 100644 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c
delete mode 100644 drivers/crypto/qat/qat_common/adf_pf2vf_msg.h
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_msg.h
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_pf_msg.c
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_pf_msg.h
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.c
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.h
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_utils.c
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_utils.h
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.c
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_vf_msg.h
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_vf_proto.c
create mode 100644 drivers/crypto/qat/qat_common/adf_pfvf_vf_proto.h
delete mode 100644 drivers/crypto/qat/qat_common/adf_vf2pf_msg.c
create mode 100644 include/crypto/internal/kdf_selftest.h
create mode 100644 include/crypto/kdf_sp800108.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

2022-01-11 20:53:57

by pr-tracker-bot

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

The pull request you sent on Tue, 11 Jan 2022 13:04:19 +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/5c947d0dbae8038ec1c8b538891f6475350542ee

Thank you!

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