2023-11-02 06:57:24

by Herbert Xu

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

Hi Linus:

The following changes since commit 0bb80ecc33a8fb5a682236443c1e740d5c917d1d:

Linux 6.6-rc1 (2023-09-10 16:28:41 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git v6.7-p1

for you to fetch changes up to a312e07a65fb598ed239b940434392721385c722:

crypto: adiantum - flush destination page before unmapping (2023-11-01 12:58:42 +0800)

----------------------------------------------------------------
This update includes the following changes:

API:

- Add virtual-address based lskcipher interface.
- Optimise ahash/shash performance in light of costly indirect calls.
- Remove ahash alignmask attribute.

Algorithms:

- Improve AES/XTS performance of 6-way unrolling for ppc.
- Remove some uses of obsolete algorithms (md4, md5, sha1).
- Add FIPS 202 SHA-3 support in pkcs1pad.
- Add fast path for single-page messages in adiantum.
- Remove zlib-deflate.

Drivers:

- Add support for S4 in meson RNG driver.
- Add STM32MP13x support in stm32.
- Add hwrng interface support in qcom-rng.
- Add support for deflate algorithm in hisilicon/zip.
----------------------------------------------------------------

Adam Guerin (1):
crypto: qat - enable dc chaining service

Alexey Romanov (2):
hwrng: meson - add support for S4
dt-bindings: rng: meson: add meson-rng-s4 compatible

Andrei Coardos (5):
hwrng: bcm2835 - removed call to platform_set_drvdata()
hwrng: hisi - removed unneeded call to platform_set_drvdata()
hwrng: mpfs - removed unneeded call to platform_set_drvdata()
hwrng: xgene - removed unneeded call to platform_set_drvdata()
hwrng: xiphera - removed unnneded platform_set_drvdata()

Andr? Apitzsch (1):
crypto: qcom-rng - Add missing dependency on hw_random

Ashish Kalra (1):
MAINTAINERS: update AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER - SEV SUPPORT

Bartosz Golaszewski (1):
dt-bindings: crypto: ice: document the sa8775p inline crypto engine

Bo Liu (1):
crypto: aesni - Fix double word in comments

Chang S. Bae (3):
crypto: x86/aesni - Refactor the common address alignment code
crypto: x86/aesni - Correct the data type in struct aesni_xts_ctx
crypto: x86/aesni - Perform address alignment early for XTS mode

Christophe JAILLET (1):
crypto: hisilicon/hpre - Fix a erroneous check after snprintf()

Ciunas Bennett (3):
crypto: qat - add rate limiting sysfs interface
crypto: qat - add rp2svc sysfs attribute
crypto: qat - add num_rps sysfs attribute

Damian Muszynski (4):
units: Add BYTES_PER_*BIT
crypto: qat - add bits.h to icp_qat_hw.h
crypto: qat - add retrieval of fw capabilities
crypto: qat - add rate limiting feature to qat_4xxx

Danny Tsen (1):
crypto: vmx - Improved AES/XTS performance of 6-way unrolling for ppc

Dimitri John Ledkov (11):
crypto: pkcs7 - remove md4 md5 x.509 support
crypto: pkcs7 - remove sha1 support
crypto: mscode_parser - remove sha224 authenticode support
module: Do not offer sha224 for built-in module signing
certs: Limit MODULE_SIG_KEY_TYPE_ECDSA to SHA384 or SHA512
x509: Add OIDs for FIPS 202 SHA-3 hash and signatures
crypto: FIPS 202 SHA-3 register in hash info for IMA
crypto: rsa-pkcs1pad - Add FIPS 202 SHA-3 support
crypto: asymmetric_keys - allow FIPS 202 SHA-3 signatures
module: enable automatic module signing with FIPS 202 SHA-3
Documentation/module-signing.txt: bring up to date

Eric Biggers (65):
crypto: xts - use 'spawn' for underlying single-block cipher
crypto: shash - optimize the default digest and finup
crypto: shash - fold shash_digest_unaligned() into crypto_shash_digest()
crypto: arm64/sha2-ce - implement ->digest for sha256
crypto: x86/sha256 - implement ->digest for sha256
crypto: adiantum - add fast path for single-page messages
crypto: arm/nhpoly1305 - implement ->digest
crypto: arm64/nhpoly1305 - implement ->digest
crypto: x86/nhpoly1305 - implement ->digest
crypto: arm64/sha1-ce - clean up backwards function names
crypto: arm64/sha2-ce - clean up backwards function names
crypto: arm64/sha512-ce - clean up backwards function names
crypto: arm64/sha256 - clean up backwards function names
crypto: arm64/sha512 - clean up backwards function names
crypto: skcipher - fix weak key check for lskciphers
crypto: shash - eliminate indirect call for default import and export
crypto: sparc/crc32c - stop using the shash alignmask
crypto: stm32 - remove unnecessary alignmask
crypto: xilinx/zynqmp-sha - remove unnecessary alignmask
crypto: mips/crc32 - remove redundant setting of alignmask to 0
crypto: loongarch/crc32 - remove redundant setting of alignmask to 0
crypto: cbcmac - remove unnecessary alignment logic
crypto: cmac - remove unnecessary alignment logic
crypto: hmac - remove unnecessary alignment logic
crypto: vmac - don't set alignmask
crypto: xcbc - remove unnecessary alignment logic
crypto: shash - remove support for nonzero alignmask
libceph: stop checking crypto_shash_alignmask
crypto: drbg - stop checking crypto_shash_alignmask
crypto: testmgr - stop checking crypto_shash_alignmask
crypto: adiantum - stop using alignmask of shash_alg
crypto: hctr2 - stop using alignmask of shash_alg
crypto: shash - remove crypto_shash_alignmask
crypto: shash - remove crypto_shash_ctx_aligned()
crypto: sun4i-ss - remove unnecessary alignmask for ahashes
crypto: sun8i-ce - remove unnecessary alignmask for ahashes
crypto: sun8i-ss - remove unnecessary alignmask for ahashes
crypto: atmel - remove unnecessary alignmask for ahashes
crypto: artpec6 - stop setting alignmask for ahashes
crypto: mxs-dcp - remove unnecessary alignmask for ahashes
crypto: s5p-sss - remove unnecessary alignmask for ahashes
crypto: talitos - remove unnecessary alignmask for ahashes
crypto: omap-sham - stop setting alignmask for ahashes
crypto: rockchip - remove unnecessary alignmask for ahashes
crypto: starfive - remove unnecessary alignmask for ahashes
crypto: stm32 - remove unnecessary alignmask for ahashes
crypto: ahash - remove support for nonzero alignmask
crypto: authenc - stop using alignmask of ahash
crypto: authencesn - stop using alignmask of ahash
crypto: testmgr - stop checking crypto_ahash_alignmask
net: ipv4: stop checking crypto_ahash_alignmask
net: ipv6: stop checking crypto_ahash_alignmask
crypto: ccm - stop using alignmask of ahash
crypto: chacha20poly1305 - stop using alignmask of ahash
crypto: gcm - stop using alignmask of ahash
crypto: ahash - remove crypto_ahash_alignmask
crypto: ahash - remove struct ahash_request_priv
crypto: ahash - improve file comment
crypto: chelsio - stop using crypto_ahash::init
crypto: talitos - stop using crypto_ahash::init
crypto: hash - move "ahash wrapping shash" functions to ahash.c
crypto: ahash - check for shash type instead of not ahash type
crypto: ahash - optimize performance when wrapping shash
crypto: testmgr - move pkcs1pad(rsa,sha3-*) to correct place
crypto: adiantum - flush destination page before unmapping

Fabio Estevam (3):
dt-bindings: crypto: fsl-imx-sahara: Shorten the title
dt-bindings: crypto: fsl-imx-sahara: Document the clocks
dt-bindings: crypto: fsl-imx-sahara: Fix the number of irqs

Gatien Chevallier (8):
dt-bindings: rng: introduce new compatible for STM32MP13x
hwrng: stm32 - use devm_platform_get_and_ioremap_resource() API
hwrng: stm32 - implement STM32MP13x support
hwrng: stm32 - implement error concealment
hwrng: stm32 - rework error handling in stm32_rng_read()
hwrng: stm32 - restrain RNG noise source clock
hwrng: stm32 - support RNG configuration locking mechanism
hwrng: stm32 - rework power management sequences

Gaurav Jain (2):
crypto: caam/qi2 - fix Chacha20 + Poly1305 self test failure
crypto: caam/jr - fix Chacha20 + Poly1305 self test failure

Giovanni Cabiddu (15):
Documentation: ABI: debugfs-driver-qat: fix fw_counters path
crypto: qat - fix state machines cleanup paths
crypto: qat - do not shadow error code
crypto: qat - ignore subsequent state up commands
crypto: qat - fix unregistration of crypto algorithms
crypto: qat - fix unregistration of compression algorithms
crypto: qat - consolidate services structure
crypto: qat - increase size of buffers
crypto: qat - add namespace to driver
crypto: qat - refactor fw config related functions
crypto: qat - use masks for AE groups
crypto: qat - fix ring to service map for QAT GEN4
crypto: qat - move admin api
crypto: qat - move adf_cfg_services
crypto: qat - fix deadlock in backlog processing

Herbert Xu (45):
wireguard: do not include crypto/algapi.h
KEYS: Include linux/errno.h in linux/verification.h
hwrng: octeon - Fix warnings on 32-bit platforms
fscrypt: Do not include crypto/algapi.h
ubifs: Do not include crypto/algapi.h
Bluetooth: Do not include crypto/algapi.h
ah: Do not include crypto/algapi.h
mptcp: Do not include crypto/algapi.h
SUNRPC: Do not include crypto/algapi.h
evm: Do not include crypto/algapi.h
KEYS: encrypted: Do not include crypto/algapi.h
chelsio: Do not include crypto/algapi.h
crypto: aead - Add crypto_has_aead
ipsec: Stop using crypto_has_alg
crypto: hash - Hide CRYPTO_ALG_TYPE_AHASH_MASK
crypto: skcipher - Add lskcipher
crypto: lskcipher - Add compatibility wrapper around ECB
crypto: testmgr - Add support for lskcipher algorithms
crypto: ecb - Convert from skcipher to lskcipher
crypto: cbc - Convert from skcipher to lskcipher
ipsec: Select CRYPTO_AEAD
crypto: qat - Remove zlib-deflate
crypto: deflate - Remove zlib-deflate
crypto: testmgr - Remove zlib-deflate
crypto: skcipher - Add dependency on ecb
crypto: arc4 - Convert from skcipher to lskcipher
crypto: skcipher - Add crypto_spawn_skcipher_alg_common
crypto: essiv - Handle lskcipher spawns
crypto: cryptd - Only access common skcipher fields on spawn
crypto: adiantum - Only access common skcipher fields on spawn
crypto: authenc - Only access common skcipher fields on spawn
crypto: authencesn - Only access common skcipher fields on spawn
crypto: ccm - Only access common skcipher fields on spawn
crypto: chacha20poly1305 - Only access common skcipher fields on spawn
crypto: ctr - Only access common skcipher fields on spawn
crypto: cts - Only access common skcipher fields on spawn
crypto: gcm - Only access common skcipher fields on spawn
crypto: hctr2 - Only access common skcipher fields on spawn
crypto: lrw - Only access common skcipher fields on spawn
crypto: xts - Only access common skcipher fields on spawn
crypto: skcipher - Remove obsolete skcipher_alg helpers
crypto: lskcipher - Return EINVAL when ecb_name fails sanity checks
crypto: hifn_795x - Silence gcc format-truncation false positive warnings
certs: Break circular dependency when selftest is modular
crypto: rsa - Add module alias for pkcs1pad

Jinjie Ruan (1):
crypto: qat - Use list_for_each_entry() helper

John Allen (1):
crypto: ccp - Dump SEV command buffer registers on SEV command error

Jonas Gorski (1):
hwrng: geode - fix accessing registers

Justin Stitt (2):
crypto: cavium/nitrox - refactor deprecated strncpy
crypto: qat - refactor deprecated strncpy

Kees Cook (1):
crypto: qat - Annotate struct adf_fw_counters with __counted_by

Li zeming (1):
crypto: api - Remove unnecessary NULL initialisation

Longfang Liu (3):
crypto: hisilicon/qm - fix PF queue parameter issue
crypto: hisilicon/qm - fix EQ/AEQ interrupt issue
crypto: hisilicon/qm - prevent soft lockup in receive loop

Lu Jialin (1):
crypto: pcrypt - Fix hungtask for PADATA_RESET

Lucas Segarra Fernandez (3):
crypto: qat - refactor included headers
crypto: qat - add pm_status debugfs file
crypto: qat - add cnv_errors debugfs file

Lukas Wunner (2):
X.509: Add missing IMPLICIT annotations to AKID ASN.1 module
treewide: Add SPDX identifier to IETF ASN.1 modules

Mario Limonciello (9):
crypto: ccp - Get a free page to use while fetching initial nonce
crypto: ccp - Fix ioctl unit tests
crypto: ccp - Fix DBC sample application error handling
crypto: ccp - Fix sample application signature passing
crypto: ccp - Fix some unfused tests
crypto: ccp - Add support for extended PSP mailbox commands
crypto: ccp - Add a communication path abstraction for DBC
crypto: ccp - Add a macro to check capabilities register
crypto: ccp - Add support for DBC over PSP mailbox

Martin Kaiser (7):
hwrng: ks-sa - access private data via struct hwrng
hwrng: ks-sa - remove dev from struct ks_sa_rng
hwrng: ks-sa - use dev_err_probe
hwrng: nomadik - add MODULE_DESCRIPTION
hwrng: st - add MODULE_DESCRIPTION
hwrng: imx-rngc - reasonable timeout for selftest
hwrng: imx-rngc - reasonable timeout for initial seed

Neil Armstrong (2):
dt-bindings: crypto: qcom,prng: document that RNG on SM8450 is a TRNG
dt-bindings: crypto: qcom,prng: document SM8550

Om Prakash Singh (2):
crypto: qcom-rng - Add hw_random interface support
dt-bindings: crypto: qcom,prng: document SA8775P and SC7280

Randy Dunlap (2):
crypto: akcipher - fix kernel-doc typos
crypto: sig - fix kernel-doc typo

Rob Herring (2):
crypto: aspeed-hace - Use device_get_match_data()
hwrng: n2 - Use device_get_match_data()

Roxana Nicolescu (1):
crypto: x86/sha - load modules based on CPU features

Shashank Gupta (9):
crypto: qat - add infrastructure for error reporting
crypto: qat - add reporting of correctable errors for QAT GEN4
crypto: qat - add reporting of errors from ERRSOU1 for QAT GEN4
crypto: qat - add handling of errors from ERRSOU2 for QAT GEN4
crypto: qat - add handling of compression related errors for QAT GEN4
crypto: qat - add adf_get_aram_base() helper function
crypto: qat - add handling of errors from ERRSOU3 for QAT GEN4
crypto: qat - add error counters
crypto: qat - count QAT GEN4 errors

Stefan Wahren (1):
hwrng: bcm2835 - Fix hwrng throughput regression

Stephan M?ller (5):
crypto: jitter - add RCT/APT support for different OSRs
crypto: jitter - Allow configuration of memory size
crypto: jitter - Allow configuration of oversampling rate
crypto: jitter - reuse allocated entropy collector
crypto: jitter - use permanent health test storage

Svyatoslav Pankratov (1):
crypto: qat - fix double free during reset

Tom Lendacky (1):
crypto: ccp - Move direct access to some PSP registers out of TEE

Uwe Kleine-K?nig (44):
crypto: keembay - Don't pass errors to the caller in .remove()
crypto: engine - Make crypto_engine_exit() return void
crypto: sun4i-ss - Convert to platform remove callback returning void
crypto: sun8i-ce - Convert to platform remove callback returning void
crypto: sun8i-ss - Convert to platform remove callback returning void
crypto: amcc/crypto4xx - Convert to platform remove callback returning void
crypto: amlogic-gxl-core - Convert to platform remove callback returning void
crypto: aspeed-acry - Convert to platform remove callback returning void
crypto: aspeed-hace - Convert to platform remove callback returning void
crypto: atmel-aes - Convert to platform remove callback returning void
crypto: atmel-sha - Convert to platform remove callback returning void
crypto: atmel-tdes - Convert to platform remove callback returning void
crypto: axis/artpec6 - Convert to platform remove callback returning void
crypto: bcm/cipher - Convert to platform remove callback returning void
crypto: caam/jr - Convert to platform remove callback returning void
crypto: ccp/sp - Convert to platform remove callback returning void
crypto: ccree/cc - Convert to platform remove callback returning void
crypto: exynos-rng - Convert to platform remove callback returning void
crypto: gemini/sl3516-ce - Convert to platform remove callback returning void
crypto: hisilicon/sec - Convert to platform remove callback returning void
crypto: hisilicon/trng - Convert to platform remove callback returning void
crypto: img-hash - Convert to platform remove callback returning void
crypto: inside-secure/safexcel - Convert to platform remove callback returning void
crypto: intel/ixp4xx-crypto - Convert to platform remove callback returning void
crypto: intel/keembay-ocs-aes - Convert to platform remove callback returning void
crypto: intel/keembay-ocs-ecc - Convert to platform remove callback returning void
crypto: intel/keembay-ocs-hcu - Convert to platform remove callback returning void
crypto: marvell/cesa - Convert to platform remove callback returning void
crypto: mxs-dcp - Convert to platform remove callback returning void
crypto: n2_core - Convert to platform remove callback returning void
crypto: omap-aes - Convert to platform remove callback returning void
crypto: omap-des - Convert to platform remove callback returning void
crypto: omap-sham - Convert to platform remove callback returning void
crypto: qce - Convert to platform remove callback returning void
crypto: qcom-rng - Convert to platform remove callback returning void
crypto: rockchip/rk3288 - Convert to platform remove callback returning void
crypto: s5p-sss - Convert to platform remove callback returning void
crypto: sa2ul - Convert to platform remove callback returning void
crypto: sahara - Convert to platform remove callback returning void
crypto: stm32/crc32 - Convert to platform remove callback returning void
crypto: stm32/cryp - Convert to platform remove callback returning void
crypto: talitos - Convert to platform remove callback returning void
crypto: xilinx/zynqmp-aes-gcm - Convert to platform remove callback returning void
crypto: xilinx/zynqmp-sha - Convert to platform remove callback returning void

WangJinchao (1):
padata: Fix refcnt handling in padata_free_shell()

Weili Qian (3):
crypto: hisilicon/qm - fix the type value of aeq
crypto: hisilicon/qm - check function qp num before alg register
crypto: hisilicon/qm - alloc buffer to set and get xqc

Wenkai Lin (1):
crypto: hisilicon/sec - fix for sgl unmmap problem

Yang Shen (2):
crypto: hisilicon/zip - support deflate algorithm
crypto: hisilicon/zip - remove zlib and gzip

zhenwei pi (1):
crypto: virtio - handle config changed by work queue

Documentation/ABI/testing/debugfs-driver-qat | 24 +-
Documentation/ABI/testing/sysfs-driver-qat | 48 +
Documentation/ABI/testing/sysfs-driver-qat_ras | 41 +
Documentation/ABI/testing/sysfs-driver-qat_rl | 226 +++
Documentation/admin-guide/module-signing.rst | 17 +-
Documentation/crypto/devel-algos.rst | 4 +-
.../devicetree/bindings/crypto/fsl-imx-sahara.yaml | 43 +-
.../bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
.../devicetree/bindings/crypto/qcom,prng.yaml | 28 +-
.../devicetree/bindings/rng/amlogic,meson-rng.yaml | 1 +
.../devicetree/bindings/rng/st,stm32-rng.yaml | 20 +-
MAINTAINERS | 2 +-
arch/arm/crypto/nhpoly1305-neon-glue.c | 9 +
arch/arm64/crypto/nhpoly1305-neon-glue.c | 9 +
arch/arm64/crypto/sha1-ce-core.S | 8 +-
arch/arm64/crypto/sha1-ce-glue.c | 21 +-
arch/arm64/crypto/sha2-ce-core.S | 8 +-
arch/arm64/crypto/sha2-ce-glue.c | 39 +-
arch/arm64/crypto/sha256-glue.c | 26 +-
arch/arm64/crypto/sha512-ce-core.S | 8 +-
arch/arm64/crypto/sha512-ce-glue.c | 26 +-
arch/arm64/crypto/sha512-glue.c | 12 +-
arch/loongarch/crypto/crc32-loongarch.c | 2 -
arch/mips/crypto/crc32-mips.c | 2 -
arch/sparc/crypto/crc32c_glue.c | 43 +-
arch/x86/crypto/aesni-intel_asm.S | 4 +-
arch/x86/crypto/aesni-intel_avx-x86_64.S | 4 +-
arch/x86/crypto/aesni-intel_glue.c | 52 +-
arch/x86/crypto/nhpoly1305-avx2-glue.c | 9 +
arch/x86/crypto/nhpoly1305-sse2-glue.c | 9 +
arch/x86/crypto/sha1_ssse3_glue.c | 12 +
arch/x86/crypto/sha256_ssse3_glue.c | 44 +
certs/Kconfig | 6 +-
crypto/Kconfig | 63 +-
crypto/Makefile | 6 +-
crypto/adiantum.c | 80 +-
crypto/aead.c | 6 +
crypto/ahash.c | 406 +++--
crypto/api.c | 2 +-
crypto/arc4.c | 60 +-
crypto/asymmetric_keys/Kconfig | 3 +-
crypto/asymmetric_keys/Makefile | 3 +-
crypto/asymmetric_keys/mscode_parser.c | 19 +-
crypto/asymmetric_keys/pkcs7.asn1 | 7 +
crypto/asymmetric_keys/pkcs7_parser.c | 22 +-
crypto/asymmetric_keys/pkcs8.asn1 | 6 +
crypto/asymmetric_keys/public_key.c | 8 +-
crypto/asymmetric_keys/selftest.c | 15 +-
crypto/asymmetric_keys/signature.c | 2 +-
crypto/asymmetric_keys/x509.asn1 | 7 +
crypto/asymmetric_keys/x509_akid.asn1 | 29 +-
crypto/asymmetric_keys/x509_cert_parser.c | 36 +-
crypto/asymmetric_keys/x509_parser.h | 9 -
crypto/asymmetric_keys/x509_public_key.c | 8 +-
crypto/authenc.c | 20 +-
crypto/authencesn.c | 28 +-
crypto/cbc.c | 159 +-
crypto/ccm.c | 29 +-
crypto/chacha20poly1305.c | 11 +-
crypto/cmac.c | 39 +-
crypto/cryptd.c | 14 +-
crypto/crypto_engine.c | 8 +-
crypto/ctr.c | 14 +-
crypto/cts.c | 12 +-
crypto/deflate.c | 61 +-
crypto/drbg.c | 2 +-
crypto/ecb.c | 206 ++-
crypto/essiv.c | 20 +-
crypto/gcm.c | 12 +-
crypto/hash.h | 14 +-
crypto/hash_info.c | 6 +
crypto/hctr2.c | 11 +-
crypto/hmac.c | 56 +-
crypto/jitterentropy-kcapi.c | 17 +-
crypto/jitterentropy.c | 342 +++--
crypto/jitterentropy.h | 5 +-
crypto/lrw.c | 12 +-
crypto/lskcipher.c | 634 ++++++++
crypto/pcrypt.c | 4 +
crypto/rsa-pkcs1pad.c | 27 +-
crypto/rsaprivkey.asn1 | 7 +
crypto/rsapubkey.asn1 | 7 +
crypto/shash.c | 387 +----
crypto/skcipher.c | 81 +-
crypto/skcipher.h | 28 +
crypto/testmgr.c | 57 +-
crypto/testmgr.h | 155 --
crypto/vmac.c | 1 -
crypto/xcbc.c | 32 +-
crypto/xts.c | 33 +-
drivers/char/hw_random/bcm2835-rng.c | 4 +-
drivers/char/hw_random/core.c | 6 +
drivers/char/hw_random/geode-rng.c | 6 +-
drivers/char/hw_random/hisi-rng.c | 2 -
drivers/char/hw_random/imx-rngc.c | 10 +-
drivers/char/hw_random/ks-sa-rng.c | 26 +-
drivers/char/hw_random/meson-rng.c | 80 +-
drivers/char/hw_random/mpfs-rng.c | 2 -
drivers/char/hw_random/n2-drv.c | 10 +-
drivers/char/hw_random/nomadik-rng.c | 1 +
drivers/char/hw_random/octeon-rng.c | 6 +-
drivers/char/hw_random/st-rng.c | 1 +
drivers/char/hw_random/stm32-rng.c | 519 +++++--
drivers/char/hw_random/xgene-rng.c | 1 -
drivers/char/hw_random/xiphera-trng.c | 2 -
drivers/crypto/Kconfig | 1 +
drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c | 7 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 11 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 11 +-
drivers/crypto/amcc/crypto4xx_core.c | 6 +-
drivers/crypto/amlogic/amlogic-gxl-core.c | 5 +-
drivers/crypto/aspeed/aspeed-acry.c | 6 +-
drivers/crypto/aspeed/aspeed-hace.c | 16 +-
drivers/crypto/atmel-aes.c | 6 +-
drivers/crypto/atmel-sha.c | 8 +-
drivers/crypto/atmel-tdes.c | 6 +-
drivers/crypto/axis/artpec6_crypto.c | 8 +-
drivers/crypto/bcm/cipher.c | 5 +-
drivers/crypto/caam/caamalg.c | 3 +-
drivers/crypto/caam/caamalg_qi2.c | 3 +-
drivers/crypto/caam/jr.c | 22 +-
drivers/crypto/cavium/nitrox/nitrox_hal.c | 2 +-
drivers/crypto/ccp/dbc.c | 74 +-
drivers/crypto/ccp/dbc.h | 29 +-
drivers/crypto/ccp/psp-dev.c | 122 +-
drivers/crypto/ccp/psp-dev.h | 55 +
drivers/crypto/ccp/sev-dev.c | 14 +
drivers/crypto/ccp/sp-dev.h | 4 +
drivers/crypto/ccp/sp-pci.c | 22 +-
drivers/crypto/ccp/sp-platform.c | 6 +-
drivers/crypto/ccp/tee-dev.c | 48 +-
drivers/crypto/ccp/tee-dev.h | 15 +-
drivers/crypto/ccree/cc_driver.c | 6 +-
drivers/crypto/chelsio/chcr_algo.c | 9 +-
drivers/crypto/exynos-rng.c | 6 +-
drivers/crypto/gemini/sl3516-ce-core.c | 6 +-
drivers/crypto/hifn_795x.c | 11 +-
drivers/crypto/hisilicon/debugfs.c | 79 +-
drivers/crypto/hisilicon/hpre/hpre_crypto.c | 25 +-
drivers/crypto/hisilicon/hpre/hpre_main.c | 21 +-
drivers/crypto/hisilicon/qm.c | 520 +++----
drivers/crypto/hisilicon/qm_common.h | 6 +-
drivers/crypto/hisilicon/sec/sec_drv.c | 6 +-
drivers/crypto/hisilicon/sec2/sec_crypto.c | 32 +-
drivers/crypto/hisilicon/sec2/sec_main.c | 29 +-
drivers/crypto/hisilicon/trng/trng.c | 6 +-
drivers/crypto/hisilicon/zip/zip_crypto.c | 290 +---
drivers/crypto/hisilicon/zip/zip_main.c | 23 +-
drivers/crypto/img-hash.c | 6 +-
drivers/crypto/inside-secure/safexcel.c | 6 +-
drivers/crypto/intel/ixp4xx/ixp4xx_crypto.c | 6 +-
.../crypto/intel/keembay/keembay-ocs-aes-core.c | 6 +-
drivers/crypto/intel/keembay/keembay-ocs-ecc.c | 6 +-
.../crypto/intel/keembay/keembay-ocs-hcu-core.c | 15 +-
.../crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c | 245 ++-
.../crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.h | 30 +-
drivers/crypto/intel/qat/qat_4xxx/adf_drv.c | 36 +-
.../crypto/intel/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 1 +
drivers/crypto/intel/qat/qat_c3xxx/adf_drv.c | 1 +
drivers/crypto/intel/qat/qat_c3xxxvf/adf_drv.c | 1 +
.../crypto/intel/qat/qat_c62x/adf_c62x_hw_data.c | 1 +
drivers/crypto/intel/qat/qat_c62x/adf_drv.c | 1 +
drivers/crypto/intel/qat/qat_c62xvf/adf_drv.c | 1 +
drivers/crypto/intel/qat/qat_common/Makefile | 10 +
.../intel/qat/qat_common/adf_accel_devices.h | 61 +-
drivers/crypto/intel/qat/qat_common/adf_admin.c | 156 +-
drivers/crypto/intel/qat/qat_common/adf_admin.h | 27 +
drivers/crypto/intel/qat/qat_common/adf_aer.c | 3 +-
.../crypto/intel/qat/qat_common/adf_cfg_services.c | 20 +
.../crypto/intel/qat/qat_common/adf_cfg_services.h | 24 +
.../crypto/intel/qat/qat_common/adf_cfg_strings.h | 1 +
drivers/crypto/intel/qat/qat_common/adf_clock.c | 1 +
.../crypto/intel/qat/qat_common/adf_cnv_dbgfs.c | 300 ++++
.../crypto/intel/qat/qat_common/adf_cnv_dbgfs.h | 11 +
.../crypto/intel/qat/qat_common/adf_common_drv.h | 20 +-
drivers/crypto/intel/qat/qat_common/adf_dbgfs.c | 6 +
.../crypto/intel/qat/qat_common/adf_fw_counters.c | 3 +-
.../crypto/intel/qat/qat_common/adf_gen4_hw_data.h | 7 +
drivers/crypto/intel/qat/qat_common/adf_gen4_pm.c | 27 +-
drivers/crypto/intel/qat/qat_common/adf_gen4_pm.h | 50 +-
.../intel/qat/qat_common/adf_gen4_pm_debugfs.c | 266 ++++
drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c | 1566 ++++++++++++++++++++
drivers/crypto/intel/qat/qat_common/adf_gen4_ras.h | 825 +++++++++++
.../crypto/intel/qat/qat_common/adf_gen4_timer.c | 1 +
.../crypto/intel/qat/qat_common/adf_heartbeat.c | 1 +
.../intel/qat/qat_common/adf_heartbeat_dbgfs.c | 1 +
drivers/crypto/intel/qat/qat_common/adf_init.c | 63 +-
drivers/crypto/intel/qat/qat_common/adf_isr.c | 18 +
drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs.c | 48 +
drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs.h | 12 +
drivers/crypto/intel/qat/qat_common/adf_rl.c | 1169 +++++++++++++++
drivers/crypto/intel/qat/qat_common/adf_rl.h | 176 +++
drivers/crypto/intel/qat/qat_common/adf_rl_admin.c | 97 ++
drivers/crypto/intel/qat/qat_common/adf_rl_admin.h | 18 +
drivers/crypto/intel/qat/qat_common/adf_sysfs.c | 112 +-
.../intel/qat/qat_common/adf_sysfs_ras_counters.c | 112 ++
.../intel/qat/qat_common/adf_sysfs_ras_counters.h | 27 +
drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c | 451 ++++++
drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.h | 11 +
.../intel/qat/qat_common/adf_transport_debug.c | 4 +-
.../intel/qat/qat_common/icp_qat_fw_init_admin.h | 82 +
drivers/crypto/intel/qat/qat_common/icp_qat_hw.h | 2 +
.../crypto/intel/qat/qat_common/qat_algs_send.c | 46 +-
.../crypto/intel/qat/qat_common/qat_comp_algs.c | 129 +-
drivers/crypto/intel/qat/qat_common/qat_uclo.c | 2 +-
.../intel/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 1 +
drivers/crypto/intel/qat/qat_dh895xcc/adf_drv.c | 1 +
drivers/crypto/intel/qat/qat_dh895xccvf/adf_drv.c | 1 +
drivers/crypto/marvell/cesa/cesa.c | 6 +-
drivers/crypto/mxs-dcp.c | 8 +-
drivers/crypto/n2_core.c | 12 +-
drivers/crypto/omap-aes.c | 6 +-
drivers/crypto/omap-des.c | 6 +-
drivers/crypto/omap-sham.c | 22 +-
drivers/crypto/qce/core.c | 5 +-
drivers/crypto/qcom-rng.c | 71 +-
drivers/crypto/rockchip/rk3288_crypto.c | 5 +-
drivers/crypto/rockchip/rk3288_crypto_ahash.c | 3 -
drivers/crypto/s5p-sss.c | 12 +-
drivers/crypto/sa2ul.c | 6 +-
drivers/crypto/sahara.c | 6 +-
drivers/crypto/starfive/jh7110-hash.c | 13 +-
drivers/crypto/stm32/stm32-crc32.c | 17 +-
drivers/crypto/stm32/stm32-cryp.c | 16 +-
drivers/crypto/stm32/stm32-hash.c | 20 -
drivers/crypto/talitos.c | 23 +-
drivers/crypto/virtio/virtio_crypto_common.h | 3 +
drivers/crypto/virtio/virtio_crypto_core.c | 14 +-
drivers/crypto/vmx/aesp8-ppc.pl | 141 +-
drivers/crypto/xilinx/zynqmp-aes-gcm.c | 6 +-
drivers/crypto/xilinx/zynqmp-sha.c | 7 +-
.../chelsio/inline_crypto/ch_ipsec/chcr_ipsec.c | 2 -
.../chelsio/inline_crypto/ch_ipsec/chcr_ipsec.h | 1 -
.../ethernet/chelsio/inline_crypto/chtls/chtls.h | 1 -
drivers/net/wireguard/cookie.c | 2 +-
drivers/net/wireguard/netlink.c | 2 +-
drivers/net/wireguard/noise.c | 2 +-
fs/crypto/keysetup_v1.c | 2 +-
fs/smb/server/ksmbd_spnego_negtokeninit.asn1 | 8 +
fs/smb/server/ksmbd_spnego_negtokentarg.asn1 | 7 +
fs/ubifs/auth.c | 3 +-
fs/ubifs/replay.c | 1 -
fs/ubifs/ubifs.h | 2 +-
include/crypto/aead.h | 12 +
include/crypto/akcipher.h | 4 +-
include/crypto/algapi.h | 5 -
include/crypto/engine.h | 2 +-
include/crypto/hash.h | 95 +-
include/crypto/hash_info.h | 1 +
include/crypto/internal/hash.h | 9 +-
include/crypto/internal/skcipher.h | 130 +-
include/crypto/sig.h | 2 +-
include/crypto/skcipher.h | 296 +++-
include/linux/crypto.h | 30 +-
include/linux/hisi_acc_qm.h | 39 +-
include/linux/hw_random.h | 1 +
include/linux/oid_registry.h | 23 +-
include/linux/units.h | 4 +
include/linux/verification.h | 1 +
include/uapi/linux/hash_info.h | 3 +
kernel/module/Kconfig | 25 +-
kernel/padata.c | 8 +-
net/bluetooth/smp.c | 3 +-
net/ceph/messenger_v2.c | 4 -
net/ipv4/ah4.c | 19 +-
net/ipv4/netfilter/nf_nat_snmp_basic.asn1 | 8 +
net/ipv6/ah6.c | 19 +-
net/mptcp/subflow.c | 2 +-
net/sunrpc/auth_gss/gss_krb5_crypto.c | 2 +-
net/sunrpc/auth_gss/gss_krb5_unseal.c | 2 -
net/xfrm/Kconfig | 1 +
net/xfrm/xfrm_algo.c | 19 +-
security/integrity/evm/evm_main.c | 3 +-
security/keys/encrypted-keys/encrypted.c | 2 +-
tools/crypto/ccp/dbc.c | 17 +-
tools/crypto/ccp/dbc.py | 8 +-
tools/crypto/ccp/test_dbc.py | 45 +-
277 files changed, 10706 insertions(+), 3352 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-qat_ras
create mode 100644 Documentation/ABI/testing/sysfs-driver-qat_rl
create mode 100644 crypto/lskcipher.c
create mode 100644 crypto/skcipher.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_admin.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_cfg_services.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_cfg_services.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_cnv_dbgfs.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_pm_debugfs.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_ras.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_pm_dbgfs.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_rl.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_rl.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_rl_admin.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_rl_admin.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_sysfs_ras_counters.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_sysfs_ras_counters.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.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


2023-11-03 02:34:47

by Linus Torvalds

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

On Wed, 1 Nov 2023 at 20:56, Herbert Xu <[email protected]> wrote:
>
> Stephan Müller (5):
> crypto: jitter - add RCT/APT support for different OSRs
> crypto: jitter - Allow configuration of memory size
> crypto: jitter - Allow configuration of oversampling rate
> crypto: jitter - reuse allocated entropy collector
> crypto: jitter - use permanent health test storage

This is beyond annoying.

These are adding Kconfig questions that don't make sense. The whole
jitter thing is debatably useful in the first place, and now you just
annoy users with random questions.

And I mean truly random - the whole jitter entropy is voodoo
programming to begin with, and having some crazy 8MB buffer for it is
just ridiculous.

Honestly, this all smells like somebody's PhD thesis, not a real life thing.

And no, we don't make our Kconfig questions more annoying for some PhD thesis.

We also don't ask people questions that don't have valid answers. Just
because the whole "what is entropy in the first place" isn't
clear-cut, we don't then punt some tweaking question to the user.

We have a very simple and stupid jitter entropy thing AT BOOT TIME
just to try to generate some amount of entropy to make boots
non-repeatable (see "try_to_generate_entropy()" in
drivers/char/random.c).

Honestly, the whole crypto layer one is ridiculous overkill in the
first place, but the annoying new questions have now literally made me
consider just removing it entirely.

Because no, IT IS NOT OK TO ASK CRAZY QUESTIONS. If some developer
cannot come up with a reasonable answer, a random user sure has hell
cannot.

And no, any question that says "do you want to use 8MB of memory for
jitter entropy" is just batsh*t crazy.

This kind of crap needs to stop.

If somebody wants to do this kind of thing, just do it in user space.
It's ridiculously pointless in the kernel.

Convince me I'm wrong. But there is no way in *hell* you will convince
me that we should ask users about some jitter memory sizing.
Allocating memory for timing analysis is silly to begin with, since
any kernel thing could just use the physical memory mapping we already
have in the kernel. I suspect strongly that all this code has been
influenced by code running in user space, where it belongs, and where
you do need to allocate memory to have it available.

Please just make this noise go away.

Linus

2023-11-03 02:37:53

by pr-tracker-bot

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

The pull request you sent on Thu, 2 Nov 2023 14:56:05 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git v6.7-p1

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

Thank you!

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

2023-11-03 05:52:30

by Herbert Xu

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

On Thu, Nov 02, 2023 at 04:34:11PM -1000, Linus Torvalds wrote:
> On Wed, 1 Nov 2023 at 20:56, Herbert Xu <[email protected]> wrote:
> >
> > Stephan M?ller (5):
> > crypto: jitter - add RCT/APT support for different OSRs
> > crypto: jitter - Allow configuration of memory size
> > crypto: jitter - Allow configuration of oversampling rate
> > crypto: jitter - reuse allocated entropy collector
> > crypto: jitter - use permanent health test storage
>
> This is beyond annoying.

...

> Please just make this noise go away.

Fair enough. How about adding an EXPERT dependency on this?

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

2023-11-03 06:33:26

by Linus Torvalds

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

On Thu, 2 Nov 2023 at 19:52, Herbert Xu <[email protected]> wrote:
>
> Fair enough. How about adding an EXPERT dependency on this?

I think that would help the situation, but I assume the sizing for the
jitter buffer is at least partly due to trying to account for cache
sizing or similar issues?

Which really means that I assume any static compile-time answer to
that question is always wrong - whether you are an expert or not.
Unless you are just building the thing for one particular machine.

So I do think the problem is deeper than "this is a question only for
experts". I definitely don't think you should ask a regular user (or
even a distro kernel package manager). I suspect it's likely that the
question is just wrong in general - because any particular one buffer
size for any number of machines simply cannot be the right answer.

I realize that the commit says "*allow* for configuration of memory
size", but I really question the whole approach.

But yes - hiding these questions from any reasonable normal user is at
least a good first step.

Linus

2024-01-09 22:20:08

by Herbert Xu

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

Hi Linus:

The following changes since commit b85ea95d086471afb4ad062012a4d73cd328fa86:

Linux 6.7-rc1 (2023-11-12 16:19:07 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git v6.8-p1

for you to fetch changes up to b8910630c967ffee582289451ddb5f9f19c26872:

crypto: iaa - Account for cpu-less numa nodes (2023-12-29 11:25:56 +0800)

----------------------------------------------------------------
This update includes the following changes:

API:

- Add incremental lskcipher/skcipher processing.

Algorithms:

- Remove SHA1 from drbg.
- Remove CFB and OFB.

Drivers:

- Add comp high perf mode configuration in hisilicon/zip.
- Add support for 420xx devices in qat.
- Add IAA Compression Accelerator driver.
----------------------------------------------------------------

Bharat Bhushan (2):
crypto: octeontx2 - By default allocate one CPT LF per CPT VF
crypto: octeontx2 - Fix cptvf driver cleanup

Chanho Park (1):
crypto: jh7110 - Correct deferred probe return

Chen Ni (1):
crypto: sa2ul - Return crypto_aead_setkey to transfer the error

Chenghai Huang (3):
crypto: hisilicon/zip - add zip comp high perf mode configuration
crypto: hisilicon/qm - delete a dbg function
crypto: hisilicon/sec2 - optimize the error return process

Chengming Zhou (1):
crypto: scomp - fix req->dst buffer overflow

Christophe JAILLET (1):
hwrng: virtio - Remove usage of the deprecated ida_simple_xx() API

Damian Muszynski (5):
crypto: qat - add sysfs_added flag for ras
crypto: qat - add sysfs_added flag for rate limiting
crypto: qat - fix error path in add_update_sla()
crypto: qat - fix mutex ordering in adf_rl
crypto: qat - generate dynamically arbiter mappings

Dan Carpenter (2):
crypto: rsa - add a check for allocation failure
crypto: qat - prevent underflow in rp2srv_store()

Dave Jiang (1):
dmaengine: idxd: add external module driver support for dsa_bus_type

Dimitri John Ledkov (4):
crypto: drbg - ensure most preferred type is FIPS health checked
crypto: drbg - update FIPS CTR self-checks to aes256
crypto: drbg - ensure drbg hmac sha512 is used in FIPS selftests
crypto: drbg - Remove SHA1 from drbg

Dinghao Liu (1):
crypto: ccp - fix memleak in ccp_init_dm_workarea

Eric Biggers (4):
crypto: sun8i-ss - use crypto_shash_tfm_digest() in sun8i_ss_hashkey()
crypto: shash - don't exclude async statuses from error stats
crypto: x86/sha1 - autoload if SHA-NI detected
crypto: x86/sha256 - autoload if SHA-NI detected

Giovanni Cabiddu (1):
crypto: qat - add NULL pointer check

Gonglei (Arei) (1):
crypto: virtio - Handle dataq logic with tasklet

Gustavo A. R. Silva (1):
crypto: p10-aes-gcm - Avoid -Wstringop-overflow warnings

Herbert Xu (31):
crypto: ccree - Silence gcc format-truncation false positive warnings
crypto: marvell/cesa - Silence gcc format-truncation false positive warnings
crypto: n2 - Silence gcc format-truncation false positive warnings
crypto: af_alg - Disallow multiple in-flight AIO requests
hwrng: core - Fix page fault dead lock on mmap-ed hwrng
crypto: s390/aes - Fix buffer overread in CTR mode
crypto: arm64/sm4 - Remove cfb(sm4)
crypto: x86/sm4 - Remove cfb(sm4)
crypto: crypto4xx - Remove cfb and ofb
crypto: aspeed - Remove cfb and ofb
crypto: atmel - Remove cfb and ofb
crypto: cpt - Remove cfb
crypto: nitrox - Remove cfb
crypto: ccp - Remove cfb and ofb
crypto: hifn_795x - Remove cfb and ofb
crypto: hisilicon/sec2 - Remove cfb and ofb
crypto: safexcel - Remove cfb and ofb
crypto: octeontx - Remove cfb
crypto: n2 - Remove cfb
crypto: starfive - Remove cfb and ofb
crypto: bcm - Remove ofb
crypto: ccree - Remove ofb
crypto: tcrypt - Remove cfb and ofb
crypto: testmgr - Remove cfb and ofb
crypto: cfb,ofb - Remove cfb and ofb
crypto: skcipher - Add internal state support
crypto: skcipher - Make use of internal state
crypto: arc4 - Add internal state
crypto: algif_skcipher - Fix stream cipher chaining
crypto: api - Disallow identical driver names
crypto: skcipher - Pass statesize for simple lskcipher instances

Jia Jie Ho (8):
crypto: starfive - Update driver dependencies
crypto: starfive - RSA poll csr for done status
crypto: starfive - Pad adata with zeroes
hwrng: starfive - Fix dev_err_probe return error
crypto: starfive - Remove unneeded NULL checks
crypto: starfive - Fix dev_err_probe return error
dt-bindings: rng: starfive: Add jh8100 compatible string
hwrng: starfive - Add runtime pm ops

Jiapeng Chong (1):
crypto: iaa - remove unneeded semicolon

Jie Wang (5):
crypto: qat - relocate and rename get_service_enabled()
crypto: qat - change signature of uof_get_num_objs()
crypto: qat - relocate portions of qat_4xxx code
crypto: qat - move fw config related structures
crypto: qat - add support for 420xx devices

Krzysztof Kozlowski (2):
dt-bindings: crypto: qcom-qce: constrain clocks for IPQ9574 QCE
dt-bindings: crypto: qcom-qce: constrain clocks for SM8150-compatible QCE

Longfang Liu (1):
MAINTAINERS: update SEC2/HPRE driver maintainers list

Lucas Segarra Fernandez (4):
crypto: qat - include pci.h for GET_DEV()
crypto: qat - add admin msgs for telemetry
crypto: qat - add support for device telemetry
crypto: qat - add support for ring pair level telemetry

Martin Kaiser (1):
hwrng: virtio - remove #ifdef guards for PM functions

Neil Armstrong (3):
dt-bindings: crypto: qcom,inline-crypto-engine: document the SM8650 ICE
dt-bindings: crypto: qcom-qce: document the SM8650 crypto engine
dt-bindings: crypto: qcom,prng: document SM8650

Nikita Zhandarovich (1):
crypto: safexcel - Add error handling for dma_map_sg() calls

Nithin Dabilpuram (2):
crypto: octeontx2 - register error interrupts for inline cptlf
crypto: octeontx2 - support setting ctx ilen for inline CPT LF

Om Prakash Singh (1):
dt-bindings: crypto: qcom-qce: document the SC7280 crypto engine

Ovidiu Panait (28):
crypto: sahara - remove FLAGS_NEW_KEY logic
crypto: sahara - fix cbc selftest failure
crypto: sahara - fix ahash selftest failure
crypto: sahara - fix processing requests with cryptlen < sg->length
crypto: sahara - fix error handling in sahara_hw_descriptor_create()
crypto: sahara - remove unused error field in sahara_dev
crypto: sahara - avoid skcipher fallback code duplication
crypto: rk3288 - Use helper to set reqsize
crypto: amlogic - Use helper to set reqsize
crypto: artpec6 - Use helper to set reqsize
crypto: stm32/cryp - Use helper to set reqsize
crypto: sl3516 - Use helper to set reqsize
crypto: sun8i-ce - Use helper to set reqsize
crypto: sun8i-ss - Use helper to set reqsize
crypto: sahara - handle zero-length aes requests
crypto: sahara - fix ahash reqsize
crypto: sahara - fix wait_for_completion_timeout() error handling
crypto: sahara - improve error handling in sahara_sha_process()
crypto: sahara - fix processing hash requests with req->nbytes < sg->length
crypto: sahara - do not resize req->src when doing hash operations
crypto: sahara - clean up macro indentation
crypto: sahara - use BIT() macro
crypto: sahara - use devm_clk_get_enabled()
crypto: sahara - use dev_err_probe()
crypto: sahara - remove 'active' flag from sahara_aes_reqctx struct
crypto: sahara - remove unnecessary NULL assignments
crypto: sahara - remove error message for bad aes request size
crypto: sahara - add support for crypto_engine

Rafał Miłecki (1):
dt-bindings: crypto: convert Inside Secure SafeXcel to the json-schema

Rob Herring (1):
hwrng: ingenic - Replace of_device.h with explicit of.h include

Sagar Vashnav (1):
crypto: lib/aesgcm - Add kernel docs for aesgcm_mac

Srujana Challa (7):
crypto: octeontx2 - remove CPT block reset
crypto: octeontx2 - add SGv2 support for CN10KB or CN10KA B0
crypto: octeontx2 - add devlink option to set t106 mode
crypto: octeontx2 - remove errata workaround for CN10KB or CN10KA B0 chip.
crypto: octeontx2 - add LF reset on queue disable
crypto: octeontx2 - update CPT inbound inline IPsec mailbox
crypto: octeontx2 - add ctx_val workaround

Thomas Bourgoin (1):
crypto: stm32/crc32 - fix parsing list of devices

Tianjia Zhang (1):
crypto: lib/mpi - Fix unexpected pointer access in mpi_ec_init

Tom Zanussi (16):
dmaengine: idxd: Rename drv_enable/disable_wq to idxd_drv_enable/disable_wq, and export
dmaengine: idxd: Export descriptor management functions
dmaengine: idxd: Export wq resource management functions
dmaengine: idxd: Add wq private data accessors
dmaengine: idxd: add callback support for iaa crypto
crypto: iaa - Add IAA Compression Accelerator Documentation
crypto: iaa - Add Intel IAA Compression Accelerator crypto driver core
crypto: iaa - Add per-cpu workqueue table with rebalancing
crypto: iaa - Add compression mode management along with fixed mode
crypto: iaa - Add support for deflate-iaa compression algorithm
crypto: iaa - Add irq support for the crypto async interface
crypto: iaa - Add IAA Compression Accelerator stats
dmaengine: idxd: Add support for device/wq defaults
crypto: iaa - Change desc->priv to 0
crypto: iaa - Remove unneeded newline in update_max_adecomp_delay_ns()
crypto: iaa - Account for cpu-less numa nodes

Uwe Kleine-König (12):
hwrng: atmel - Convert to platform remove callback returning void
hwrng: cctrng - Convert to platform remove callback returning void
hwrng: exynos - Convert to platform remove callback returning void
hwrng: ingenic - Convert to platform remove callback returning void
hwrng: ks-sa - Convert to platform remove callback returning void
hwrng: mxc - Convert to platform remove callback returning void
hwrng: n2 - Convert to platform remove callback returning void
hwrng: npcm - Convert to platform remove callback returning void
hwrng: omap - Convert to platform remove callback returning void
hwrng: stm32 - Convert to platform remove callback returning void
hwrng: timeriomem - Convert to platform remove callback returning void
hwrng: xgene - Convert to platform remove callback returning void

Vegard Nossum (2):
crypto: shash - remove excess kerneldoc members
crypto: skcipher - remove excess kerneldoc members

WangJinchao (1):
crypto: tcrypt - add script tcrypt_speed_compare.py

Weili Qian (5):
crypto: hisilicon/qm - print device abnormal information
crypto: hisilicon/qm - remove incorrect type cast
crypto: hisilicon/sgl - small cleanups for sgl.c
crypto: hisilicon/qm - simplify the status of qm
crypto: hisilicon/qm - add comments and remove redundant array element

Wenkai Lin (1):
crypto: hisilicon/qm - add a function to set qm algs

Yang Yingliang (1):
hwrng: stm32 - add missing clk_disable_unprepare() in stm32_rng_init()

Zhiqi Song (4):
crypto: hisilicon/qm - save capability registers in qm init process
crypto: hisilicon/hpre - save capability registers in probe process
crypto: hisilicon/sec2 - save capability registers in probe process
crypto: hisilicon/zip - save capability registers in probe process

wangyangxin (1):
crypto: virtio - Wait for tasklet to complete on device remove

.../ABI/testing/debugfs-driver-qat_telemetry | 228 ++
Documentation/ABI/testing/debugfs-hisi-hpre | 2 +-
Documentation/ABI/testing/debugfs-hisi-sec | 2 +-
Documentation/ABI/testing/debugfs-hisi-zip | 2 +-
Documentation/crypto/device_drivers/index.rst | 9 +
Documentation/crypto/device_drivers/octeontx2.rst | 25 +
Documentation/crypto/index.rst | 1 +
.../bindings/crypto/inside-secure,safexcel.yaml | 86 +
.../bindings/crypto/inside-secure-safexcel.txt | 40 -
.../bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
.../devicetree/bindings/crypto/qcom,prng.yaml | 1 +
.../devicetree/bindings/crypto/qcom-qce.yaml | 14 +
.../bindings/rng/starfive,jh7110-trng.yaml | 6 +-
Documentation/driver-api/crypto/iaa/iaa-crypto.rst | 824 ++++++++
Documentation/driver-api/crypto/iaa/index.rst | 20 +
Documentation/driver-api/crypto/index.rst | 20 +
Documentation/driver-api/index.rst | 1 +
MAINTAINERS | 15 +-
arch/arm64/crypto/Kconfig | 6 +-
arch/arm64/crypto/sm4-ce-core.S | 158 --
arch/arm64/crypto/sm4-ce-glue.c | 108 +-
arch/arm64/crypto/sm4-ce.h | 3 -
arch/arm64/crypto/sm4-neon-core.S | 113 -
arch/arm64/crypto/sm4-neon-glue.c | 105 +-
arch/powerpc/crypto/aes-gcm-p10-glue.c | 2 +-
arch/s390/crypto/aes_s390.c | 4 +-
arch/s390/crypto/paes_s390.c | 4 +-
arch/x86/crypto/Kconfig | 8 +-
arch/x86/crypto/sha1_ssse3_glue.c | 7 +-
arch/x86/crypto/sha256_ssse3_glue.c | 7 +-
arch/x86/crypto/sm4-aesni-avx-asm_64.S | 52 -
arch/x86/crypto/sm4-aesni-avx2-asm_64.S | 55 -
arch/x86/crypto/sm4-avx.h | 4 -
arch/x86/crypto/sm4_aesni_avx2_glue.c | 26 -
arch/x86/crypto/sm4_aesni_avx_glue.c | 130 --
crypto/Kconfig | 23 -
crypto/Makefile | 2 -
crypto/af_alg.c | 14 +-
crypto/algapi.c | 1 +
crypto/algif_skcipher.c | 72 +-
crypto/arc4.c | 11 +-
crypto/cbc.c | 6 +-
crypto/cfb.c | 254 ---
crypto/drbg.c | 40 +-
crypto/ecb.c | 10 +-
crypto/lskcipher.c | 43 +-
crypto/ofb.c | 106 -
crypto/rsa.c | 2 +
crypto/scompress.c | 6 +
crypto/shash.c | 6 +-
crypto/skcipher.c | 80 +-
crypto/tcrypt.c | 76 -
crypto/testmgr.c | 74 +-
crypto/testmgr.h | 1148 ----------
drivers/char/hw_random/atmel-rng.c | 6 +-
drivers/char/hw_random/cctrng.c | 6 +-
drivers/char/hw_random/core.c | 36 +-
drivers/char/hw_random/exynos-trng.c | 6 +-
drivers/char/hw_random/ingenic-rng.c | 8 +-
drivers/char/hw_random/jh7110-trng.c | 10 +-
drivers/char/hw_random/ks-sa-rng.c | 6 +-
drivers/char/hw_random/mxc-rnga.c | 6 +-
drivers/char/hw_random/n2-drv.c | 6 +-
drivers/char/hw_random/npcm-rng.c | 6 +-
drivers/char/hw_random/omap-rng.c | 6 +-
drivers/char/hw_random/stm32-rng.c | 7 +-
drivers/char/hw_random/timeriomem-rng.c | 6 +-
drivers/char/hw_random/virtio-rng.c | 14 +-
drivers/char/hw_random/xgene-rng.c | 6 +-
drivers/crypto/Kconfig | 1 +
.../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 4 +-
.../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 5 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 25 +-
drivers/crypto/amcc/crypto4xx_alg.c | 14 -
drivers/crypto/amcc/crypto4xx_core.c | 40 -
drivers/crypto/amcc/crypto4xx_core.h | 4 -
drivers/crypto/amlogic/amlogic-gxl-cipher.c | 4 +-
drivers/crypto/aspeed/Kconfig | 4 +-
drivers/crypto/aspeed/aspeed-hace-crypto.c | 230 --
drivers/crypto/atmel-aes.c | 214 +-
drivers/crypto/atmel-tdes.c | 205 +-
drivers/crypto/axis/artpec6_crypto.c | 12 +-
drivers/crypto/bcm/cipher.c | 57 -
drivers/crypto/cavium/cpt/cptvf_algs.c | 24 -
drivers/crypto/cavium/nitrox/nitrox_skcipher.c | 19 -
drivers/crypto/ccp/ccp-crypto-aes.c | 18 -
drivers/crypto/ccp/ccp-ops.c | 5 +-
drivers/crypto/ccree/cc_aead.c | 10 +-
drivers/crypto/ccree/cc_cipher.c | 45 +-
drivers/crypto/gemini/sl3516-ce-cipher.c | 4 +-
drivers/crypto/hifn_795x.c | 126 +-
drivers/crypto/hisilicon/debugfs.c | 54 +-
drivers/crypto/hisilicon/hpre/hpre_main.c | 122 +-
drivers/crypto/hisilicon/qm.c | 264 ++-
drivers/crypto/hisilicon/qm_common.h | 4 -
drivers/crypto/hisilicon/sec2/sec.h | 7 +
drivers/crypto/hisilicon/sec2/sec_crypto.c | 43 +-
drivers/crypto/hisilicon/sec2/sec_crypto.h | 2 -
drivers/crypto/hisilicon/sec2/sec_main.c | 72 +-
drivers/crypto/hisilicon/sgl.c | 12 +-
drivers/crypto/hisilicon/zip/zip_main.c | 227 +-
drivers/crypto/inside-secure/safexcel.c | 4 -
drivers/crypto/inside-secure/safexcel.h | 4 -
drivers/crypto/inside-secure/safexcel_cipher.c | 171 +-
drivers/crypto/intel/Kconfig | 1 +
drivers/crypto/intel/Makefile | 1 +
drivers/crypto/intel/iaa/Kconfig | 19 +
drivers/crypto/intel/iaa/Makefile | 12 +
drivers/crypto/intel/iaa/iaa_crypto.h | 173 ++
drivers/crypto/intel/iaa/iaa_crypto_comp_fixed.c | 92 +
drivers/crypto/intel/iaa/iaa_crypto_main.c | 2193 ++++++++++++++++++++
drivers/crypto/intel/iaa/iaa_crypto_stats.c | 312 +++
drivers/crypto/intel/iaa/iaa_crypto_stats.h | 53 +
drivers/crypto/intel/qat/Kconfig | 11 +
drivers/crypto/intel/qat/Makefile | 1 +
drivers/crypto/intel/qat/qat_420xx/Makefile | 4 +
.../crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c | 528 +++++
.../crypto/intel/qat/qat_420xx/adf_420xx_hw_data.h | 55 +
drivers/crypto/intel/qat/qat_420xx/adf_drv.c | 202 ++
.../crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c | 339 +--
.../crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.h | 52 -
drivers/crypto/intel/qat/qat_4xxx/adf_drv.c | 277 +--
drivers/crypto/intel/qat/qat_common/Makefile | 4 +
.../intel/qat/qat_common/adf_accel_devices.h | 16 +-
.../crypto/intel/qat/qat_common/adf_accel_engine.c | 2 +-
drivers/crypto/intel/qat/qat_common/adf_admin.c | 37 +
drivers/crypto/intel/qat/qat_common/adf_admin.h | 4 +
.../crypto/intel/qat/qat_common/adf_cfg_common.h | 1 +
.../crypto/intel/qat/qat_common/adf_cfg_services.c | 27 +
.../crypto/intel/qat/qat_common/adf_cfg_services.h | 4 +
drivers/crypto/intel/qat/qat_common/adf_dbgfs.c | 3 +
.../crypto/intel/qat/qat_common/adf_fw_config.h | 18 +
.../crypto/intel/qat/qat_common/adf_gen4_config.c | 287 +++
.../crypto/intel/qat/qat_common/adf_gen4_config.h | 11 +
.../crypto/intel/qat/qat_common/adf_gen4_hw_data.c | 238 +++
.../crypto/intel/qat/qat_common/adf_gen4_hw_data.h | 87 +
drivers/crypto/intel/qat/qat_common/adf_gen4_tl.c | 153 ++
drivers/crypto/intel/qat/qat_common/adf_gen4_tl.h | 158 ++
drivers/crypto/intel/qat/qat_common/adf_init.c | 12 +
drivers/crypto/intel/qat/qat_common/adf_rl.c | 7 +-
drivers/crypto/intel/qat/qat_common/adf_rl.h | 1 +
drivers/crypto/intel/qat/qat_common/adf_sysfs.c | 6 +-
.../intel/qat/qat_common/adf_sysfs_ras_counters.c | 7 +-
drivers/crypto/intel/qat/qat_common/adf_sysfs_rl.c | 8 +
.../crypto/intel/qat/qat_common/adf_telemetry.c | 288 +++
.../crypto/intel/qat/qat_common/adf_telemetry.h | 99 +
.../crypto/intel/qat/qat_common/adf_tl_debugfs.c | 710 +++++++
.../crypto/intel/qat/qat_common/adf_tl_debugfs.h | 117 ++
.../intel/qat/qat_common/icp_qat_fw_init_admin.h | 10 +
drivers/crypto/intel/qat/qat_common/icp_qat_hw.h | 14 +-
drivers/crypto/intel/qat/qat_common/icp_qat_uclo.h | 2 +-
drivers/crypto/intel/qat/qat_common/qat_hal.c | 6 +-
drivers/crypto/intel/qat/qat_common/qat_uclo.c | 1 +
drivers/crypto/marvell/cesa/cesa.c | 6 +-
drivers/crypto/marvell/octeontx/otx_cptvf_algs.c | 23 -
drivers/crypto/marvell/octeontx2/cn10k_cpt.c | 86 +-
drivers/crypto/marvell/octeontx2/cn10k_cpt.h | 27 +
drivers/crypto/marvell/octeontx2/otx2_cpt_common.h | 54 +-
.../crypto/marvell/octeontx2/otx2_cpt_devlink.c | 44 +-
.../crypto/marvell/octeontx2/otx2_cpt_hw_types.h | 9 +-
.../marvell/octeontx2/otx2_cpt_mbox_common.c | 26 +
drivers/crypto/marvell/octeontx2/otx2_cpt_reqmgr.h | 298 +++
drivers/crypto/marvell/octeontx2/otx2_cptlf.c | 139 +-
drivers/crypto/marvell/octeontx2/otx2_cptlf.h | 103 +-
drivers/crypto/marvell/octeontx2/otx2_cptpf.h | 4 +
drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c | 74 +-
drivers/crypto/marvell/octeontx2/otx2_cptpf_mbox.c | 82 +-
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 49 +-
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.h | 3 +-
drivers/crypto/marvell/octeontx2/otx2_cptvf.h | 2 +
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c | 31 +
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.h | 5 +
drivers/crypto/marvell/octeontx2/otx2_cptvf_main.c | 29 +-
drivers/crypto/marvell/octeontx2/otx2_cptvf_mbox.c | 28 +
.../crypto/marvell/octeontx2/otx2_cptvf_reqmgr.c | 162 +-
drivers/crypto/n2_core.c | 36 +-
drivers/crypto/rockchip/rk3288_crypto_skcipher.c | 4 +-
drivers/crypto/sa2ul.c | 3 +-
drivers/crypto/sahara.c | 845 ++++----
drivers/crypto/starfive/Kconfig | 2 +-
drivers/crypto/starfive/jh7110-aes.c | 77 +-
drivers/crypto/starfive/jh7110-cryp.c | 20 +-
drivers/crypto/starfive/jh7110-cryp.h | 12 +-
drivers/crypto/starfive/jh7110-rsa.c | 58 +-
drivers/crypto/stm32/stm32-crc32.c | 2 +-
drivers/crypto/stm32/stm32-cryp.c | 2 +-
drivers/crypto/virtio/virtio_crypto_common.h | 2 +
drivers/crypto/virtio/virtio_crypto_core.c | 26 +-
drivers/dma/idxd/Makefile | 2 +-
drivers/dma/idxd/bus.c | 6 +
drivers/dma/idxd/cdev.c | 6 +-
drivers/dma/idxd/defaults.c | 53 +
drivers/dma/idxd/device.c | 13 +-
drivers/dma/idxd/dma.c | 9 +-
drivers/dma/idxd/idxd.h | 83 +-
drivers/dma/idxd/init.c | 7 +
drivers/dma/idxd/irq.c | 12 +-
drivers/dma/idxd/submit.c | 9 +-
include/crypto/hash.h | 4 -
include/crypto/if_alg.h | 5 +
include/crypto/skcipher.h | 133 +-
include/linux/hisi_acc_qm.h | 28 +-
lib/crypto/aesgcm.c | 13 +
lib/crypto/mpi/ec.c | 3 +
tools/crypto/tcrypt/tcrypt_speed_compare.py | 190 ++
205 files changed, 10087 insertions(+), 5779 deletions(-)
create mode 100644 Documentation/ABI/testing/debugfs-driver-qat_telemetry
create mode 100644 Documentation/crypto/device_drivers/index.rst
create mode 100644 Documentation/crypto/device_drivers/octeontx2.rst
create mode 100644 Documentation/devicetree/bindings/crypto/inside-secure,safexcel.yaml
delete mode 100644 Documentation/devicetree/bindings/crypto/inside-secure-safexcel.txt
create mode 100644 Documentation/driver-api/crypto/iaa/iaa-crypto.rst
create mode 100644 Documentation/driver-api/crypto/iaa/index.rst
create mode 100644 Documentation/driver-api/crypto/index.rst
delete mode 100644 crypto/cfb.c
delete mode 100644 crypto/ofb.c
create mode 100644 drivers/crypto/intel/iaa/Kconfig
create mode 100644 drivers/crypto/intel/iaa/Makefile
create mode 100644 drivers/crypto/intel/iaa/iaa_crypto.h
create mode 100644 drivers/crypto/intel/iaa/iaa_crypto_comp_fixed.c
create mode 100644 drivers/crypto/intel/iaa/iaa_crypto_main.c
create mode 100644 drivers/crypto/intel/iaa/iaa_crypto_stats.c
create mode 100644 drivers/crypto/intel/iaa/iaa_crypto_stats.h
create mode 100644 drivers/crypto/intel/qat/qat_420xx/Makefile
create mode 100644 drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c
create mode 100644 drivers/crypto/intel/qat/qat_420xx/adf_420xx_hw_data.h
create mode 100644 drivers/crypto/intel/qat/qat_420xx/adf_drv.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_fw_config.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_config.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_config.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_tl.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_gen4_tl.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_telemetry.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_telemetry.h
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.c
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_tl_debugfs.h
create mode 100644 drivers/dma/idxd/defaults.c
create mode 100755 tools/crypto/tcrypt/tcrypt_speed_compare.py

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

2024-01-10 20:40:36

by pr-tracker-bot

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

The pull request you sent on Wed, 10 Jan 2024 06:17:32 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git v6.8-p1

has been merged into torvalds/linux.git:
https://git.kernel.org/torvalds/c/0cb552aa97843f24549ce808883494138471c16b

Thank you!

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

2024-03-15 03:04:55

by Herbert Xu

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

Hi Linus:

The following changes since commit c5a2f74db71a849f3a60bc153d684d6d28a0c665:

crypto: caam - fix asynchronous hash (2024-01-26 16:35:55 +0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git v6.9-p1

for you to fetch changes up to 6a8dbd71a70620c42d4fa82509204ba18231f28d:

Revert "crypto: remove CONFIG_CRYPTO_STATS" (2024-03-13 09:49:37 +0800)

----------------------------------------------------------------
This update includes the following changes:

API:

- Avoid unnecessary copying in scomp for trivial SG lists.

Algorithms:

- Optimise NEON CCM implementation on ARM64.

Drivers:

- Add queue stop/query debugfs support in hisilicon/qm.
----------------------------------------------------------------

Adam Guerin (6):
crypto: qat - remove unused macros in qat_comp_alg.c
crypto: qat - removed unused macro in adf_cnv_dbgfs.c
crypto: qat - avoid division by zero
crypto: qat - remove double initialization of value
crypto: qat - remove unnecessary description from comment
crypto: qat - fix comment structure

Ard Biesheuvel (8):
crypto: arm64/aes-ccm - Revert "Rewrite skcipher walker loop"
crypto: arm64/aes-ccm - Keep NEON enabled during skcipher walk
crypto: arm64/aes-ccm - Pass short inputs via stack buffer
crypto: arm64/aes-ccm - Replace bytewise tail handling with NEON permute
crypto: arm64/aes-ccm - Reuse existing MAC update for AAD input
crypto: arm64/aes-ccm - Cache round keys and unroll AES loops
crypto: arm64/aes-ccm - Merge encrypt and decrypt tail handling
crypto: arm64/aes-ccm - Merge finalization into en/decrypt asm helpers

Arnd Bergmann (2):
crypto: qat - avoid memcpy() overflow warning
crypto: arm/sha - fix function cast warnings

Barry Song (3):
crypto: hisilicon/zip - fix the missing CRYPTO_ALG_ASYNC in cra_flags
crypto: iaa - fix the missing CRYPTO_ALG_ASYNC in cra_flags
crypto: scomp - remove memcpy if sg_nents is 1 and pages are lowmem

Borislav Petkov (AMD) (1):
crypto: ccp - State in dmesg that TSME is enabled

Clay Chang (1):
KEYS: include header for EINVAL definition

Colin Ian King (2):
crypto: pcbc - remove redundant assignment to nbytes
crypto: asymmetric_keys - remove redundant pointer secs

Damian Muszynski (7):
crypto: qat - add heartbeat error simulator
crypto: qat - add auto reset on error
crypto: qat - change SLAs cleanup flow at shutdown
crypto: qat - resolve race condition during AER recovery
crypto: qat - fix ring to service map for dcc in 4xxx
crypto: qat - fix ring to service map for dcc in 420xx
crypto: qat - make ring to service map common for QAT GEN4

Dan Carpenter (1):
crypto: qat - uninitialized variable in adf_hb_error_inject_write()

Danny Tsen (1):
crypto: vmx - Move to arch/powerpc/crypto

David Wronek (1):
dt-bindings: crypto: ice: Document SC7180 inline crypto engine

Eric Biggers (2):
crypto: ahash - unexport crypto_hash_alg_has_setkey()
crypto: remove CONFIG_CRYPTO_STATS

Erick Archer (2):
crypto: sun8i-ce - Use kcalloc() instead of kzalloc()
crypto: qat - use kcalloc_node() instead of kzalloc_node()

Furong Zhou (3):
crypto: qat - add fatal error notify method
crypto: qat - disable arbitration before reset
crypto: qat - limit heartbeat notifications

Giovanni Cabiddu (1):
Documentation: qat: fix auto_reset section

Herbert Xu (2):
crypto: dh - Make public key test FIPS-only
Revert "crypto: remove CONFIG_CRYPTO_STATS"

Joachim Vandersmissen (2):
crypto: testmgr - remove unused xts4096 and xts512 algorithms from testmgr.c
crypto: rsa - restrict plaintext/ciphertext values more

Kilian Zinnecker (1):
crypto: rockchip - fix to check return value

Li RongQing (1):
crypto: virtio - remove duplicate check if queue is broken

Luca Weiss (1):
dt-bindings: qcom-qce: Add compatible for SM6350

Lukas Bulwahn (1):
MAINTAINERS: adjust file entries after crypto vmx file movement

Mario Limonciello (2):
crypto: ccp - Avoid discarding errors in psp_send_platform_access_msg()
crypto: ccp - Update return values for some unit tests

Markus Elfring (1):
crypto: virtio - Less function calls in __virtio_crypto_akcipher_do_req() after error detection

Martin Kaiser (1):
hwrng: hisi - use dev_err_probe

Minjie Du (1):
crypto: iaa - Remove unnecessary debugfs_create_dir() error check in iaa_crypto_debugfs_init()

Mun Chun Yep (4):
crypto: qat - update PFVF protocol for recovery
crypto: qat - re-enable sriov after pf reset
crypto: qat - add fatal error notification
crypto: qat - improve aer error reset handling

Qi Tao (3):
crypto: hisilicon/sec2 - updates the sec DFX function register
crypto: hisilicon/sec2 - modify nested macro call
crypto: hisilicon/sec2 - fix some cleanup issues

Quanyang Wang (1):
crypto: xilinx - call finalize with bh disabled

Randy Dunlap (1):
crypto: jitter - fix CRYPTO_JITTERENTROPY help text

Tom Zanussi (3):
crypto: iaa - Remove header table code
crypto: iaa - Fix async_disable descriptor leak
crypto: iaa - Fix comp/decomp delay statistics

Tudor Ambarus (1):
MAINTAINERS: Remove T Ambarus from few mchp entries

Varshini Rajendran (4):
dt-bindings: crypto: add sam9x7 in Atmel AES
dt-bindings: crypto: add sam9x7 in Atmel SHA
dt-bindings: crypto: add sam9x7 in Atmel TDES
dt-bindings: rng: atmel,at91-trng: add sam9x7 TRNG

Vladis Dronov (1):
crypto: tcrypt - add ffdhe2048(dh) test

Weili Qian (5):
crypto: hisilicon/qm - support get device state
crypto: hisilicon/qm - dump important registers values before resetting
crypto: hisilicon/qm - add stop function by hardware
crypto: hisilicon/qm - obtain stop queue status
crypto: hisilicon/qm - change function type to void

Wenkai Lin (2):
crypto: hisilicon - Fix smp_processor_id() warnings
crypto: hisilicon/sec - remove unused parameter

Documentation/ABI/testing/debugfs-driver-qat | 26 ++
Documentation/ABI/testing/debugfs-hisi-hpre | 22 ++
Documentation/ABI/testing/debugfs-hisi-sec | 22 ++
Documentation/ABI/testing/debugfs-hisi-zip | 22 ++
Documentation/ABI/testing/sysfs-driver-qat | 20 ++
.../bindings/crypto/atmel,at91sam9g46-aes.yaml | 6 +-
.../bindings/crypto/atmel,at91sam9g46-sha.yaml | 6 +-
.../bindings/crypto/atmel,at91sam9g46-tdes.yaml | 6 +-
.../bindings/crypto/qcom,inline-crypto-engine.yaml | 1 +
.../devicetree/bindings/crypto/qcom-qce.yaml | 1 +
.../devicetree/bindings/rng/atmel,at91-trng.yaml | 4 +
MAINTAINERS | 25 +-
arch/arm/crypto/sha256_glue.c | 13 +-
arch/arm/crypto/sha512-glue.c | 12 +-
arch/arm64/crypto/Kconfig | 1 +
arch/arm64/crypto/aes-ce-ccm-core.S | 265 ++++++++-------------
arch/arm64/crypto/aes-ce-ccm-glue.c | 154 ++++++++----
arch/arm64/crypto/aes-glue.c | 1 +
arch/powerpc/crypto/Kconfig | 20 ++
arch/powerpc/crypto/Makefile | 20 +-
{drivers/crypto/vmx => arch/powerpc/crypto}/aes.c | 0
.../crypto/vmx => arch/powerpc/crypto}/aes_cbc.c | 0
.../crypto/vmx => arch/powerpc/crypto}/aes_ctr.c | 0
.../crypto/vmx => arch/powerpc/crypto}/aes_xts.c | 0
.../crypto/vmx => arch/powerpc/crypto}/aesp8-ppc.h | 0
.../vmx => arch/powerpc/crypto}/aesp8-ppc.pl | 0
.../crypto/vmx => arch/powerpc/crypto}/ghash.c | 0
.../vmx => arch/powerpc/crypto}/ghashp8-ppc.pl | 0
{drivers/crypto/vmx => arch/powerpc/crypto}/vmx.c | 0
crypto/Kconfig | 5 +-
crypto/ahash.c | 21 +-
crypto/asymmetric_keys/verify_pefile.c | 4 +-
crypto/dh.c | 63 ++---
crypto/pcbc.c | 4 +-
crypto/rsa.c | 36 ++-
crypto/scompress.c | 38 ++-
crypto/tcrypt.c | 3 +
crypto/testmgr.c | 8 -
drivers/char/hw_random/hisi-rng.c | 6 +-
drivers/crypto/Kconfig | 14 +-
drivers/crypto/Makefile | 2 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 2 +-
drivers/crypto/ccp/platform-access.c | 11 +-
drivers/crypto/ccp/psp-dev.c | 11 +-
drivers/crypto/hisilicon/debugfs.c | 58 +++++
drivers/crypto/hisilicon/hpre/hpre_main.c | 2 +-
drivers/crypto/hisilicon/qm.c | 184 +++++++++-----
drivers/crypto/hisilicon/sec2/sec_crypto.c | 33 +--
drivers/crypto/hisilicon/sec2/sec_main.c | 7 +-
drivers/crypto/hisilicon/zip/zip_crypto.c | 1 +
drivers/crypto/hisilicon/zip/zip_main.c | 2 +-
drivers/crypto/intel/iaa/iaa_crypto.h | 25 --
drivers/crypto/intel/iaa/iaa_crypto_comp_fixed.c | 1 -
drivers/crypto/intel/iaa/iaa_crypto_main.c | 122 ++--------
drivers/crypto/intel/iaa/iaa_crypto_stats.c | 30 ---
drivers/crypto/intel/iaa/iaa_crypto_stats.h | 8 +-
drivers/crypto/intel/qat/Kconfig | 14 ++
.../crypto/intel/qat/qat_420xx/adf_420xx_hw_data.c | 64 ++---
.../crypto/intel/qat/qat_4xxx/adf_4xxx_hw_data.c | 64 ++---
drivers/crypto/intel/qat/qat_common/Makefile | 2 +
.../intel/qat/qat_common/adf_accel_devices.h | 3 +
drivers/crypto/intel/qat/qat_common/adf_aer.c | 138 ++++++++++-
.../crypto/intel/qat/qat_common/adf_cfg_strings.h | 1 +
drivers/crypto/intel/qat/qat_common/adf_clock.c | 3 +
.../crypto/intel/qat/qat_common/adf_cnv_dbgfs.c | 1 -
.../crypto/intel/qat/qat_common/adf_common_drv.h | 10 +
drivers/crypto/intel/qat/qat_common/adf_dev_mgr.c | 4 +-
.../crypto/intel/qat/qat_common/adf_gen4_hw_data.c | 59 +++++
.../crypto/intel/qat/qat_common/adf_gen4_hw_data.h | 1 +
drivers/crypto/intel/qat/qat_common/adf_gen4_ras.c | 6 +-
.../crypto/intel/qat/qat_common/adf_heartbeat.c | 20 +-
.../crypto/intel/qat/qat_common/adf_heartbeat.h | 21 ++
.../intel/qat/qat_common/adf_heartbeat_dbgfs.c | 53 +++++
.../intel/qat/qat_common/adf_heartbeat_inject.c | 76 ++++++
.../crypto/intel/qat/qat_common/adf_hw_arbiter.c | 25 ++
drivers/crypto/intel/qat/qat_common/adf_init.c | 12 +
drivers/crypto/intel/qat/qat_common/adf_isr.c | 11 +-
drivers/crypto/intel/qat/qat_common/adf_pfvf_msg.h | 7 +-
.../crypto/intel/qat/qat_common/adf_pfvf_pf_msg.c | 64 ++++-
.../crypto/intel/qat/qat_common/adf_pfvf_pf_msg.h | 21 ++
.../intel/qat/qat_common/adf_pfvf_pf_proto.c | 8 +
.../intel/qat/qat_common/adf_pfvf_vf_proto.c | 6 +
drivers/crypto/intel/qat/qat_common/adf_rl.c | 20 +-
drivers/crypto/intel/qat/qat_common/adf_sriov.c | 38 ++-
drivers/crypto/intel/qat/qat_common/adf_sysfs.c | 37 +++
drivers/crypto/intel/qat/qat_common/adf_vf_isr.c | 2 -
.../crypto/intel/qat/qat_common/qat_comp_algs.c | 9 -
drivers/crypto/intel/qat/qat_common/qat_crypto.c | 4 +-
drivers/crypto/rockchip/rk3288_crypto.c | 5 +
.../crypto/virtio/virtio_crypto_akcipher_algs.c | 12 +-
drivers/crypto/virtio/virtio_crypto_core.c | 2 -
drivers/crypto/vmx/.gitignore | 3 -
drivers/crypto/vmx/Kconfig | 14 --
drivers/crypto/vmx/Makefile | 23 --
drivers/crypto/vmx/ppc-xlate.pl | 231 ------------------
drivers/crypto/xilinx/zynqmp-aes-gcm.c | 3 +
include/crypto/internal/hash.h | 2 -
include/crypto/public_key.h | 1 +
include/linux/hisi_acc_qm.h | 10 +-
tools/crypto/ccp/test_dbc.py | 8 +-
100 files changed, 1450 insertions(+), 1016 deletions(-)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/aes.c (100%)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/aes_cbc.c (100%)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/aes_ctr.c (100%)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/aes_xts.c (100%)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/aesp8-ppc.h (100%)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/aesp8-ppc.pl (100%)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/ghash.c (100%)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/ghashp8-ppc.pl (100%)
rename {drivers/crypto/vmx => arch/powerpc/crypto}/vmx.c (100%)
create mode 100644 drivers/crypto/intel/qat/qat_common/adf_heartbeat_inject.c
delete mode 100644 drivers/crypto/vmx/.gitignore
delete mode 100644 drivers/crypto/vmx/Kconfig
delete mode 100644 drivers/crypto/vmx/Makefile
delete mode 100644 drivers/crypto/vmx/ppc-xlate.pl

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

2024-03-15 21:59:06

by pr-tracker-bot

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

The pull request you sent on Fri, 15 Mar 2024 11:04:44 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git v6.9-p1

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

Thank you!

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

2024-03-16 04:39:12

by Herbert Xu

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

On Fri, Mar 15, 2024 at 02:51:47PM -0700, Linus Torvalds wrote:
> On Thu, 14 Mar 2024 at 20:04, Herbert Xu <[email protected]> wrote:
> >
> > Drivers:
> >
> > - Add queue stop/query debugfs support in hisilicon/qm.
>
> There's a lot more than that in there. Fairl ybig Intel qat updates
> from what I can see, for example.

Sorry, one line got chopped off while I was creating the signed
tag:

- Improve error recovery in qat.

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