Commit 02b2f1a7 authored by Linus Torvalds's avatar Linus Torvalds
Browse files
Pull crypto updates from Herbert Xu:
 "API:
   - Add sig driver API
   - Remove signing/verification from akcipher API
   - Move crypto_simd_disabled_for_test to lib/crypto
   - Add WARN_ON for return values from driver that indicates memory
     corruption

  Algorithms:
   - Provide crc32-arch and crc32c-arch through Crypto API
   - Optimise crc32c code size on x86
   - Optimise crct10dif on arm/arm64
   - Optimise p10-aes-gcm on powerpc
   - Optimise aegis128 on x86
   - Output full sample from test interface in jitter RNG
   - Retry without padata when it fails in pcrypt

  Drivers:
   - Add support for Airoha EN7581 TRNG
   - Add support for STM32MP25x platforms in stm32
   - Enable iproc-r200 RNG driver on BCMBCA
   - Add Broadcom BCM74110 RNG driver"

* tag 'v6.13-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (112 commits)
  crypto: marvell/cesa - fix uninit value for struct mv_cesa_op_ctx
  crypto: cavium - Fix an error handling path in cpt_ucode_load_fw()
  crypto: aesni - Move back to module_init
  crypto: lib/mpi - Export mpi_set_bit
  crypto: aes-gcm-p10 - Use the correct bit to test for P10
  hwrng: amd - remove reference to removed PPC_MAPLE config
  crypto: arm/crct10dif - Implement plain NEON variant
  crypto: arm/crct10dif - Macroify PMULL asm code
  crypto: arm/crct10dif - Use existing mov_l macro instead of __adrl
  crypto: arm64/crct10dif - Remove remaining 64x64 PMULL fallback code
  crypto: arm64/crct10dif - Use faster 16x64 bit polynomial multiply
  crypto: arm64/crct10dif - Remove obsolete chunking logic
  crypto: bcm - add error check in the ahash_hmac_init function
  crypto: caam - add error check to caam_rsa_set_priv_key_form
  hwrng: bcm74110 - Add Broadcom BCM74110 RNG driver
  dt-bindings: rng: add binding for BCM74110 RNG
  padata: Clean up in padata_do_multithreaded()
  crypto: inside-secure - Fix the return value of safexcel_xcbcmac_cra_init()
  crypto: qat - Fix missing destroy_workqueue in adf_init_aer()
  crypto: rsassa-pkcs1 - Reinstate support for legacy protocols
  ...
parents 1af29b34 4223414e
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -184,3 +184,10 @@ Date: Apr 2020
Contact:	linux-crypto@vger.kernel.org
Description:	Dump the total number of time out requests.
		Available for both PF and VF, and take no other effect on HPRE.

What:           /sys/kernel/debug/hisi_hpre/<bdf>/cap_regs
Date:           Oct 2024
Contact:        linux-crypto@vger.kernel.org
Description:    Dump the values of the qm and hpre capability bit registers and
                support the query of device specifications to facilitate fault locating.
                Available for both PF and VF, and take no other effect on HPRE.
+7 −0
Original line number Diff line number Diff line
@@ -157,3 +157,10 @@ Contact: linux-crypto@vger.kernel.org
Description:	Dump the total number of completed but marked error requests
		to be received.
		Available for both PF and VF, and take no other effect on SEC.

What:           /sys/kernel/debug/hisi_sec2/<bdf>/cap_regs
Date:           Oct 2024
Contact:        linux-crypto@vger.kernel.org
Description:    Dump the values of the qm and sec capability bit registers and
                support the query of device specifications to facilitate fault locating.
                Available for both PF and VF, and take no other effect on SEC.
+7 −0
Original line number Diff line number Diff line
@@ -158,3 +158,10 @@ Contact: linux-crypto@vger.kernel.org
Description:	Dump the total number of BD type error requests
		to be received.
		Available for both PF and VF, and take no other effect on ZIP.

What:           /sys/kernel/debug/hisi_zip/<bdf>/cap_regs
Date:           Oct 2024
Contact:        linux-crypto@vger.kernel.org
Description:    Dump the values of the qm and zip capability bit registers and
                support the query of device specifications to facilitate fault locating.
                Available for both PF and VF, and take no other effect on ZIP.
+2 −2
Original line number Diff line number Diff line
@@ -8,10 +8,10 @@ Asymmetric Cipher API
---------------------

.. kernel-doc:: include/crypto/akcipher.h
   :doc: Generic Public Key API
   :doc: Generic Public Key Cipher API

.. kernel-doc:: include/crypto/akcipher.h
   :functions: crypto_alloc_akcipher crypto_free_akcipher crypto_akcipher_set_pub_key crypto_akcipher_set_priv_key crypto_akcipher_maxsize crypto_akcipher_encrypt crypto_akcipher_decrypt crypto_akcipher_sign crypto_akcipher_verify
   :functions: crypto_alloc_akcipher crypto_free_akcipher crypto_akcipher_set_pub_key crypto_akcipher_set_priv_key crypto_akcipher_maxsize crypto_akcipher_encrypt crypto_akcipher_decrypt

Asymmetric Cipher Request Handle
--------------------------------
+15 −0
Original line number Diff line number Diff line
Asymmetric Signature Algorithm Definitions
------------------------------------------

.. kernel-doc:: include/crypto/sig.h
   :functions: sig_alg

Asymmetric Signature API
------------------------

.. kernel-doc:: include/crypto/sig.h
   :doc: Generic Public Key Signature API

.. kernel-doc:: include/crypto/sig.h
   :functions: crypto_alloc_sig crypto_free_sig crypto_sig_set_pubkey crypto_sig_set_privkey crypto_sig_keysize crypto_sig_maxsize crypto_sig_digestsize crypto_sig_sign crypto_sig_verify
Loading