LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [GIT PULL] Crypto Update for 5.9
@ 2020-08-03  4:40 Herbert Xu
  2020-08-03 17:55 ` pr-tracker-bot
                   ` (2 more replies)
  0 siblings, 3 replies; 42+ messages in thread
From: Herbert Xu @ 2020-08-03  4:40 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

API:

- Add support for allocating transforms on a specific NUMA Node.
- Introduce the flag CRYPTO_ALG_ALLOCATES_MEMORY for storage users.

Algorithms:

- Drop PMULL based ghash on arm64.
- Fixes for building with clang on x86.
- Add sha256 helper that does the digest in one go.
- Add SP800-56A rev 3 validation checks to dh.

Drivers:

- Permit users to specify NUMA node in hisilicon/zip.
- Add support for i.MX6 in imx-rngc.
- Add sa2ul crypto driver.
- Add BA431 hwrng driver.
- Add Ingenic JZ4780 and X1000 hwrng driver.
- Spread IRQ affinity in inside-secure and marvell/cesa.

There may be a conflict with the tip tree because of the removal
of arch/x86/include/asm/inst.h.  This file was previously only used
by the Crypto API and just as we stopped using it the tip tree
started using it.  So taking the version from the tip tree should
do the trick.

There is also a conflit witht the jc_docs tree due to unrelated
changes to the same file.  The resolution should be straightforward.

The following changes since commit e04ec0de61c1eb9693179093e83ab8ca68a30d08:

  padata: upgrade smp_mb__after_atomic to smp_mb in padata_do_serial (2020-06-18 17:09:54 +1000)

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 3cbfe80737c18ac6e635421ab676716a393d3074:

  crypto: sa2ul - Fix inconsistent IS_ERR and PTR_ERR (2020-07-31 18:25:29 +1000)

----------------------------------------------------------------
Alexander A. Klimov (2):
      hwrng: ks-sa - Replace HTTP links with HTTPS ones
      crypto: Replace HTTP links with HTTPS ones

Andrei Botila (1):
      crypto: caam/qi2 - add support for dpseci_reset()

Andrey Smirnov (1):
      crypto: caam - add clock info for VFxxx SoCs

Ard Biesheuvel (20):
      crypto: arm64/ghash - drop PMULL based shash
      crypto: arm64/gcm - disentangle ghash and gcm setkey() routines
      crypto: arm64/gcm - use variably sized key struct
      crypto: arm64/gcm - use inline helper to suppress indirect calls
      crypto: arm/ghash - use variably sized key struct
      crypto: amlogic-gxl - default to build as module
      crypto: amlogic-gxl - permit async skcipher as fallback
      crypto: omap-aes - permit asynchronous skcipher as fallback
      crypto: sun4i - permit asynchronous skcipher as fallback
      crypto: sun8i-ce - permit asynchronous skcipher as fallback
      crypto: sun8i-ss - permit asynchronous skcipher as fallback
      crypto: ccp - permit asynchronous skcipher as fallback
      crypto: chelsio - permit asynchronous skcipher as fallback
      crypto: mxs-dcp - permit asynchronous skcipher as fallback
      crypto: picoxcell - permit asynchronous skcipher as fallback
      crypto: qce - permit asynchronous skcipher as fallback
      crypto: sahara - permit asynchronous skcipher as fallback
      crypto: mediatek - use AES library for GCM key derivation
      crypto: x86/chacha-sse3 - use unaligned loads for state array
      crypto: xts - Replace memcpy() invocation with simple assignment

Arnd Bergmann (1):
      crypto: x86/crc32c - fix building with clang ias

Barry Song (2):
      crypto: api - permit users to specify numa node of acomp hardware
      crypto: hisilicon/zip - permit users to specify NUMA node

Christophe JAILLET (2):
      crypto: chelsio - Avoid some code duplication
      crypto: chelsio - Fix some pr_xxx messages

Colin Ian King (4):
      crypto: caam/qi2 - remove redundant assignment to ret
      crypto: ccp - remove redundant assignment to variable ret
      crypto: img-hash - remove redundant initialization of variable err
      hwrng: core - remove redundant initialization of variable ret

Dan Carpenter (1):
      crypto: hisilicon - allow smaller reads in debugfs

Dan Douglass (1):
      crypto: caam/jr - remove incorrect reference to caam_jr_register()

Daniel Jordan (6):
      padata: remove start function
      padata: remove stop function
      padata: inline single call of pd_setup_cpumasks()
      padata: remove effective cpumasks from the instance
      padata: fold padata_alloc_possible() into padata_alloc()
      padata: remove padata_parallel_queue

Dinghao Liu (1):
      crypto: sun8i-ce - Fix runtime PM imbalance in sun8i_ce_cipher_init

Eric Biggers (14):
      crc-t10dif: use fallback in initial state
      crc-t10dif: clean up some more things
      crypto: sparc - rename sha256 to sha256_alg
      crypto: lib/sha256 - add sha256() function
      efi: use sha256() instead of open coding
      mptcp: use sha256() instead of open coding
      ASoC: cros_ec_codec: use sha256() instead of open coding
      crypto: geniv - remove unneeded arguments from aead_geniv_alloc()
      crypto: seqiv - remove seqiv_create()
      crypto: algapi - use common mechanism for inheriting flags
      crypto: algapi - add NEED_FALLBACK to INHERITED_FLAGS
      crypto: algapi - introduce the flag CRYPTO_ALG_ALLOCATES_MEMORY
      crypto: xts - prefix function and struct names with "xts"
      crypto: lrw - prefix function and struct names with "lrw"

Fenghua Yu (1):
      crypto: hisilicon/qm - Change type of pasid to u32

Franck LENORMAND (1):
      crypto: caam - remove deadcode on 32-bit platforms

Geert Uytterhoeven (1):
      hwrng: ba431 - HW_RANDOM_BA431 should not default to y

Gilad Ben-Yossef (3):
      crypto: ccree - fix resource leak on error path
      crypto: ccree - adapt ccree essiv support to kcapi
      crypto: ccree - remove unused field

Giovanni Cabiddu (6):
      crypto: qat - convert to SPDX License Identifiers
      crypto: qat - remove packed attribute in etr structs
      crypto: qat - allow xts requests not multiple of block
      crypto: qat - validate xts key
      crypto: qat - remove unused field in skcipher ctx
      crypto: qat - fallback for xts with 192 bit keys

Gustavo A. R. Silva (1):
      crypto: sa2ul - Fix inconsistent IS_ERR and PTR_ERR

Herbert Xu (25):
      crypto: algif_aead - Only wake up when ctx->more is zero
      crc-t10dif: Fix potential crypto notify dead-lock
      crypto: caam - Fix argument type in handle_imx6_err005766
      crypto: octeontx - Fix sparse warnings
      crypto: omap-des - Fix sparse/compiler warnings
      crypto: omap-sham - Fix sparse/compiler warnings
      crypto: api - Prune inclusions in crypto.h
      crypto: cpt - Fix sparse warnings
      Merge branch 'ux500'
      hwrng: npcm - Fix W=1 unused variable warning
      hwrng: omap - Fix W=1 unused variable warning
      hwrng: hisi - Fix W=1 unused variable warning
      hwrng: bcm2835 - Fix W=1 unused variable warning
      hwrng: st - Fix W=1 unused variable warning
      hwrng: pic32 - Fix W=1 unused variable warning
      hwrng: octeon - Fix sparse warnings
      hwrng: ba431 - Add dependency on HAS_IOMEM
      crypto: af_alg - Fix regression on empty requests
      crypto: ccp - Fix sparse warnings
      crypto: caam - Remove broken arc4 support
      hwrng: ba431 - Include kernel.h
      crypto: lib/chacha20poly1305 - Add missing function declaration
      crypto: ccp - Silence strncpy warning
      crypto: omap-aes - Fix sparse and compiler warnings
      crypto: x86/curve25519 - Remove unused carry variables

Horia Geantă (8):
      crypto: caam/qi2 - fix return code in ahash_finup_no_ctx()
      dt-bindings: rng: add RNGB compatibles for i.MX6 SoCs
      hwrng: imx-rngc - enable driver for i.MX6
      crypto: caam/qi2 - fix error reporting for caam_hash_alloc
      crypto: caam/qi2 - create ahash shared descriptors only once
      crypto: caam - silence .setkey in case of bad key length
      crypto: caam - add more RNG hw error codes
      crypto: caam/qi2 - add module alias

Hui Tang (2):
      crypto: hisilicon/hpre - HPRE_OVERTIME_THRHLD can be written by debugfs
      crypto: hisilicon/hpre - disable FLR triggered by hardware

Jian Cai (1):
      crypto: aesni - add compatibility with IAS

John Allen (1):
      crypto: ccp - Fix use of merged scatterlists

Kai Ye (2):
      crypto: hisilicon/sec2 - clear SEC debug regs
      crypto:hisilicon/sec2 - update busy processing logic

Keerthy (4):
      dt-bindings: crypto: Add TI SA2UL crypto accelerator documentation
      crypto: sa2ul - Add crypto driver
      crypto: sa2ul - add sha1/sha256/sha512 support
      crypto: sa2ul - Add AEAD algorithm support

Lee Jones (1):
      crypto: ux500/hash - Add namespacing to hash_init()

Longfang Liu (4):
      crypto: hisilicon - update SEC driver module parameter
      crypto: hisilicon/sec2 - update SEC initialization and reset
      crypto: hisilicon/sec2 - update debugfs interface parameters
      crypto: hisilicon/sec2 - fix some coding styles

Marcelo Henrique Cerri (1):
      lib/mpi: Add mpi_sub_ui()

Meng Yu (4):
      crypto: hisilicon/hpre - Init the value of current_q of debugfs
      crypto: hisilicon/hpre - Modify the Macro definition and format
      crypto: hisilicon/hpre - Add a switch in sriov_configure
      crypto: hisilicon/hpre - update debugfs interface parameters

Mikulas Patocka (3):
      crypto: cpt - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
      crypto: hisilicon - don't sleep of CRYPTO_TFM_REQ_MAY_SLEEP was not specified
      crypto: drivers - set the flag CRYPTO_ALG_ALLOCATES_MEMORY

Olivier Sobrie (2):
      dt-bindings: rng: document Silex Insight BA431 hwrng
      hwrng: ba431 - add support for BA431 hwrng

Randy Dunlap (3):
      crypto: hash - drop duplicated word in a comment
      crypto: skcipher - drop duplicated word in kernel-doc
      crypto: testmgr - delete duplicated words

Rikard Falkeborn (4):
      hwrng: bcm2835 - Constify bcm2835_rng_devtype[]
      hwrng: nomadik - Constify nmk_rng_ids[]
      hwrng: virtio - Constify id_table[]
      crypto: virtio - constify features[] and id_table[]

Sedat Dilek (1):
      crypto: aesni - Fix build with LLVM_IAS=1

Sivaprakash Murugesan (3):
      crypto: qce - support zero length test vectors
      crypto: qce - re-initialize context on import
      crypto: qce/sha - Do not modify scatterlist passed along with request

Stephan Müller (4):
      crypto: ecdh - check validity of Z before export
      crypto: dh - check validity of Z before export
      crypto: dh - SP800-56A rev 3 local public key validation
      crypto: ecc - SP800-56A rev 3 local public key validation

Sven Auhagen (2):
      crypto: inside-secure - irq balance
      crypto: marvell/cesa - irq balance

Tero Kristo (1):
      crypto: sa2ul - add device links to child devices

Tom Lendacky (1):
      crypto: ccp - Update CCP driver maintainer information

Tom Rix (1):
      crypto: qat - fix double free in qat_uclo_create_batch_init_list

Uros Bizjak (2):
      crypto: x86 - Remove include/asm/inst.h
      crypto: x86 - Put back integer parts of include/asm/inst.h

Vaibhav Gupta (1):
      crypto: ccp - use generic power management

Wojciech Ziemba (5):
      crypto: qat - replace user types with kernel u types
      crypto: qat - replace user types with kernel ABI __u types
      crypto: qat - update fw init admin msg
      crypto: qat - send admin messages to set of AEs
      crypto: qat - update timeout logic in put admin msg

Zhangfei Gao (1):
      crypto: hisilicon - fix strncpy warning with strscpy

周琰杰 (Zhou Yanjie) (2):
      dt-bindings: RNG: Add Ingenic RNG bindings.
      crypto: ingenic - Add hardware RNG for Ingenic JZ4780 and X1000

 Documentation/core-api/padata.rst                                  |   18 +-
 Documentation/crypto/api-intro.txt                                 |    2 +-
 Documentation/crypto/userspace-if.rst                              |    4 +-
 Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml             |   76 +++++
 Documentation/devicetree/bindings/rng/imx-rng.txt                  |    3 +
 Documentation/devicetree/bindings/rng/ingenic,rng.yaml             |   36 +++
 Documentation/devicetree/bindings/rng/silex-insight,ba431-rng.yaml |   36 +++
 MAINTAINERS                                                        |    9 +
 arch/arm/crypto/crc32-ce-core.S                                    |    2 +-
 arch/arm/crypto/ghash-ce-glue.c                                    |   51 ++-
 arch/arm/crypto/sha1-armv4-large.S                                 |    2 +-
 arch/arm/crypto/sha256-armv4.pl                                    |    2 +-
 arch/arm/crypto/sha256-core.S_shipped                              |    2 +-
 arch/arm/crypto/sha512-armv4.pl                                    |    4 +-
 arch/arm/crypto/sha512-core.S_shipped                              |    4 +-
 arch/arm64/crypto/ghash-ce-glue.c                                  |  257 ++++++---------
 arch/sparc/crypto/sha256_glue.c                                    |   14 +-
 arch/x86/crypto/aes_ctrby8_avx-x86_64.S                            |   15 +-
 arch/x86/crypto/aesni-intel_asm.S                                  |  739 +++++++++++++++++++++---------------------
 arch/x86/crypto/aesni-intel_avx-x86_64.S                           |    1 -
 arch/x86/crypto/chacha-ssse3-x86_64.S                              |   16 +-
 arch/x86/crypto/chacha_glue.c                                      |   17 +-
 arch/x86/crypto/crc32-pclmul_asm.S                                 |   47 ++-
 arch/x86/crypto/crc32c-pcl-intel-asm_64.S                          |    7 +-
 arch/x86/crypto/curve25519-x86_64.c                                |    6 +-
 arch/x86/crypto/ghash-clmulni-intel_asm.S                          |   17 +-
 arch/x86/include/asm/inst.h                                        |  163 ----------
 crypto/Kconfig                                                     |   46 +--
 crypto/acompress.c                                                 |    8 +
 crypto/adiantum.c                                                  |   14 +-
 crypto/af_alg.c                                                    |   11 +-
 crypto/algapi.c                                                    |   21 +-
 crypto/algif_aead.c                                                |    4 +-
 crypto/algif_skcipher.c                                            |    4 +-
 crypto/api.c                                                       |   24 +-
 crypto/authenc.c                                                   |   14 +-
 crypto/authencesn.c                                                |   14 +-
 crypto/blake2b_generic.c                                           |    2 +-
 crypto/camellia_generic.c                                          |    2 +-
 crypto/ccm.c                                                       |   33 +-
 crypto/chacha20poly1305.c                                          |   14 +-
 crypto/cmac.c                                                      |    5 +-
 crypto/cryptd.c                                                    |   59 ++--
 crypto/ctr.c                                                       |   17 +-
 crypto/cts.c                                                       |   13 +-
 crypto/dh.c                                                        |   38 +++
 crypto/ecc.c                                                       |   44 ++-
 crypto/ecc.h                                                       |   14 +
 crypto/echainiv.c                                                  |    2 +-
 crypto/essiv.c                                                     |   11 +-
 crypto/gcm.c                                                       |   40 +--
 crypto/geniv.c                                                     |   19 +-
 crypto/hmac.c                                                      |    5 +-
 crypto/internal.h                                                  |   23 +-
 crypto/jitterentropy.c                                             |    4 +-
 crypto/lrw.c                                                       |  134 ++++----
 crypto/pcrypt.c                                                    |   31 +-
 crypto/rsa-pkcs1pad.c                                              |   13 +-
 crypto/salsa20_generic.c                                           |    4 +-
 crypto/seqiv.c                                                     |   18 +-
 crypto/sha3_generic.c                                              |    2 +-
 crypto/simd.c                                                      |    6 +-
 crypto/skcipher.c                                                  |   13 +-
 crypto/testmgr.h                                                   |   10 +-
 crypto/vmac.c                                                      |    5 +-
 crypto/xcbc.c                                                      |    5 +-
 crypto/xts.c                                                       |  154 +++++----
 drivers/char/hw_random/Kconfig                                     |   27 +-
 drivers/char/hw_random/Makefile                                    |    2 +
 drivers/char/hw_random/ba431-rng.c                                 |  235 ++++++++++++++
 drivers/char/hw_random/bcm2835-rng.c                               |    5 +-
 drivers/char/hw_random/core.c                                      |    2 +-
 drivers/char/hw_random/hisi-rng.c                                  |    2 +-
 drivers/char/hw_random/ingenic-rng.c                               |  154 +++++++++
 drivers/char/hw_random/ks-sa-rng.c                                 |    2 +-
 drivers/char/hw_random/nomadik-rng.c                               |    2 +-
 drivers/char/hw_random/npcm-rng.c                                  |    2 +-
 drivers/char/hw_random/octeon-rng.c                                |    6 +-
 drivers/char/hw_random/omap-rng.c                                  |   11 +-
 drivers/char/hw_random/pic32-rng.c                                 |    2 +-
 drivers/char/hw_random/st-rng.c                                    |    3 +-
 drivers/char/hw_random/virtio-rng.c                                |    2 +-
 drivers/crypto/Kconfig                                             |   19 +-
 drivers/crypto/Makefile                                            |    1 +
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c                |   46 +--
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h                       |    3 +-
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c                |   42 +--
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c                  |   12 +-
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h                       |    8 +-
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c                |   39 +--
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c                  |   12 +-
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h                       |   26 +-
 drivers/crypto/amlogic/Kconfig                                     |    2 +-
 drivers/crypto/amlogic/amlogic-gxl-cipher.c                        |   27 +-
 drivers/crypto/amlogic/amlogic-gxl-core.c                          |    6 +-
 drivers/crypto/amlogic/amlogic-gxl.h                               |    3 +-
 drivers/crypto/axis/artpec6_crypto.c                               |   20 +-
 drivers/crypto/bcm/cipher.c                                        |   72 +++--
 drivers/crypto/caam/caamalg.c                                      |   37 +--
 drivers/crypto/caam/caamalg_qi.c                                   |    8 +-
 drivers/crypto/caam/caamalg_qi2.c                                  |   42 ++-
 drivers/crypto/caam/caamhash.c                                     |    2 +-
 drivers/crypto/caam/compat.h                                       |    1 -
 drivers/crypto/caam/ctrl.c                                         |   12 +-
 drivers/crypto/caam/dpseci.c                                       |   18 ++
 drivers/crypto/caam/dpseci.h                                       |    2 +
 drivers/crypto/caam/dpseci_cmd.h                                   |    1 +
 drivers/crypto/caam/error.c                                        |    3 +
 drivers/crypto/caam/jr.c                                           |    3 +-
 drivers/crypto/caam/regs.h                                         |   11 +-
 drivers/crypto/cavium/cpt/cptvf_algs.c                             |   28 +-
 drivers/crypto/cavium/cpt/cptvf_reqmanager.c                       |   24 +-
 drivers/crypto/cavium/cpt/request_manager.h                        |   26 +-
 drivers/crypto/cavium/nitrox/nitrox_aead.c                         |    4 +-
 drivers/crypto/cavium/nitrox/nitrox_skcipher.c                     |   16 +-
 drivers/crypto/ccp/ccp-crypto-aes-cmac.c                           |    1 +
 drivers/crypto/ccp/ccp-crypto-aes-galois.c                         |    1 +
 drivers/crypto/ccp/ccp-crypto-aes-xts.c                            |   34 +-
 drivers/crypto/ccp/ccp-crypto-aes.c                                |    2 +
 drivers/crypto/ccp/ccp-crypto-des3.c                               |    1 +
 drivers/crypto/ccp/ccp-crypto-sha.c                                |    4 +-
 drivers/crypto/ccp/ccp-crypto.h                                    |    4 +-
 drivers/crypto/ccp/ccp-dev-v5.c                                    |    8 +-
 drivers/crypto/ccp/ccp-dev.c                                       |    4 +-
 drivers/crypto/ccp/ccp-dev.h                                       |   13 +-
 drivers/crypto/ccp/ccp-ops.c                                       |   43 ++-
 drivers/crypto/ccp/sp-dev.c                                        |    6 +-
 drivers/crypto/ccp/sp-dev.h                                        |    6 +-
 drivers/crypto/ccp/sp-pci.c                                        |   17 +-
 drivers/crypto/ccp/sp-platform.c                                   |    2 +-
 drivers/crypto/ccree/cc_cipher.c                                   |  149 ++++++---
 drivers/crypto/chelsio/chcr_algo.c                                 |   87 +++--
 drivers/crypto/chelsio/chcr_crypto.h                               |    3 +-
 drivers/crypto/hisilicon/hpre/hpre_main.c                          |  111 ++++---
 drivers/crypto/hisilicon/qm.c                                      |   43 +--
 drivers/crypto/hisilicon/qm.h                                      |    1 +
 drivers/crypto/hisilicon/sec/sec_algs.c                            |   58 ++--
 drivers/crypto/hisilicon/sec2/sec.h                                |    4 +
 drivers/crypto/hisilicon/sec2/sec_crypto.c                         |   95 ++++--
 drivers/crypto/hisilicon/sec2/sec_main.c                           |  132 ++++----
 drivers/crypto/hisilicon/zip/zip.h                                 |    2 +-
 drivers/crypto/hisilicon/zip/zip_crypto.c                          |    6 +-
 drivers/crypto/hisilicon/zip/zip_main.c                            |    5 +-
 drivers/crypto/img-hash.c                                          |    2 +-
 drivers/crypto/inside-secure/safexcel.c                            |   13 +-
 drivers/crypto/inside-secure/safexcel.h                            |    3 +
 drivers/crypto/inside-secure/safexcel_cipher.c                     |   47 +++
 drivers/crypto/inside-secure/safexcel_hash.c                       |   18 ++
 drivers/crypto/ixp4xx_crypto.c                                     |    6 +-
 drivers/crypto/marvell/cesa/cesa.c                                 |   11 +-
 drivers/crypto/marvell/cesa/cesa.h                                 |    1 +
 drivers/crypto/marvell/cesa/cipher.c                               |   18 +-
 drivers/crypto/marvell/cesa/hash.c                                 |    6 +
 drivers/crypto/marvell/octeontx/otx_cptpf_ucode.c                  |    8 +-
 drivers/crypto/marvell/octeontx/otx_cptpf_ucode.h                  |    2 +-
 drivers/crypto/marvell/octeontx/otx_cptvf_algs.c                   |   51 ++-
 drivers/crypto/marvell/octeontx/otx_cptvf_algs.h                   |    6 +-
 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.c                 |    9 +-
 drivers/crypto/marvell/octeontx/otx_cptvf_reqmgr.h                 |   24 +-
 drivers/crypto/mediatek/mtk-aes.c                                  |   63 +---
 drivers/crypto/mxs-dcp.c                                           |   33 +-
 drivers/crypto/n2_core.c                                           |    3 +-
 drivers/crypto/omap-aes.c                                          |   41 ++-
 drivers/crypto/omap-aes.h                                          |    3 +-
 drivers/crypto/omap-des.c                                          |    6 +-
 drivers/crypto/omap-sham.c                                         |   18 +-
 drivers/crypto/picoxcell_crypto.c                                  |   55 ++--
 drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c                   |   48 +--
 drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.h                   |   48 +--
 drivers/crypto/qat/qat_c3xxx/adf_drv.c                             |   48 +--
 drivers/crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.c               |   48 +--
 drivers/crypto/qat/qat_c3xxxvf/adf_c3xxxvf_hw_data.h               |   48 +--
 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c                           |   48 +--
 drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c                     |   48 +--
 drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.h                     |   48 +--
 drivers/crypto/qat/qat_c62x/adf_drv.c                              |   48 +--
 drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.c                 |   48 +--
 drivers/crypto/qat/qat_c62xvf/adf_c62xvf_hw_data.h                 |   48 +--
 drivers/crypto/qat/qat_c62xvf/adf_drv.c                            |   48 +--
 drivers/crypto/qat/qat_common/adf_accel_devices.h                  |  102 ++----
 drivers/crypto/qat/qat_common/adf_accel_engine.c                   |   52 +--
 drivers/crypto/qat/qat_common/adf_admin.c                          |  144 ++++-----
 drivers/crypto/qat/qat_common/adf_aer.c                            |   50 +--
 drivers/crypto/qat/qat_common/adf_cfg.c                            |   48 +--
 drivers/crypto/qat/qat_common/adf_cfg.h                            |   48 +--
 drivers/crypto/qat/qat_common/adf_cfg_common.h                     |   72 +----
 drivers/crypto/qat/qat_common/adf_cfg_strings.h                    |   48 +--
 drivers/crypto/qat/qat_common/adf_cfg_user.h                       |   58 +---
 drivers/crypto/qat/qat_common/adf_common_drv.h                     |   60 +---
 drivers/crypto/qat/qat_common/adf_ctl_drv.c                        |   52 +--
 drivers/crypto/qat/qat_common/adf_dev_mgr.c                        |   56 +---
 drivers/crypto/qat/qat_common/adf_hw_arbiter.c                     |   48 +--
 drivers/crypto/qat/qat_common/adf_init.c                           |   48 +--
 drivers/crypto/qat/qat_common/adf_isr.c                            |   48 +--
 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c                      |   49 +--
 drivers/crypto/qat/qat_common/adf_pf2vf_msg.h                      |   48 +--
 drivers/crypto/qat/qat_common/adf_sriov.c                          |   48 +--
 drivers/crypto/qat/qat_common/adf_transport.c                      |  110 ++-----
 drivers/crypto/qat/qat_common/adf_transport.h                      |   52 +--
 drivers/crypto/qat/qat_common/adf_transport_access_macros.h        |   54 +---
 drivers/crypto/qat/qat_common/adf_transport_debug.c                |   48 +--
 drivers/crypto/qat/qat_common/adf_transport_internal.h             |   75 +----
 drivers/crypto/qat/qat_common/adf_vf2pf_msg.c                      |   48 +--
 drivers/crypto/qat/qat_common/adf_vf_isr.c                         |   48 +--
 drivers/crypto/qat/qat_common/icp_qat_fw.h                         |  106 ++----
 drivers/crypto/qat/qat_common/icp_qat_fw_init_admin.h              |  145 ++++-----
 drivers/crypto/qat/qat_common/icp_qat_fw_la.h                      |  206 +++++-------
 drivers/crypto/qat/qat_common/icp_qat_fw_loader_handle.h           |   48 +--
 drivers/crypto/qat/qat_common/icp_qat_fw_pke.h                     |  100 ++----
 drivers/crypto/qat/qat_common/icp_qat_hal.h                        |   48 +--
 drivers/crypto/qat/qat_common/icp_qat_hw.h                         |   64 +---
 drivers/crypto/qat/qat_common/icp_qat_uclo.h                       |   54 +---
 drivers/crypto/qat/qat_common/qat_algs.c                           |  211 +++++++-----
 drivers/crypto/qat/qat_common/qat_asym_algs.c                      |   61 +---
 drivers/crypto/qat/qat_common/qat_crypto.c                         |   48 +--
 drivers/crypto/qat/qat_common/qat_crypto.h                         |   48 +--
 drivers/crypto/qat/qat_common/qat_hal.c                            |   88 ++---
 drivers/crypto/qat/qat_common/qat_uclo.c                           |   77 ++---
 drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c             |   74 +----
 drivers/crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h             |   48 +--
 drivers/crypto/qat/qat_dh895xcc/adf_drv.c                          |   48 +--
 drivers/crypto/qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.c         |   48 +--
 drivers/crypto/qat/qat_dh895xccvf/adf_dh895xccvf_hw_data.h         |   48 +--
 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c                        |   48 +--
 drivers/crypto/qce/cipher.h                                        |    3 +-
 drivers/crypto/qce/common.h                                        |    2 +
 drivers/crypto/qce/sha.c                                           |   36 ++-
 drivers/crypto/qce/skcipher.c                                      |   43 +--
 drivers/crypto/sa2ul.c                                             | 2420 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 drivers/crypto/sa2ul.h                                             |  403 +++++++++++++++++++++++
 drivers/crypto/sahara.c                                            |   96 +++---
 drivers/crypto/talitos.c                                           |  117 ++++---
 drivers/crypto/ux500/hash/hash_core.c                              |   18 +-
 drivers/crypto/virtio/virtio_crypto_algs.c                         |    3 +-
 drivers/crypto/virtio/virtio_crypto_core.c                         |    4 +-
 drivers/crypto/xilinx/zynqmp-aes-gcm.c                             |    1 +
 drivers/firmware/efi/embedded-firmware.c                           |    9 +-
 include/crypto/acompress.h                                         |   18 ++
 include/crypto/algapi.h                                            |   25 +-
 include/crypto/chacha.h                                            |    4 -
 include/crypto/chacha20poly1305.h                                  |    2 +
 include/crypto/hash.h                                              |    2 +-
 include/crypto/if_alg.h                                            |    4 +-
 include/crypto/internal/geniv.h                                    |    2 +-
 include/crypto/sha.h                                               |    1 +
 include/crypto/skcipher.h                                          |    2 +-
 include/linux/crypto.h                                             |   41 ++-
 include/linux/mpi.h                                                |    3 +
 include/linux/padata.h                                             |   21 +-
 kernel/padata.c                                                    |  177 +++-------
 lib/crc-t10dif.c                                                   |   75 +++--
 lib/crypto/chacha20poly1305.c                                      |    2 -
 lib/crypto/sha256.c                                                |   10 +
 lib/mpi/Makefile                                                   |    1 +
 lib/mpi/mpi-sub-ui.c                                               |   78 +++++
 net/mptcp/crypto.c                                                 |   15 +-
 sound/soc/codecs/cros_ec_codec.c                                   |   27 +-
 257 files changed, 6648 insertions(+), 5497 deletions(-)
 create mode 100644 Documentation/devicetree/bindings/crypto/ti,sa2ul.yaml
 create mode 100644 Documentation/devicetree/bindings/rng/ingenic,rng.yaml
 create mode 100644 Documentation/devicetree/bindings/rng/silex-insight,ba431-rng.yaml
 create mode 100644 drivers/char/hw_random/ba431-rng.c
 create mode 100644 drivers/char/hw_random/ingenic-rng.c
 create mode 100644 drivers/crypto/sa2ul.c
 create mode 100644 drivers/crypto/sa2ul.h
 create mode 100644 lib/mpi/mpi-sub-ui.c

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Update for 5.9
  2020-08-03  4:40 [GIT PULL] Crypto Update for 5.9 Herbert Xu
@ 2020-08-03 17:55 ` pr-tracker-bot
  2020-08-30 22:33 ` [GIT PULL] Crypto Fixes " Herbert Xu
  2020-10-12  3:32 ` [GIT PULL] Crypto Update for 5.10 Herbert Xu
  2 siblings, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2020-08-03 17:55 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Mon, 3 Aug 2020 14:40:24 +1000:

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

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.9
  2020-08-03  4:40 [GIT PULL] Crypto Update for 5.9 Herbert Xu
  2020-08-03 17:55 ` pr-tracker-bot
@ 2020-08-30 22:33 ` Herbert Xu
  2020-08-30 23:02   ` pr-tracker-bot
                     ` (2 more replies)
  2020-10-12  3:32 ` [GIT PULL] Crypto Update for 5.10 Herbert Xu
  2 siblings, 3 replies; 42+ messages in thread
From: Herbert Xu @ 2020-08-30 22:33 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes the following issues:

- Regression in af_alg that affects iwd.
- Restore polling delay in qat.
- Double free in ingenic on error path.
- Potential build failure in sa2ul due to missing Kconfig dependency.

The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

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

are available in the Git repository at:

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

for you to fetch changes up to c195d66a8a75c60515819b101975f38b7ec6577f:

  crypto: af_alg - Work around empty control messages without MSG_MORE (2020-08-27 23:20:36 +1000)

----------------------------------------------------------------
Giovanni Cabiddu (1):
      crypto: qat - add delay before polling mailbox

Herbert Xu (1):
      crypto: af_alg - Work around empty control messages without MSG_MORE

Randy Dunlap (1):
      crypto: sa2ul - add Kconfig selects to fix build error

Wei Yongjun (1):
      crypto: ingenic - Drop kfree for memory allocated with devm_kzalloc

 crypto/af_alg.c                           | 13 ++++++++++---
 drivers/char/hw_random/ingenic-rng.c      |  9 ++-------
 drivers/crypto/Kconfig                    |  3 +++
 drivers/crypto/qat/qat_common/adf_admin.c |  7 ++++---
 4 files changed, 19 insertions(+), 13 deletions(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.9
  2020-08-30 22:33 ` [GIT PULL] Crypto Fixes " Herbert Xu
@ 2020-08-30 23:02   ` pr-tracker-bot
  2020-09-10  0:34   ` Herbert Xu
  2020-10-26  1:11   ` [GIT PULL] Crypto Fixes for 5.10 Herbert Xu
  2 siblings, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2020-08-30 23:02 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Mon, 31 Aug 2020 08:33:04 +1000:

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

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.9
  2020-08-30 22:33 ` [GIT PULL] Crypto Fixes " Herbert Xu
  2020-08-30 23:02   ` pr-tracker-bot
@ 2020-09-10  0:34   ` Herbert Xu
  2020-09-10  2:48     ` pr-tracker-bot
  2020-10-26  1:11   ` [GIT PULL] Crypto Fixes for 5.10 Herbert Xu
  2 siblings, 1 reply; 42+ messages in thread
From: Herbert Xu @ 2020-09-10  0:34 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes a regression in padata.

The following changes since commit c195d66a8a75c60515819b101975f38b7ec6577f:

  crypto: af_alg - Work around empty control messages without MSG_MORE (2020-08-27 23:20:36 +1000)

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 1b0df11fde0f14a269a181b3b7f5122415bc5ed7:

  padata: fix possible padata_works_lock deadlock (2020-09-04 17:51:55 +1000)

----------------------------------------------------------------
Daniel Jordan (1):
      padata: fix possible padata_works_lock deadlock

 kernel/padata.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.9
  2020-09-10  0:34   ` Herbert Xu
@ 2020-09-10  2:48     ` pr-tracker-bot
  0 siblings, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2020-09-10  2:48 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Thu, 10 Sep 2020 10:34:23 +1000:

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

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Update for 5.10
  2020-08-03  4:40 [GIT PULL] Crypto Update for 5.9 Herbert Xu
  2020-08-03 17:55 ` pr-tracker-bot
  2020-08-30 22:33 ` [GIT PULL] Crypto Fixes " Herbert Xu
@ 2020-10-12  3:32 ` Herbert Xu
  2020-10-13 16:24   ` pr-tracker-bot
  2020-12-14  5:55   ` [GIT PULL] Crypto Update for 5.11 Herbert Xu
  2 siblings, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2020-10-12  3:32 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

API:

- Allow DRBG testing through user-space af_alg.
- Add tcrypt speed testing support for keyed hashes.
- Add type-safe init/exit hooks for ahash.

Algorithms:

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

Drivers:

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

The following changes since commit 9123e3a74ec7b934a4a099e98af6a61c2f80bbf5:

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

are available in the Git repository at:

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

for you to fetch changes up to 3093e7c16e12d729c325adb3c53dde7308cefbd8:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

dinghao.liu@zju.edu.cn (1):
      crypto: ccree - fix runtime PM imbalance on error

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

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

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Update for 5.10
  2020-10-12  3:32 ` [GIT PULL] Crypto Update for 5.10 Herbert Xu
@ 2020-10-13 16:24   ` pr-tracker-bot
  2020-12-14  5:55   ` [GIT PULL] Crypto Update for 5.11 Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2020-10-13 16:24 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

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

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

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

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.10
  2020-08-30 22:33 ` [GIT PULL] Crypto Fixes " Herbert Xu
  2020-08-30 23:02   ` pr-tracker-bot
  2020-09-10  0:34   ` Herbert Xu
@ 2020-10-26  1:11   ` Herbert Xu
  2020-10-26 17:52     ` pr-tracker-bot
  2020-12-27 11:32     ` [GIT PULL] Crypto Fixes for 5.11 Herbert Xu
  2 siblings, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2020-10-26  1:11 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes a regression in x86/poly1305.

The following changes since commit 3093e7c16e12d729c325adb3c53dde7308cefbd8:

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

are available in the Git repository at:

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

for you to fetch changes up to c3a98c3ad5c0dc60a1ac66bf91147a3f39cac96b:

  crypto: x86/poly1305 - add back a needed assignment (2020-10-24 09:38:32 +1100)

----------------------------------------------------------------
Eric Biggers (1):
      crypto: x86/poly1305 - add back a needed assignment

 arch/x86/crypto/poly1305_glue.c | 1 +
 1 file changed, 1 insertion(+)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.10
  2020-10-26  1:11   ` [GIT PULL] Crypto Fixes for 5.10 Herbert Xu
@ 2020-10-26 17:52     ` pr-tracker-bot
  2020-12-27 11:32     ` [GIT PULL] Crypto Fixes for 5.11 Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2020-10-26 17:52 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Mon, 26 Oct 2020 12:11:59 +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/41ba50b0572e90ed3d24fe4def54567e9050bc47

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Update for 5.11
  2020-10-12  3:32 ` [GIT PULL] Crypto Update for 5.10 Herbert Xu
  2020-10-13 16:24   ` pr-tracker-bot
@ 2020-12-14  5:55   ` Herbert Xu
  2020-12-14 20:56     ` pr-tracker-bot
  2021-02-15  2:47     ` [GIT PULL] Crypto Update for 5.12 Herbert Xu
  1 sibling, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2020-12-14  5:55 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

API:

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

Algorithms:

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

Drivers:

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

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

The following changes since commit 3650b228f83adda7e5ee532e2b90429c03f7b9ec:

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

are available in the Git repository at:

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

for you to fetch changes up to 93cebeb1c21a65b92636aaa278a32fbc0415ec67:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Update for 5.11
  2020-12-14  5:55   ` [GIT PULL] Crypto Update for 5.11 Herbert Xu
@ 2020-12-14 20:56     ` pr-tracker-bot
  2021-02-15  2:47     ` [GIT PULL] Crypto Update for 5.12 Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2020-12-14 20:56 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Mon, 14 Dec 2020 16:55:16 +1100:

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

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

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.11
  2020-10-26  1:11   ` [GIT PULL] Crypto Fixes for 5.10 Herbert Xu
  2020-10-26 17:52     ` pr-tracker-bot
@ 2020-12-27 11:32     ` Herbert Xu
  2020-12-27 17:27       ` pr-tracker-bot
  2021-01-08  3:54       ` Herbert Xu
  1 sibling, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2020-12-27 11:32 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes a number of autobuild failures due to missing
Kconfig dependencies.

The following changes since commit 93cebeb1c21a65b92636aaa278a32fbc0415ec67:

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

are available in the Git repository at:

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

for you to fetch changes up to c0e583ab2016de8dedfb73934d4c4e8ff5bd896c:

  crypto: qat - add CRYPTO_AES to Kconfig dependencies (2020-12-23 18:45:23 +1100)

----------------------------------------------------------------
Daniele Alessandrelli (1):
      crypto: keembay - Add dependency on HAS_IOMEM

Geert Uytterhoeven (1):
      crypto: keembay - CRYPTO_DEV_KEEMBAY_OCS_AES_SM4 should depend on ARCH_KEEMBAY

Marco Chiappero (1):
      crypto: qat - add CRYPTO_AES to Kconfig dependencies

 drivers/crypto/keembay/Kconfig | 5 +++--
 drivers/crypto/qat/Kconfig     | 1 +
 2 files changed, 4 insertions(+), 2 deletions(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.11
  2020-12-27 11:32     ` [GIT PULL] Crypto Fixes for 5.11 Herbert Xu
@ 2020-12-27 17:27       ` pr-tracker-bot
  2021-01-08  3:54       ` Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2020-12-27 17:27 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Sun, 27 Dec 2020 22:32:21 +1100:

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

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

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.11
  2020-12-27 11:32     ` [GIT PULL] Crypto Fixes for 5.11 Herbert Xu
  2020-12-27 17:27       ` pr-tracker-bot
@ 2021-01-08  3:54       ` Herbert Xu
  2021-01-08 20:36         ` pr-tracker-bot
                           ` (2 more replies)
  1 sibling, 3 replies; 42+ messages in thread
From: Herbert Xu @ 2021-01-08  3:54 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes a functional bug in arm/chacha-neon as well as a
potential buffer overflow in ecdh.

The following changes since commit 5c8fe583cce542aa0b84adc939ce85293de36e5e:

  Linux 5.11-rc1 (2020-12-27 15:30:22 -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 0aa171e9b267ce7c52d3a3df7bc9c1fc0203dec5:

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

----------------------------------------------------------------
Ard Biesheuvel (2):
      crypto: arm/chacha-neon - add missing counter increment
      crypto: ecdh - avoid buffer overflow in ecdh_set_secret()

 arch/arm/crypto/chacha-glue.c | 1 +
 crypto/ecdh.c                 | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.11
  2021-01-08  3:54       ` Herbert Xu
@ 2021-01-08 20:36         ` pr-tracker-bot
  2021-01-18  5:13         ` Herbert Xu
  2021-07-08  3:09         ` [GIT PULL] Crypto Fixes for 5.14 Herbert Xu
  2 siblings, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-01-08 20:36 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Fri, 8 Jan 2021 14:54:50 +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/ea1c87c156d94dd78b4f5267ec40c403b2da7e14

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.11
  2021-01-08  3:54       ` Herbert Xu
  2021-01-08 20:36         ` pr-tracker-bot
@ 2021-01-18  5:13         ` Herbert Xu
  2021-01-18 21:16           ` pr-tracker-bot
  2021-01-25 22:36           ` Herbert Xu
  2021-07-08  3:09         ` [GIT PULL] Crypto Fixes for 5.14 Herbert Xu
  2 siblings, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2021-01-18  5:13 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes a Kconfig dependency issue with omap-sham and a
divide by zero in xor on some platforms.

The following changes since commit 0aa171e9b267ce7c52d3a3df7bc9c1fc0203dec5:

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

are available in the Git repository at:

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

for you to fetch changes up to 382811940303f7cd01d0f3dcdf432dfd89c5a98e:

  crypto: omap-sham - Fix link error without crypto-engine (2021-01-08 15:37:55 +1100)

----------------------------------------------------------------
Arnd Bergmann (1):
      crypto: omap-sham - Fix link error without crypto-engine

Kirill Tkhai (1):
      crypto: xor - Fix divide error in do_xor_speed()

 crypto/xor.c           | 2 ++
 drivers/crypto/Kconfig | 1 +
 2 files changed, 3 insertions(+)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.11
  2021-01-18  5:13         ` Herbert Xu
@ 2021-01-18 21:16           ` pr-tracker-bot
  2021-01-25 22:36           ` Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-01-18 21:16 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Mon, 18 Jan 2021 16:13:13 +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/fd3958eac387593d02e4d4287658ba04bcdb235a

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.11
  2021-01-18  5:13         ` Herbert Xu
  2021-01-18 21:16           ` pr-tracker-bot
@ 2021-01-25 22:36           ` Herbert Xu
  2021-01-26  0:01             ` pr-tracker-bot
  1 sibling, 1 reply; 42+ messages in thread
From: Herbert Xu @ 2021-01-25 22:36 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes a regression in the cesa driver.

The following changes since commit 382811940303f7cd01d0f3dcdf432dfd89c5a98e:

  crypto: omap-sham - Fix link error without crypto-engine (2021-01-08 15:37:55 +1100)

are available in the Git repository at:

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

for you to fetch changes up to 4f6543f28bb05433d87b6de6c21e9c14c35ecf33:

  crypto: marvel/cesa - Fix tdma descriptor on 64-bit (2021-01-22 14:57:31 +1100)

----------------------------------------------------------------
Herbert Xu (1):
      crypto: marvel/cesa - Fix tdma descriptor on 64-bit

 drivers/crypto/marvell/cesa/cesa.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.11
  2021-01-25 22:36           ` Herbert Xu
@ 2021-01-26  0:01             ` pr-tracker-bot
  0 siblings, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-01-26  0:01 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Tue, 26 Jan 2021 09:36: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/13391c60da3308ed9980de0168f74cce6c62ac1d

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Update for 5.12
  2020-12-14  5:55   ` [GIT PULL] Crypto Update for 5.11 Herbert Xu
  2020-12-14 20:56     ` pr-tracker-bot
@ 2021-02-15  2:47     ` Herbert Xu
  2021-02-22  1:28       ` pr-tracker-bot
  2021-04-26 12:32       ` [GIT PULL] Crypto Update for 5.13 Herbert Xu
  1 sibling, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2021-02-15  2:47 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

API:

- Restrict crypto_cipher to internal API users only.

Algorithms:

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

Drivers:

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

The following changes since commit 0aa171e9b267ce7c52d3a3df7bc9c1fc0203dec5:

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

are available in the Git repository at:

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

for you to fetch changes up to 0de9dc80625b0ca1cb9730c5ed1c5a8cab538369:

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Update for 5.12
  2021-02-15  2:47     ` [GIT PULL] Crypto Update for 5.12 Herbert Xu
@ 2021-02-22  1:28       ` pr-tracker-bot
  2021-04-26 12:32       ` [GIT PULL] Crypto Update for 5.13 Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-02-22  1:28 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

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

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

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

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Update for 5.13
  2021-02-15  2:47     ` [GIT PULL] Crypto Update for 5.12 Herbert Xu
  2021-02-22  1:28       ` pr-tracker-bot
@ 2021-04-26 12:32       ` Herbert Xu
  2021-04-26 15:59         ` pr-tracker-bot
  2021-06-28 11:00         ` [GIT PULL] Crypto Update for 5.14 Herbert Xu
  1 sibling, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2021-04-26 12:32 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

API:

- crypto_destroy_tfm now ignores errors as well as NULL pointers.

Algorithms:

- Add explicit curve IDs in ECDH algorithm names.
- Add NIST P384 curve parameters.
- Add ECDSA.

Drivers:

- Add support for Green Sardine in ccp.
- Add ecdh/curve25519 to hisilicon/hpre.
- Add support for AM64 in sa2ul.

The following changes since commit a38fd8748464831584a19438cbb3082b5a2dab15:

  Linux 5.12-rc2 (2021-03-05 17:33:41 -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 e3a606f2c544b231f6079c8c5fea451e772e1139:

  fsverity: relax build time dependency on CRYPTO_SHA256 (2021-04-22 17:31:32 +1000)

----------------------------------------------------------------
Aditya Srivastava (4):
      crypto: vmx - fix incorrect kernel-doc comment syntax in files
      crypto: amcc - fix incorrect kernel-doc comment syntax in files
      crypto: ux500 - fix incorrect kernel-doc comment syntax
      crypto: nx - fix incorrect kernel-doc comment syntax in files

Ard Biesheuvel (6):
      crypto: api - check for ERR pointers in crypto_destroy_tfm()
      crypto: arm/aes-scalar - switch to common rev_l/mov_l macros
      crypto: arm/chacha-scalar - switch to common rev_l macro
      crypto: arm64/aes-ce - deal with oversight in new CTR carry code
      fscrypt: relax Kconfig dependencies for crypto API algorithms
      fsverity: relax build time dependency on CRYPTO_SHA256

Arnd Bergmann (1):
      crypto: poly1305 - fix poly1305_core_setkey() declaration

Ayush Sawal (1):
      crypto: chelsio - Read rxchannel-id from firmware

Bhaskar Chowdhury (2):
      crypto: qat - fix spelling mistake: "messge" -> "message"
      crypto: inside-secure - Minor typo fix in the file safexcel.c

Christophe JAILLET (1):
      crypto: crc32-generic - Use SPDX-License-Identifier

Colin Ian King (3):
      crypto: sun8i-ss - Fix memory leak of object d when dma_iv fails to map
      crypto: sun8i-ss - Fix memory leak of pad
      crypto: sa2ul - Fix memory leak of rxd

Corentin Labbe (2):
      crypto: sun8i-ss - fix result memory leak on error path
      crypto: allwinner - add missing CRYPTO_ prefix

Devaraj Rangasamy (1):
      ccp: ccp - add support for Green Sardine

Eric Biggers (5):
      crypto: arm/blake2b - drop unnecessary return statement
      crypto: arm/blake2s - fix for big endian
      crypto: rng - fix crypto_rng_reset() refcounting when !CRYPTO_STATS
      random: initialize ChaCha20 constants with correct endianness
      random: remove dead code left over from blocking pool

Giovanni Cabiddu (1):
      crypto: qat - fix error path in adf_isr_resource_alloc()

Guobin Huang (2):
      crypto: geode - use DEFINE_SPINLOCK() for spinlock
      crypto: ixp4xx - use DEFINE_SPINLOCK() for spinlock

Hao Fang (1):
      crypto: hisilicon - use the correct HiSilicon copyright

Herbert Xu (3):
      crypto: serpent - Fix sparse byte order warnings
      crypto: aegis128 - Move simd prototypes into aegis.h
      Merge branch 'ecc'

Hui Tang (14):
      crypto: qat - fix unmap invalid dma address
      crypto: qat - fix use of 'dma_map_single'
      crypto: hisilicon/hpre - delete wrap of 'CONFIG_CRYPTO_DH'
      crypto: hisilicon/hpre - optimise 'hpre_algs_register' error path
      crypto: hisilicon - fix the check on dma address
      crypto: hisilicon/hpre - fix "hpre_ctx_init" resource leak
      crypto: hisilicon/hpre - fix Kconfig
      crypto: hisilicon/hpre - fix PASID setting on kunpeng 920
      crypto: hisilicon/hpre - fix a typo and delete redundant blank line
      crypto: hisilicon/hpre - delete redundant '\n'
      crypto: hisilicon/hpre - delete the rudundant space after return
      crypto: hisilicon/hpre - use the correct variable type
      crypto: hisilicon/hpre - add debug log
      crypto: hisilicon/hpre - delete redundant log and return in advance

Jia-Ju Bai (1):
      crypto: sun8i-ce - fix error return code in sun8i_ce_prng_generate()

Jiapeng Chong (2):
      crypto: ccp - A value assigned to a variable is never used
      crypto: chelsio - remove unused function

Kai Ye (11):
      crypto: testmgr - delete some redundant code
      crypto: rockchip - delete unneeded variable initialization
      crypto: hisilicon/sec - fixup checking the 3DES weak key
      crypto: hisilicon/qm - delete redundant code
      crypto: atmel - use the correct print format
      crypto: hisilicon/sec - use the correct print format
      crypto: hisilicon/sgl - add a comment for block size initialization
      crypto: hisilicon/sgl - delete unneeded variable initialization
      crypto: hisilicon/sgl - add some dfx logs
      crypto: hisilicon/sgl - fix the soft sg map to hardware sg
      crypto: hisilicon/sgl - fix the sg buf unmap

Krzysztof Kozlowski (4):
      crypto: s5p-sss - initialize APB clock after the AXI bus clock for SlimSSS
      crypto: s5p-sss - simplify getting of_device_id match data
      crypto: s5p-sss - remove unneeded local variable initialization
      crypto: s5p-sss - consistently use local 'dev' variable in probe()

Lee Jones (10):
      crypto: hisilicon/sec - Supply missing description for 'sec_queue_empty()'s 'queue' param
      crypto: bcm - Fix a whole host of kernel-doc misdemeanours
      crypto: chelsio - Fix some kernel-doc issues
      crypto: ux500/hash - Fix worthy kernel-doc headers and remove others
      crypto: keembay - Fix incorrectly named functions/structs
      crypto: atmel-ecc - Struct headers need to start with keyword 'struct'
      crypto: caam - Provide the name of the function and provide missing descriptions
      crypto: vmx - Source headers are not good kernel-doc candidates
      crypto: nx - Repair some kernel-doc problems
      crypto: nitrox - Demote non-compliant kernel-doc headers

Longfang Liu (5):
      crypto: hisilicon/sec - fixes a printing error
      crypto: hisilicon/sec - fixes some coding style
      crypto: hisilicon/sec - fixes some driver coding style
      crypto: hisilicon/sec - Fixes AES algorithm mode parameter problem
      crypto: hisilicon/sec - Fix a module parameter error

Lv Yunlong (1):
      crypto: qat - Fix a double free in adf_create_ring

Meng Yu (10):
      crypto: hisilicon/hpre - add version adapt to new algorithms
      crypto: hisilicon/hpre - add algorithm type
      crypto: ecdh - move curve_id of ECDH from the key to algorithm name
      crypto: ecc - expose ecc curves
      crypto: hisilicon/hpre - add 'ECDH' algorithm
      crypto: ecc - add curve25519 params and expose them
      crypto: hisilicon/hpre - add 'CURVE25519' algorithm
      crypto: ecc - Correct an error in the comments
      crypto: hisilicon/hpre - Add processing of src_data in 'CURVE25519'
      crypto: ecc - delete a useless function declaration

Milan Djurovic (3):
      crypto: jitterentropy - Put constants on the right side of the expression
      crypto: keywrap - Remove else after break statement
      crypto: fcrypt - Remove 'do while(0)' loop for single statement macro

Nathan Chancellor (1):
      crypto: arm/curve25519 - Move '.fpu' after '.arch'

Peter Ujfalusi (3):
      dt-bindings: crypto: ti,sa2ul: Add new compatible for AM64
      crypto: sa2ul - Support for per channel coherency
      crypto: sa2ul - Add support for AM64

Philipp Zabel (1):
      crypto: sun4i-ss - simplify optional reset handling

Randy Dunlap (2):
      crypto: doc - fix kernel-doc notation in chacha.c and af_alg.c
      crypto: camellia - drop duplicate "depends on CRYPTO"

Rijo Thomas (2):
      crypto: ccp - reduce tee command status polling interval from 5ms to 1ms
      crypto: ccp - fix command queuing to TEE ring buffer

Ruiqi Gong (1):
      crypto: hisilicon/hpre - fix a typo in hpre_crypto.c

Saulo Alessandre (4):
      crypto: ecc - Add NIST P384 curve parameters
      crypto: ecc - Add math to support fast NIST P384
      crypto: ecdsa - Register NIST P384 and extend test suite
      x509: Add OID for NIST P384 and extend parser for it

Shixin Liu (7):
      crypto: sun4i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
      crypto: sun8i-ss - Fix PM reference leak when pm_runtime_get_sync() fails
      crypto: sun8i-ce - Fix PM reference leak in sun8i_ce_probe()
      crypto: stm32/hash - Fix PM reference leak on stm32-hash.c
      crypto: stm32/cryp - Fix PM reference leak on stm32-cryp.c
      crypto: sa2ul - Fix PM reference leak in sa_ul_probe()
      crypto: omap-aes - Fix PM reference leak on omap-aes.c

Srujana Challa (1):
      crypto: octeontx2 - add support for OcteonTX2 98xx CPT block.

Stefan Berger (5):
      oid_registry: Add OIDs for ECDSA with SHA224/256/384/512
      crypto: ecdsa - Add support for ECDSA signature verification
      x509: Detect sm2 keys by their parameters OID
      x509: Add support for parsing x509 certs with ECDSA keys
      ima: Support EC keys for signature verification

Tang Bin (1):
      crypto: amlogic - Fix unnecessary check in meson_crypto_probe()

Tang Yizhou (1):
      crypto: ccp - Use DEFINE_SPINLOCK() for spinlock

Thara Gopinath (11):
      crypto: qce - Restore/save ahash state with custom struct in export/import
      crypto: qce - Hold back a block of data to be transferred as part of final
      crypto: qce - Return unsupported if key1 and key 2 are same for AES XTS algorithm
      crypto: qce - Return unsupported if any three keys are same for DES3 algorithms
      crypto: qce - Return error for zero length messages
      crypto: qce - Return error for non-blocksize data(ECB/CBC algorithms)
      crypto: qce - Set ivsize to 0 for ecb(aes)
      crypto: qce - Improve the conditions for requesting AES fallback cipher
      crypto: qce - Set data unit size to message length for AES XTS transformation
      crypto: qce - Remover src_tbl from qce_cipher_reqctx
      crypto: qce - Remove totallen and offset in qce_start

Tian Tao (13):
      hwrng: ba431 - Use device-managed registration
      hwrng: xiphera-trng - use devm_platform_ioremap_resource() to simplify
      hwrng: bcm2835 - remove redundant null check
      hwrng: omap - Fix included header from 'asm'
      hwrng: cctrng - Use device-managed registration API
      hwrng: pic32 - Use device-managed registration API
      crypto: cavium - remove unused including <linux/version.h>
      hwrng: cctrng - use devm_platform_ioremap_resource() to simplify
      hwrng: ba431 - use devm_platform_ioremap_resource() to simplify
      hwrng: intel - Fix included header from 'asm
      hwrng: omap - Use of_device_get_match_data() helper
      crypto: cavium/zip - remove unused including <linux/version.h>
      crypto: ccp - Make ccp_dev_suspend and ccp_dev_resume void functions

Tom Lendacky (1):
      crypto: ccp - Don't initialize SEV support without the SEV feature

Tong Zhang (2):
      crypto: qat - don't release uninitialized resources
      crypto: qat - ADF_STATUS_PF_RUNNING should be set after adf_dev_init

Vinay Kumar Yadav (1):
      crypto: chelsio/chcr - Remove useless MODULE_VERSION

Wan Jiabing (1):
      crypto: ux500/cryp - Remove duplicate argument

Wang Qing (1):
      hwrng: cctrng - delete redundant printing of return value

Wei Yongjun (2):
      crypto: keembay-ocs-hcu - Fix error return code in kmb_ocs_hcu_probe()
      crypto: keembay-ocs-aes - Fix error return code in kmb_ocs_aes_probe()

Weili Qian (10):
      crypto: hisilicon/qm - set the total number of queues
      crypto: hisilicon/qm - move 'CURRENT_QM' code to qm.c
      crypto: hisilicon/qm - set the number of queues for function
      crypto: hisilicon/qm - add queue isolation support for Kunpeng930
      crypto: hisilicon/qm - add stop queue by hardware
      crypto: hisilicon/trng - add version to adapt new algorithm
      crypto: hisilicon - dynamic configuration 'err_info'
      crypto: hisilicon - support new error types for ZIP
      crypto: hisilicon - add new error type for SEC
      crypto: hisilicon - enable new error types for QM

Wojciech Ziemba (1):
      crypto: qat - enable detection of accelerators hang

Xiang Chen (4):
      crypto: amlogic - Fix the parameter of dma_unmap_sg()
      crypto: cavium - Fix the parameter of dma_unmap_sg()
      crypto: ux500 - Fix the parameter of dma_unmap_sg()
      crypto: allwinner - Fix the parameter of dma_unmap_sg()

Yang Li (2):
      crypto: powepc/sha1 - remove unneeded semicolon
      crypto: nx - add missing call to of_node_put()

Yang Shen (4):
      crypto: hisilicon/zip - adjust functions location
      crypto: hisilicon/zip - add comments for 'hisi_zip_sqe'
      crypto: hisilicon/zip - initialize operations about 'sqe' in 'acomp_alg.init'
      crypto: hisilicon/zip - support new 'sqe' type in Kunpeng930

YueHaibing (5):
      crypto: atmel-tdes - Remove redundant dev_err call in atmel_tdes_probe()
      crypto: img-hash - Remove redundant dev_err call in img_hash_probe()
      crypto: ux500 - Remove redundant dev_err calls
      crypto: keembay - Remove redundant dev_err calls
      crypto: ccree - Remove redundant dev_err call in init_cc_resources()

Zihao Tang (1):
      hwrng: core - convert sysfs sprintf/snprintf family to sysfs_emit

Álvaro Fernández Rojas (3):
      dt-bindings: rng: bcm2835: add clock constraints
      dt-bindings: rng: bcm2835: document reset support
      hwrng: bcm2835 - add reset support

 .../devicetree/bindings/crypto/ti,sa2ul.yaml       |  24 +-
 .../devicetree/bindings/rng/brcm,bcm2835.yaml      |  21 +
 arch/arm/crypto/aes-cipher-core.S                  |  42 +-
 arch/arm/crypto/blake2b-neon-glue.c                |   4 +-
 arch/arm/crypto/blake2s-core.S                     |  21 +
 arch/arm/crypto/chacha-scalar-core.S               |  43 +-
 arch/arm/crypto/curve25519-core.S                  |   2 +-
 arch/arm/crypto/poly1305-glue.c                    |   2 +-
 arch/arm64/crypto/aes-modes.S                      |   1 +
 arch/arm64/crypto/poly1305-glue.c                  |   2 +-
 arch/mips/crypto/poly1305-glue.c                   |   2 +-
 arch/powerpc/crypto/sha1-spe-glue.c                |   2 +-
 arch/x86/crypto/poly1305_glue.c                    |   6 +-
 crypto/Kconfig                                     |  15 +-
 crypto/Makefile                                    |   6 +
 crypto/aegis.h                                     |  19 +
 crypto/aegis128-core.c                             |  15 -
 crypto/aegis128-neon.c                             |  10 +-
 crypto/af_alg.c                                    |  94 ++-
 crypto/api.c                                       |   2 +-
 crypto/asymmetric_keys/public_key.c                |   4 +-
 crypto/asymmetric_keys/x509_cert_parser.c          |  49 +-
 crypto/asymmetric_keys/x509_public_key.c           |   4 +-
 crypto/crc32_generic.c                             |  24 +-
 crypto/ecc.c                                       | 291 +++++--
 crypto/ecc.h                                       |  49 +-
 crypto/ecc_curve_defs.h                            |  49 ++
 crypto/ecdh.c                                      |  72 +-
 crypto/ecdh_helper.c                               |   4 +-
 crypto/ecdsa.c                                     | 376 +++++++++
 crypto/ecdsasignature.asn1                         |   4 +
 crypto/fcrypt.c                                    |   5 +-
 crypto/jitterentropy.c                             |   8 +-
 crypto/keywrap.c                                   |   4 +-
 crypto/rng.c                                       |  10 +-
 crypto/serpent_generic.c                           |  39 +-
 crypto/testmgr.c                                   |  42 +-
 crypto/testmgr.h                                   | 458 +++++++++-
 drivers/char/hw_random/ba431-rng.c                 |  16 +-
 drivers/char/hw_random/bcm2835-rng.c               |  27 +-
 drivers/char/hw_random/cctrng.c                    |  20 +-
 drivers/char/hw_random/core.c                      |   2 +-
 drivers/char/hw_random/intel-rng.c                 |   2 +-
 drivers/char/hw_random/omap-rng.c                  |  14 +-
 drivers/char/hw_random/pic32-rng.c                 |   3 +-
 drivers/char/hw_random/xiphera-trng.c              |   4 +-
 drivers/char/random.c                              |  21 +-
 drivers/crypto/allwinner/Kconfig                   |  14 +-
 .../crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c    |   2 +-
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-core.c  |  23 +-
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-hash.c  |   2 +-
 drivers/crypto/allwinner/sun4i-ss/sun4i-ss-prng.c  |   2 +-
 .../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c    |   9 +-
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c  |   2 +-
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c  |   3 +-
 drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c  |   1 +
 .../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c    |  11 +-
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c  |   2 +-
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c  |  12 +-
 drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c  |   4 +-
 drivers/crypto/amcc/crypto4xx_alg.c                |  12 +-
 drivers/crypto/amcc/crypto4xx_core.c               |  18 +-
 drivers/crypto/amcc/crypto4xx_core.h               |   4 +-
 drivers/crypto/amcc/crypto4xx_reg_def.h            |   8 +-
 drivers/crypto/amcc/crypto4xx_sa.h                 |  18 +-
 drivers/crypto/amcc/crypto4xx_trng.h               |   2 +-
 drivers/crypto/amlogic/amlogic-gxl-cipher.c        |   6 +-
 drivers/crypto/amlogic/amlogic-gxl-core.c          |   3 -
 drivers/crypto/atmel-ecc.c                         |  30 +-
 drivers/crypto/atmel-i2c.c                         |   2 +-
 drivers/crypto/atmel-sha.c                         |   4 +-
 drivers/crypto/atmel-tdes.c                        |   1 -
 drivers/crypto/bcm/cipher.c                        |   7 +-
 drivers/crypto/bcm/spu.c                           |  16 +-
 drivers/crypto/bcm/spu2.c                          |  43 +-
 drivers/crypto/bcm/util.c                          |   4 +-
 drivers/crypto/caam/caamalg_qi2.c                  |   3 +
 drivers/crypto/caam/caampkc.c                      |   3 +-
 drivers/crypto/cavium/cpt/cptpf_main.c             |   1 -
 drivers/crypto/cavium/nitrox/nitrox_isr.c          |   4 +-
 drivers/crypto/cavium/nitrox/nitrox_reqmgr.c       |   9 +-
 drivers/crypto/cavium/zip/common.h                 |   1 -
 drivers/crypto/ccp/ccp-crypto-main.c               |   3 +-
 drivers/crypto/ccp/ccp-dev.c                       |  12 +-
 drivers/crypto/ccp/ccp-ops.c                       |   1 -
 drivers/crypto/ccp/sev-dev.c                       |   6 +
 drivers/crypto/ccp/sp-dev.c                        |  12 +-
 drivers/crypto/ccp/sp-dev.h                        |  15 +-
 drivers/crypto/ccp/sp-pci.c                        |   1 +
 drivers/crypto/ccp/tee-dev.c                       |  57 +-
 drivers/crypto/ccp/tee-dev.h                       |  20 +-
 drivers/crypto/ccree/cc_driver.c                   |   4 +-
 drivers/crypto/chelsio/chcr_algo.c                 |  32 +-
 drivers/crypto/chelsio/chcr_core.c                 |   5 +-
 drivers/crypto/chelsio/chcr_core.h                 |   1 -
 drivers/crypto/geode-aes.c                         |   4 +-
 drivers/crypto/hisilicon/Kconfig                   |   2 +
 drivers/crypto/hisilicon/hpre/hpre.h               |  18 +-
 drivers/crypto/hisilicon/hpre/hpre_crypto.c        | 921 ++++++++++++++++++++-
 drivers/crypto/hisilicon/hpre/hpre_main.c          | 158 ++--
 drivers/crypto/hisilicon/qm.c                      | 396 +++++++--
 drivers/crypto/hisilicon/qm.h                      |  29 +-
 drivers/crypto/hisilicon/sec/sec_algs.c            |   2 +-
 drivers/crypto/hisilicon/sec/sec_drv.c             |  13 +-
 drivers/crypto/hisilicon/sec/sec_drv.h             |   2 +-
 drivers/crypto/hisilicon/sec2/sec.h                |  10 +-
 drivers/crypto/hisilicon/sec2/sec_crypto.c         | 137 +--
 drivers/crypto/hisilicon/sec2/sec_crypto.h         |   6 +-
 drivers/crypto/hisilicon/sec2/sec_main.c           | 267 +++---
 drivers/crypto/hisilicon/sgl.c                     |  37 +-
 drivers/crypto/hisilicon/trng/trng.c               |  13 +-
 drivers/crypto/hisilicon/zip/zip.h                 |  50 +-
 drivers/crypto/hisilicon/zip/zip_crypto.c          | 710 +++++++++-------
 drivers/crypto/hisilicon/zip/zip_main.c            |  99 +--
 drivers/crypto/img-hash.c                          |   3 -
 drivers/crypto/inside-secure/safexcel.c            |   2 +-
 drivers/crypto/ixp4xx_crypto.c                     |   7 +-
 drivers/crypto/keembay/keembay-ocs-aes-core.c      |   8 +-
 drivers/crypto/keembay/keembay-ocs-hcu-core.c      |   8 +-
 drivers/crypto/keembay/ocs-hcu.c                   |   8 +-
 drivers/crypto/marvell/octeontx2/otx2_cpt_common.h |  10 +-
 .../marvell/octeontx2/otx2_cpt_mbox_common.c       |  14 +-
 drivers/crypto/marvell/octeontx2/otx2_cptlf.c      |   8 +-
 drivers/crypto/marvell/octeontx2/otx2_cptlf.h      |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cptpf.h      |   1 +
 drivers/crypto/marvell/octeontx2/otx2_cptpf_main.c |  33 +-
 .../crypto/marvell/octeontx2/otx2_cptpf_ucode.c    | 144 +++-
 drivers/crypto/nx/nx-aes-cbc.c                     |   2 +-
 drivers/crypto/nx/nx-aes-ccm.c                     |   2 +-
 drivers/crypto/nx/nx-aes-ctr.c                     |   2 +-
 drivers/crypto/nx/nx-aes-ecb.c                     |   2 +-
 drivers/crypto/nx/nx-aes-gcm.c                     |   2 +-
 drivers/crypto/nx/nx-aes-xcbc.c                    |   2 +-
 drivers/crypto/nx/nx-common-powernv.c              |   4 +-
 drivers/crypto/nx/nx-sha256.c                      |   2 +-
 drivers/crypto/nx/nx-sha512.c                      |   2 +-
 drivers/crypto/nx/nx.c                             |   5 +-
 drivers/crypto/nx/nx_debugfs.c                     |   2 +-
 drivers/crypto/omap-aes.c                          |   7 +-
 drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c     |   1 +
 drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c   |   1 +
 drivers/crypto/qat/qat_c3xxxvf/adf_drv.c           |   4 +-
 drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c     |   1 +
 drivers/crypto/qat/qat_c62xvf/adf_drv.c            |   4 +-
 drivers/crypto/qat/qat_common/adf_accel_devices.h  |   1 +
 drivers/crypto/qat/qat_common/adf_gen2_hw_data.c   |  25 +
 drivers/crypto/qat/qat_common/adf_gen2_hw_data.h   |  13 +
 drivers/crypto/qat/qat_common/adf_gen4_hw_data.c   |  40 +
 drivers/crypto/qat/qat_common/adf_gen4_hw_data.h   |  14 +-
 drivers/crypto/qat/qat_common/adf_init.c           |   4 +
 drivers/crypto/qat/qat_common/adf_isr.c            |  29 +-
 drivers/crypto/qat/qat_common/adf_pf2vf_msg.c      |   2 +-
 drivers/crypto/qat/qat_common/adf_transport.c      |   1 +
 drivers/crypto/qat/qat_common/adf_vf2pf_msg.c      |   4 +-
 drivers/crypto/qat/qat_common/adf_vf_isr.c         |  17 +-
 drivers/crypto/qat/qat_common/qat_algs.c           |  32 +-
 drivers/crypto/qat/qat_dh895xccvf/adf_drv.c        |   4 +-
 drivers/crypto/qce/cipher.h                        |   1 -
 drivers/crypto/qce/common.c                        |  25 +-
 drivers/crypto/qce/common.h                        |   3 +-
 drivers/crypto/qce/sha.c                           | 143 ++--
 drivers/crypto/qce/skcipher.c                      |  69 +-
 drivers/crypto/rockchip/rk3288_crypto_ahash.c      |   2 +-
 drivers/crypto/s5p-sss.c                           |  17 +-
 drivers/crypto/sa2ul.c                             | 143 +++-
 drivers/crypto/sa2ul.h                             |   4 +
 drivers/crypto/stm32/stm32-cryp.c                  |   4 +-
 drivers/crypto/stm32/stm32-hash.c                  |   8 +-
 drivers/crypto/ux500/cryp/cryp.c                   |   5 +-
 drivers/crypto/ux500/cryp/cryp.h                   |   2 +-
 drivers/crypto/ux500/cryp/cryp_core.c              |  10 +-
 drivers/crypto/ux500/cryp/cryp_irq.c               |   2 +-
 drivers/crypto/ux500/cryp/cryp_irq.h               |   4 +-
 drivers/crypto/ux500/cryp/cryp_irqp.h              |   4 +-
 drivers/crypto/ux500/cryp/cryp_p.h                 |  15 +-
 drivers/crypto/ux500/hash/hash_core.c              |  18 +-
 drivers/crypto/vmx/aes.c                           |   2 +-
 drivers/crypto/vmx/aes_cbc.c                       |   2 +-
 drivers/crypto/vmx/aes_ctr.c                       |   2 +-
 drivers/crypto/vmx/aes_xts.c                       |   2 +-
 drivers/crypto/vmx/ghash.c                         |   2 +-
 drivers/crypto/vmx/vmx.c                           |   2 +-
 fs/crypto/Kconfig                                  |  30 +-
 fs/verity/Kconfig                                  |   8 +-
 include/crypto/acompress.h                         |   2 +
 include/crypto/aead.h                              |   2 +
 include/crypto/akcipher.h                          |   2 +
 include/crypto/chacha.h                            |   9 +-
 include/crypto/ecc_curve.h                         |  60 ++
 include/crypto/ecdh.h                              |   3 +-
 include/crypto/hash.h                              |   4 +
 include/crypto/internal/poly1305.h                 |   3 +-
 include/crypto/kpp.h                               |   2 +
 include/crypto/poly1305.h                          |   6 +-
 include/crypto/rng.h                               |   2 +
 include/crypto/skcipher.h                          |   2 +
 include/keys/asymmetric-type.h                     |   6 +
 include/linux/oid_registry.h                       |  10 +-
 include/trace/events/random.h                      |  83 --
 include/uapi/misc/uacce/hisi_qm.h                  |   1 +
 lib/crypto/chacha.c                                |   4 +-
 lib/crypto/poly1305-donna32.c                      |   3 +-
 lib/crypto/poly1305-donna64.c                      |   3 +-
 lib/crypto/poly1305.c                              |   3 +-
 lib/oid_registry.c                                 |  24 +
 net/bluetooth/ecdh_helper.c                        |   2 -
 net/bluetooth/selftest.c                           |   2 +-
 net/bluetooth/smp.c                                |   6 +-
 security/integrity/digsig_asymmetric.c             |  30 +-
 209 files changed, 4558 insertions(+), 1986 deletions(-)
 create mode 100644 crypto/ecdsa.c
 create mode 100644 crypto/ecdsasignature.asn1
 create mode 100644 include/crypto/ecc_curve.h

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Update for 5.13
  2021-04-26 12:32       ` [GIT PULL] Crypto Update for 5.13 Herbert Xu
@ 2021-04-26 15:59         ` pr-tracker-bot
  2021-06-28 11:00         ` [GIT PULL] Crypto Update for 5.14 Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-04-26 15:59 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Mon, 26 Apr 2021 20:32:00 +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/a4a78bc8ead44c3cdb470c6e1f37afcabdddfc14

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Update for 5.14
  2021-04-26 12:32       ` [GIT PULL] Crypto Update for 5.13 Herbert Xu
  2021-04-26 15:59         ` pr-tracker-bot
@ 2021-06-28 11:00         ` Herbert Xu
  2021-06-28 23:36           ` pr-tracker-bot
  2021-08-30  8:28           ` [GIT PULL] Crypto Update for 5.15 Herbert Xu
  1 sibling, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2021-06-28 11:00 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

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 <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Update for 5.14
  2021-06-28 11:00         ` [GIT PULL] Crypto Update for 5.14 Herbert Xu
@ 2021-06-28 23:36           ` pr-tracker-bot
  2021-08-30  8:28           ` [GIT PULL] Crypto Update for 5.15 Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-06-28 23:36 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.14
  2021-01-08  3:54       ` Herbert Xu
  2021-01-08 20:36         ` pr-tracker-bot
  2021-01-18  5:13         ` Herbert Xu
@ 2021-07-08  3:09         ` Herbert Xu
  2021-07-09 19:20           ` pr-tracker-bot
  2021-08-17  1:36           ` Herbert Xu
  2 siblings, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2021-07-08  3:09 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push contains the following fixes and changes:

- Regression in drbg due to missing self-test for new default algorithm.
- Add ratelimit on user-triggerable message in qat.
- Build failure due to missing dependency in sl3516.
- Remove obsolete PageSlab checks.
- Bogus hardware register writes on Kunpeng920 in hisilicon/sec.

The following changes since commit 9f38b678ffc4e2ccf167a1131c0403dc4f5e1bb7:

  crypto: sl3516 - depends on HAS_IOMEM (2021-06-24 14:57:28 +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 66192b2e3fd8ab97ed518d6c0240e26655a20b4b:

  crypto: hisilicon/sec - fix the process of disabling sva prefetching (2021-06-28 11:28:09 +0800)

----------------------------------------------------------------
Colin Ian King (1):
      crypto: qat - ratelimit invalid ioctl message and print the invalid cmd

Geert Uytterhoeven (2):
      crypto: sl3516 - Typo s/Stormlink/Storlink/
      crypto: sl3516 - Add dependency on ARCH_GEMINI

Herbert Xu (2):
      crypto: scatterwalk - Remove obsolete PageSlab check
      crypto: omap - Drop obsolete PageSlab check

Kai Ye (1):
      crypto: hisilicon/sec - fix the process of disabling sva prefetching

Stephan Müller (1):
      crypto: drbg - self test for HMAC(SHA-512)

 crypto/testmgr.c                            |  5 ++-
 crypto/testmgr.h                            | 49 +++++++++++++++++++++++++++++
 drivers/crypto/Kconfig                      |  6 ++--
 drivers/crypto/gemini/sl3516-ce-cipher.c    |  2 +-
 drivers/crypto/gemini/sl3516-ce-core.c      |  2 +-
 drivers/crypto/hisilicon/sec2/sec_main.c    |  3 ++
 drivers/crypto/omap-crypto.c                |  3 +-
 drivers/crypto/qat/qat_common/adf_ctl_drv.c |  2 +-
 include/crypto/scatterwalk.h                |  7 +----
 9 files changed, 64 insertions(+), 15 deletions(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.14
  2021-07-08  3:09         ` [GIT PULL] Crypto Fixes for 5.14 Herbert Xu
@ 2021-07-09 19:20           ` pr-tracker-bot
  2021-08-17  1:36           ` Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-07-09 19:20 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Thu, 8 Jul 2021 11:09:13 +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/d8dc121eeab9abfbc510097f8db83e87560f753b

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.14
  2021-07-08  3:09         ` [GIT PULL] Crypto Fixes for 5.14 Herbert Xu
  2021-07-09 19:20           ` pr-tracker-bot
@ 2021-08-17  1:36           ` Herbert Xu
  2021-08-17  2:27             ` pr-tracker-bot
  2021-09-29  2:38             ` [GIT PULL] Crypto Fixes for 5.15 Herbert Xu
  1 sibling, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2021-08-17  1:36 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push contains a fix for a potential boot failure due to
a missing Kconfig dependency for people upgrading with the DRBG
enabled.

The following changes since commit e73f0f0ee7541171d89f2e2491130c7771ba58d3:

  Linux 5.14-rc1 (2021-07-11 15:07:40 -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 5261cdf457ce3635bf18d393a3c1991dcfaf9d02:

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

----------------------------------------------------------------
Stephan Mueller (1):
      crypto: drbg - select SHA512

 crypto/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.14
  2021-08-17  1:36           ` Herbert Xu
@ 2021-08-17  2:27             ` pr-tracker-bot
  2021-09-29  2:38             ` [GIT PULL] Crypto Fixes for 5.15 Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-08-17  2:27 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Tue, 17 Aug 2021 09:36:01 +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/794c7931a2428a656551f2179e6a093233a6e0aa

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Update for 5.15
  2021-06-28 11:00         ` [GIT PULL] Crypto Update for 5.14 Herbert Xu
  2021-06-28 23:36           ` pr-tracker-bot
@ 2021-08-30  8:28           ` Herbert Xu
  2021-08-30 20:17             ` pr-tracker-bot
  2021-11-02  3:52             ` [GIT PULL] Crypto Update for 5.16 Herbert Xu
  1 sibling, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2021-08-30  8:28 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

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 <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Update for 5.15
  2021-08-30  8:28           ` [GIT PULL] Crypto Update for 5.15 Herbert Xu
@ 2021-08-30 20:17             ` pr-tracker-bot
  2021-11-02  3:52             ` [GIT PULL] Crypto Update for 5.16 Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-08-30 20:17 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.15
  2021-08-17  1:36           ` Herbert Xu
  2021-08-17  2:27             ` pr-tracker-bot
@ 2021-09-29  2:38             ` Herbert Xu
  2021-09-29 14:51               ` pr-tracker-bot
  2021-10-29  4:14               ` Herbert Xu
  1 sibling, 2 replies; 42+ messages in thread
From: Herbert Xu @ 2021-09-29  2:38 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push contains fixes for a resource leak in ccp as well as
stack corruption in x86/sm4.

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 0e14ef38669ce4faa80589247fe8ed8a3780f414:

  crypto: x86/sm4 - Fix frame pointer stack corruption (2021-09-24 15:58:50 +0800)

----------------------------------------------------------------
Dan Carpenter (1):
      crypto: ccp - fix resource leaks in ccp_run_aes_gcm_cmd()

Josh Poimboeuf (1):
      crypto: x86/sm4 - Fix frame pointer stack corruption

 arch/x86/crypto/sm4-aesni-avx-asm_64.S |  5 +++--
 drivers/crypto/ccp/ccp-ops.c           | 14 ++++++++------
 2 files changed, 11 insertions(+), 8 deletions(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.15
  2021-09-29  2:38             ` [GIT PULL] Crypto Fixes for 5.15 Herbert Xu
@ 2021-09-29 14:51               ` pr-tracker-bot
  2021-10-29  4:14               ` Herbert Xu
  1 sibling, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-09-29 14:51 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Wed, 29 Sep 2021 10:38:43 +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/6e439bbd436e39f15abc9587cdd23d56257780cb

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.15
  2021-09-29  2:38             ` [GIT PULL] Crypto Fixes for 5.15 Herbert Xu
  2021-09-29 14:51               ` pr-tracker-bot
@ 2021-10-29  4:14               ` Herbert Xu
  2021-10-29 17:39                 ` Linus Torvalds
                                   ` (2 more replies)
  1 sibling, 3 replies; 42+ messages in thread
From: Herbert Xu @ 2021-10-29  4:14 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes a build-time warning in x86/sm4.

The following changes since commit 0e14ef38669ce4faa80589247fe8ed8a3780f414:

  crypto: x86/sm4 - Fix frame pointer stack corruption (2021-09-24 15:58:50 +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 f8690a4b5a1b64f74ae5c4f7c4ea880d8a8e1a0d:

  crypto: x86/sm4 - Fix invalid section entry size (2021-10-22 20:23:01 +0800)

----------------------------------------------------------------
Tianjia Zhang (1):
      crypto: x86/sm4 - Fix invalid section entry size

 arch/x86/crypto/sm4-aesni-avx-asm_64.S  | 6 +++++-
 arch/x86/crypto/sm4-aesni-avx2-asm_64.S | 6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.15
  2021-10-29  4:14               ` Herbert Xu
@ 2021-10-29 17:39                 ` Linus Torvalds
  2021-11-02  4:01                   ` Herbert Xu
  2021-10-29 18:49                 ` pr-tracker-bot
  2021-11-12 10:48                 ` [GIT PULL] Crypto Fixes for 5.16 Herbert Xu
  2 siblings, 1 reply; 42+ messages in thread
From: Linus Torvalds @ 2021-10-29 17:39 UTC (permalink / raw)
  To: Herbert Xu
  Cc: David S. Miller, Linux Kernel Mailing List, Linux Crypto Mailing List

On Thu, Oct 28, 2021 at 9:14 PM Herbert Xu <herbert@gondor.apana.org.au> wrote:
>
> This push fixes a build-time warning in x86/sm4.

Hmm..

> Tianjia Zhang (1):
>       crypto: x86/sm4 - Fix invalid section entry size

So I do wonder why the crypto code asm tends to use such complex
".section" directives.

Almost everythign else in the kernel just uses

     .section <name>,"a"

for data (and "ax" for text).

The crypto code uses that very subtle "M" flag which allows the linker
to merge data, but how much of a win is that added complexity? Now you
need to get the sizes exactly right, and you hit tooling issues.

Plus, I get the feeling that some people have just copied-and-pasted
those things, and don't necessarily realize just _how_ subtle 'M'
sections are.

How much of a data savings is it to have this complexity? Particularly
since I suspect most of the time these things end up being individual
modules, and never actually get linked together at all?

So I get this very strong feeling that the crypto code is doing
complicated and fragile things that cause tooling issues - and does so
for no good reason and no actual real-life upside.

I've pulled this, but I do suspect that all the fancy

   .section .rodata.xyz, "aM", @progbits, abc

could just as well be

    .section .rodata, "a"

instead, and you guys are only causing problems for yourself by trying
to be clever in pointless ways.

            Linus

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.15
  2021-10-29  4:14               ` Herbert Xu
  2021-10-29 17:39                 ` Linus Torvalds
@ 2021-10-29 18:49                 ` pr-tracker-bot
  2021-11-12 10:48                 ` [GIT PULL] Crypto Fixes for 5.16 Herbert Xu
  2 siblings, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-10-29 18:49 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Fri, 29 Oct 2021 12:14:09 +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/75c7a6c1ca63131875fe869cbfd404c94d0e1944

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Update for 5.16
  2021-08-30  8:28           ` [GIT PULL] Crypto Update for 5.15 Herbert Xu
  2021-08-30 20:17             ` pr-tracker-bot
@ 2021-11-02  3:52             ` Herbert Xu
  2021-11-02  4:27               ` pr-tracker-bot
  1 sibling, 1 reply; 42+ messages in thread
From: Herbert Xu @ 2021-11-02  3:52 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

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 <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.15
  2021-10-29 17:39                 ` Linus Torvalds
@ 2021-11-02  4:01                   ` Herbert Xu
  0 siblings, 0 replies; 42+ messages in thread
From: Herbert Xu @ 2021-11-02  4:01 UTC (permalink / raw)
  To: Linus Torvalds, Denys Vlasenko
  Cc: David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List, Tianjia Zhang

On Fri, Oct 29, 2021 at 10:39:35AM -0700, Linus Torvalds wrote:
>
> Plus, I get the feeling that some people have just copied-and-pasted
> those things, and don't necessarily realize just _how_ subtle 'M'
> sections are.
> 
> How much of a data savings is it to have this complexity? Particularly
> since I suspect most of the time these things end up being individual
> modules, and never actually get linked together at all?

Let me copy Denys Vlasenko who introduced this.

But you're absolutely right that the recent additions are
more likely to be just cut-n-paste rather than deeply thought
through.

FWIW the original change that added this was:

ommit e183914af00e15eb41ae666d44e323bfa154be13
Author: Denys Vlasenko <dvlasenk@redhat.com>
Date:   Thu Jan 19 22:33:04 2017 +0100

    crypto: x86 - make constants readonly, allow linker to merge them

    A lot of asm-optimized routines in arch/x86/crypto/ keep its
    constants in .data. This is wrong, they should be on .rodata.

    Mnay of these constants are the same in different modules.
    For example, 128-bit shuffle mask 0x000102030405060708090A0B0C0D0E0F
    exists in at least half a dozen places.

    There is a way to let linker merge them and use just one copy.
    The rules are as follows: mergeable objects of different sizes
    should not share sections. You can't put them all in one .rodata
    section, they will lose "mergeability".

    GCC puts its mergeable constants in ".rodata.cstSIZE" sections,
    or ".rodata.cstSIZE.<object_name>" if -fdata-sections is used.
    This patch does the same:

            .section .rodata.cst16.SHUF_MASK, "aM", @progbits, 16

    It is important that all data in such section consists of
    16-byte elements, not larger ones, and there are no implicit
    use of one element from another.

    When this is not the case, use non-mergeable section:

            .section .rodata[.VAR_NAME], "a", @progbits

    This reduces .data by ~15 kbytes:

        text    data     bss     dec      hex filename
    11097415 2705840 2630712 16433967  fac32f vmlinux-prev.o
    11112095 2690672 2630712 16433479  fac147 vmlinux.o

    Merged objects are visible in System.map:

    ffffffff81a28810 r POLY
    ffffffff81a28810 r POLY
    ffffffff81a28820 r TWOONE
    ffffffff81a28820 r TWOONE
    ffffffff81a28830 r PSHUFFLE_BYTE_FLIP_MASK <- merged regardless of
    ffffffff81a28830 r SHUF_MASK   <------------- the name difference
    ffffffff81a28830 r SHUF_MASK
    ffffffff81a28830 r SHUF_MASK
    ..
    ffffffff81a28d00 r K512 <- merged three identical 640-byte tables
    ffffffff81a28d00 r K512
    ffffffff81a28d00 r K512

    Use of object names in section name suffixes is not strictly necessary,
    but might help if someday link stage will use garbage collection
    to eliminate unused sections (ld --gc-sections).

    Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
    CC: Herbert Xu <herbert@gondor.apana.org.au>
    CC: Josh Poimboeuf <jpoimboe@redhat.com>
    CC: Xiaodong Liu <xiaodong.liu@intel.com>
    CC: Megha Dey <megha.dey@intel.com>
    CC: linux-crypto@vger.kernel.org
    CC: x86@kernel.org
    CC: linux-kernel@vger.kernel.org
    Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Update for 5.16
  2021-11-02  3:52             ` [GIT PULL] Crypto Update for 5.16 Herbert Xu
@ 2021-11-02  4:27               ` pr-tracker-bot
  0 siblings, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-11-02  4:27 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* [GIT PULL] Crypto Fixes for 5.16
  2021-10-29  4:14               ` Herbert Xu
  2021-10-29 17:39                 ` Linus Torvalds
  2021-10-29 18:49                 ` pr-tracker-bot
@ 2021-11-12 10:48                 ` Herbert Xu
  2021-11-12 20:42                   ` pr-tracker-bot
  2 siblings, 1 reply; 42+ messages in thread
From: Herbert Xu @ 2021-11-12 10:48 UTC (permalink / raw)
  To: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

Hi Linus:

This push fixes a boot crash regression.

The following changes since commit 39ef08517082a424b5b65c3dbaa6c0fa9d3303b9:

  crypto: testmgr - fix wrong key length for pkcs1pad (2021-10-29 21:04:04 +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 beaaaa37c664e9afdf2913aee19185d8e3793b50:

  crypto: api - Fix boot-up crash when crypto manager is disabled (2021-11-09 13:45:48 +0800)

----------------------------------------------------------------
Herbert Xu (1):
      crypto: api - Fix boot-up crash when crypto manager is disabled

 crypto/algapi.c | 2 ++
 1 file changed, 2 insertions(+)

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

* Re: [GIT PULL] Crypto Fixes for 5.16
  2021-11-12 10:48                 ` [GIT PULL] Crypto Fixes for 5.16 Herbert Xu
@ 2021-11-12 20:42                   ` pr-tracker-bot
  0 siblings, 0 replies; 42+ messages in thread
From: pr-tracker-bot @ 2021-11-12 20:42 UTC (permalink / raw)
  To: Herbert Xu
  Cc: Linus Torvalds, David S. Miller, Linux Kernel Mailing List,
	Linux Crypto Mailing List

The pull request you sent on Fri, 12 Nov 2021 18:48:15 +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/66f4beaa6c1d28161f534471484b2daa2de1dce0

Thank you!

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

^ permalink raw reply	[flat|nested] 42+ messages in thread

end of thread, other threads:[~2021-11-12 20:42 UTC | newest]

Thread overview: 42+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-03  4:40 [GIT PULL] Crypto Update for 5.9 Herbert Xu
2020-08-03 17:55 ` pr-tracker-bot
2020-08-30 22:33 ` [GIT PULL] Crypto Fixes " Herbert Xu
2020-08-30 23:02   ` pr-tracker-bot
2020-09-10  0:34   ` Herbert Xu
2020-09-10  2:48     ` pr-tracker-bot
2020-10-26  1:11   ` [GIT PULL] Crypto Fixes for 5.10 Herbert Xu
2020-10-26 17:52     ` pr-tracker-bot
2020-12-27 11:32     ` [GIT PULL] Crypto Fixes for 5.11 Herbert Xu
2020-12-27 17:27       ` pr-tracker-bot
2021-01-08  3:54       ` Herbert Xu
2021-01-08 20:36         ` pr-tracker-bot
2021-01-18  5:13         ` Herbert Xu
2021-01-18 21:16           ` pr-tracker-bot
2021-01-25 22:36           ` Herbert Xu
2021-01-26  0:01             ` pr-tracker-bot
2021-07-08  3:09         ` [GIT PULL] Crypto Fixes for 5.14 Herbert Xu
2021-07-09 19:20           ` pr-tracker-bot
2021-08-17  1:36           ` Herbert Xu
2021-08-17  2:27             ` pr-tracker-bot
2021-09-29  2:38             ` [GIT PULL] Crypto Fixes for 5.15 Herbert Xu
2021-09-29 14:51               ` pr-tracker-bot
2021-10-29  4:14               ` Herbert Xu
2021-10-29 17:39                 ` Linus Torvalds
2021-11-02  4:01                   ` Herbert Xu
2021-10-29 18:49                 ` pr-tracker-bot
2021-11-12 10:48                 ` [GIT PULL] Crypto Fixes for 5.16 Herbert Xu
2021-11-12 20:42                   ` pr-tracker-bot
2020-10-12  3:32 ` [GIT PULL] Crypto Update for 5.10 Herbert Xu
2020-10-13 16:24   ` pr-tracker-bot
2020-12-14  5:55   ` [GIT PULL] Crypto Update for 5.11 Herbert Xu
2020-12-14 20:56     ` pr-tracker-bot
2021-02-15  2:47     ` [GIT PULL] Crypto Update for 5.12 Herbert Xu
2021-02-22  1:28       ` pr-tracker-bot
2021-04-26 12:32       ` [GIT PULL] Crypto Update for 5.13 Herbert Xu
2021-04-26 15:59         ` pr-tracker-bot
2021-06-28 11:00         ` [GIT PULL] Crypto Update for 5.14 Herbert Xu
2021-06-28 23:36           ` pr-tracker-bot
2021-08-30  8:28           ` [GIT PULL] Crypto Update for 5.15 Herbert Xu
2021-08-30 20:17             ` pr-tracker-bot
2021-11-02  3:52             ` [GIT PULL] Crypto Update for 5.16 Herbert Xu
2021-11-02  4:27               ` pr-tracker-bot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).