2022-03-16 01:51:21

by Herbert Xu

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

Hi Linus:

This push fixes a bug where qcom-rng can return a buffer that is
not completely filled with random data.

The following changes since commit c6ce9c5831cae515d375a01b97ae1778689acf19:

crypto: api - Move cryptomgr soft dependency into algapi (2022-02-05 15:10:07 +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 a680b1832ced3b5fa7c93484248fd221ea0d614b:

crypto: qcom-rng - ensure buffer for generate is completely filled (2022-03-14 14:41:04 +1200)

----------------------------------------------------------------
Brian Masney (1):
crypto: qcom-rng - ensure buffer for generate is completely filled

drivers/crypto/qcom-rng.c | 17 ++++++++++-------
1 file changed, 10 insertions(+), 7 deletions(-)

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


2022-03-17 21:11:03

by pr-tracker-bot

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

The pull request you sent on Wed, 16 Mar 2022 13:13:45 +1200:

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

Thank you!

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

2022-03-31 05:13:44

by Herbert Xu

[permalink] [raw]
Subject: [GIT PULL] Crypto Fixes for 5.18

Hi Linus:

The following changes since commit 0e03b8fd29363f2df44e2a7a176d486de550757a:

crypto: xilinx - Turn SHA into a tristate and allow COMPILE_TEST (2022-03-14 14:45:45 +1200)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.18-p1

for you to fetch changes up to aa8e73eed7d3084c18dd16d195748661c7e881b5:

crypto: x86/sm3 - Fixup SLS (2022-03-30 16:33:11 +1200)

----------------------------------------------------------------
This push fixes the following issues:

- Missing Kconfig dependency on arm that leads to boot failure.
- x86 SLS fixes.
- Reference leak in the stm32 driver.

----------------------------------------------------------------
Herbert Xu (1):
crypto: arm/aes-neonbs-cbc - Select generic cbc and aes

Peter Zijlstra (3):
crypto: x86/chacha20 - Avoid spurious jumps to other functions
crypto: x86/poly1305 - Fixup SLS
crypto: x86/sm3 - Fixup SLS

Zheng Yongjun (1):
crypto: stm32 - fix reference leak in stm32_crc_remove

arch/arm/crypto/Kconfig | 2 ++
arch/x86/crypto/chacha-avx512vl-x86_64.S | 4 +--
arch/x86/crypto/poly1305-x86_64-cryptogams.pl | 38 +++++++++++++--------------
arch/x86/crypto/sm3-avx-asm_64.S | 2 +-
drivers/crypto/stm32/stm32-crc32.c | 4 ++-
5 files changed, 27 insertions(+), 23 deletions(-)

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

2022-05-20 15:47:36

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Crypto Fixes for 5.18

The pull request you sent on Fri, 20 May 2022 13:41:04 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.18-p2

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

Thank you!

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

2022-05-27 11:58:18

by Herbert Xu

[permalink] [raw]
Subject: [GIT PULL] Crypto Fixes for 5.19

Hi Linus:

The following changes since commit 3123109284176b1532874591f7c81f3837bbdc17:

Linux 5.18-rc1 (2022-04-03 14:08:21 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.19-p1

for you to fetch changes up to e4e62bbc6aba49a5edb3156ec65f6698ff37d228:

hwrng: omap3-rom - fix using wrong clk_disable() in omap_rom_rng_runtime_resume() (2022-05-20 13:54:45 +0800)

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

API:

- Test in-place en/decryption with two sglists in testmgr.
- Fix process vs. softirq race in cryptd.

Algorithms:

- Add arm64 acceleration for sm4.
- Add s390 acceleration for chacha20.

Drivers:

- Add polarfire soc hwrng support in mpsf.
- Add support for TI SoC AM62x in sa2ul.
- Add support for ATSHA204 cryptochip in atmel-sha204a.
- Add support for PRNG in caam.
- Restore support for storage encryption in qat.
- Restore support for storage encryption in hisilicon/sec.

----------------------------------------------------------------
Colin Ian King (1):
hwrng: optee - remove redundant initialization to variable rng_size

Conor Dooley (1):
hwrng: mpfs - add polarfire soc hwrng support

Corentin Labbe (20):
crypto: marvell/cesa - ECB does not IV
crypto: sun8i-ce - Fix minor style issue
crypto: sun8i-ce - do not allocate memory when handling requests
crypto: sun4i-ss - do not allocate backup IV on requests
crypto: sun8i-ss - rework handling of IV
crypto: sun8i-ss - handle zero sized sg
crypto: sun8i-ss - remove redundant test
crypto: sun8i-ss - test error before assigning
crypto: sun8i-ss - use sg_nents_for_len
crypto: sun8i-ss - do not allocate memory when handling hash requests
crypto: sun8i-ss - do not zeroize all pad
crypto: sun8i-ss - handle requests if last block is not modulo 64
crypto: sun8i-ss - rework debugging
crypto: sun8i-ss - Add function for handling hash padding
crypto: sun8i-ss - add hmac(sha1)
crypto: sun8i-ss - do not fallback if cryptlen is less than sg length
crypto: sun8i-ce - Add function for handling hash padding
crypto: sun8i-ce - use sg_nents_for_len
crypto: sun8i-ce - rework debugging
crypto: sun8i-ce - do not fallback if cryptlen is less than sg length

Eric Biggers (1):
crypto: testmgr - test in-place en/decryption with two sglists

Fabio Estevam (1):
crypto: caam - fix i.MX6SX entropy delay value

Gilad Ben-Yossef (2):
crypto: ccree - rearrange init calls to avoid race
crypto: ccree - use fine grained DMA mapping dir

Giovanni Cabiddu (15):
crypto: qat - set CIPHER capability for DH895XCC
crypto: qat - set COMPRESSION capability for DH895XCC
crypto: qat - remove unused PFVF stubs
crypto: qat - set to zero DH parameters before free
crypto: qat - use pre-allocated buffers in datapath
crypto: qat - refactor submission logic
crypto: qat - add backlog mechanism
crypto: qat - fix memory leak in RSA
crypto: qat - remove dma_free_coherent() for RSA
crypto: qat - remove dma_free_coherent() for DH
crypto: qat - add param check for RSA
crypto: qat - add param check for DH
crypto: qat - honor CRYPTO_TFM_REQ_MAY_SLEEP flag
crypto: qat - re-enable registration of algorithms
crypto: qat - add support for 401xx devices

Haowen Bai (1):
crypto: qat - Fix unsigned function returning negative constant

Herbert Xu (3):
hwrng: mpfs - Enable COMPILE_TEST
Revert "hwrng: mpfs - Enable COMPILE_TEST"
hwrng: cn10k - Enable compile testing

Hui Tang (1):
crypto: hisilicon/qm - optimize the barrier operation

Jacky Li (1):
crypto: ccp - Fix the INIT_EX data file open failure

Jakob Koschel (1):
crypto: cavium/nitrox - remove check of list iterator against head past the loop body

Jason A. Donenfeld (1):
crypto: sm3,sm4 - move into crypto directory

Jayesh Choudhary (2):
dt-bindings: crypto: ti,sa2ul: Add a new compatible for AM62
crypto: sa2ul - Add the new compatible for AM62

Juerg Haefliger (1):
crypto: inside-secure - Add MODULE_FIRMWARE macros

Kai Ye (13):
crypto: hisilicon/qm - add register checking for ACC
crypto: hisilicon/hpre - support register checking
crypto: hisilicon/sec - support register checking
crypto: hisilicon/zip - support register checking
Documentation: update debugfs doc for Hisilicon HPRE
Documentation: update debugfs doc for Hisilicon SEC
Documentation: update debugfs doc for Hisilicon ZIP
crypto: hisilicon/qm - add last word dumping for ACC
crypto: hisilicon/sec - support last word dumping
crypto: hisilicon/hpre - support last word dumping
crypto: hisilicon/zip - support last word dumping
crypto: hisilicon/sec - add sm4 generic selection
crypto: hisilicon/sec - delete the flag CRYPTO_ALG_ALLOCATES_MEMORY

Lv Ruyi (1):
crypto: keembay - Make use of devm helper function devm_platform_ioremap_resource()

Marco Chiappero (12):
crypto: qat - fix ETR sources enabled by default on GEN2 devices
crypto: qat - remove unneeded braces
crypto: qat - remove unnecessary tests to detect PFVF support
crypto: qat - add missing restarting event notification in VFs
crypto: qat - test PFVF registers for spurious interrupts on GEN4
crypto: qat - fix wording and formatting in code comment
crypto: qat - fix off-by-one error in PFVF debug print
crypto: qat - rework the VF2PF interrupt handling logic
crypto: qat - leverage the GEN2 VF mask definiton
crypto: qat - replace disable_vf2pf_interrupts()
crypto: qat - use u32 variables in all GEN4 pfvf_ops
crypto: qat - remove line wrapping for pfvf_ops functions

Mario Limonciello (4):
crypto: ccp - cache capability into psp device
crypto: ccp - Export PSP security bits to userspace
crypto: ccp - Allow PSP driver to load without SEV/TEE support
crypto: ccp - When TSME and SME both detected notify user

Masahiro Yamada (2):
crypto: vmx - Align the short log with Makefile cleanups
crypto: vmx - Fix build error

Meenakshi Aggarwal (1):
crypto: caam/rng - Add support for PRNG

Minghao Chi (3):
crypto: sun8i-ss - using pm_runtime_resume_and_get instead of pm_runtime_get_sync
crypto: sun8i-ce - using pm_runtime_resume_and_get instead of pm_runtime_get_sync
crypto: octeontx2 - simplify the return expression of otx2_cpt_aead_cbc_aes_sha_setkey()

Pali Roh?r (1):
crypto: atmel-sha204a - Add support for ATSHA204 cryptochip

Peter Gonda (1):
crypto: ccp - Log when resetting PSP SEV state

Randy Dunlap (1):
crypto: x86 - eliminate anonymous module_init & module_exit

Robin Murphy (1):
crypto: qat - stop using iommu_present()

Sebastian Andrzej Siewior (1):
crypto: cryptd - Protect per-CPU resource by disabling BH.

Tetsuo Handa (1):
crypto: atmel - Avoid flush_scheduled_work() usage

Tianjia Zhang (5):
crypto: sm4 - export sm4 constant arrays
crypto: arm64/sm4-ce - rename to sm4-ce-cipher
crypto: arm64/sm4 - add ARMv8 NEON implementation
crypto: arm64/sm4 - add ARMv8 Crypto Extensions implementation
crypto: arm64/sm4 - Fix wrong dependency of NEON/CE implementation

Uwe Kleine-K?nig (3):
crypto: atmel-sha204a - Remove useless check
crypto: atmel-sha204a - Suppress duplicate error message
crypto: atmel-i2c - Simplify return code in probe function

Vitaly Chikunov (1):
crypto: ecrdsa - Fix incorrect use of vli_cmp

Vladis Dronov (3):
hwrng: cn10k - Optimize cn10k_rng_read()
hwrng: cn10k - Make check_rng_health() return an error code
crypto: s390 - add crypto library interface for ChaCha20

Weili Qian (4):
crypto: hisilicon/qm - remove unused function declaration
crypto: hisilicon/qm - set function with static
crypto: hisilicon/qm - replace hisi_qm_release_qp() with hisi_qm_free_qps()
crypto: hisilicon/qm - remove hisi_qm_get_free_qp_num()

Wojciech Ziemba (1):
crypto: qat - add check for invalid PFVF protocol version 0

Yang Li (1):
crypto: engine - Add parameter description in crypto_transfer_request() kernel-doc comment

Yang Shen (1):
crypto: hisilicon/sgl - align the hardware sgl dma address

Yang Yingliang (1):
hwrng: omap3-rom - fix using wrong clk_disable() in omap_rom_rng_runtime_resume()

Yihao Han (1):
crypto: ux500/hash - simplify if-if to if-else

jianchunfu (1):
crypto: talitos - Uniform coding style with defined variable

Documentation/ABI/testing/debugfs-hisi-hpre | 14 +
Documentation/ABI/testing/debugfs-hisi-sec | 14 +
Documentation/ABI/testing/debugfs-hisi-zip | 14 +
Documentation/ABI/testing/sysfs-driver-ccp | 87 +++
.../devicetree/bindings/crypto/ti,sa2ul.yaml | 1 +
.../devicetree/bindings/trivial-devices.yaml | 4 +-
arch/arm64/crypto/Kconfig | 16 +-
arch/arm64/crypto/Makefile | 8 +-
arch/arm64/crypto/sm4-ce-cipher-core.S | 36 ++
arch/arm64/crypto/sm4-ce-cipher-glue.c | 82 +++
arch/arm64/crypto/sm4-ce-core.S | 688 ++++++++++++++++++++-
arch/arm64/crypto/sm4-ce-glue.c | 386 ++++++++++--
arch/arm64/crypto/sm4-neon-core.S | 487 +++++++++++++++
arch/arm64/crypto/sm4-neon-glue.c | 442 +++++++++++++
arch/s390/crypto/chacha-glue.c | 34 +-
arch/x86/crypto/blowfish_glue.c | 8 +-
arch/x86/crypto/camellia_glue.c | 8 +-
arch/x86/crypto/serpent_avx2_glue.c | 8 +-
arch/x86/crypto/twofish_glue.c | 8 +-
arch/x86/crypto/twofish_glue_3way.c | 8 +-
crypto/Kconfig | 18 +-
crypto/Makefile | 6 +-
crypto/cryptd.c | 23 +-
crypto/crypto_engine.c | 1 +
crypto/ecrdsa.c | 8 +-
{lib/crypto => crypto}/sm3.c | 0
{lib/crypto => crypto}/sm4.c | 10 +-
crypto/testmgr.c | 75 ++-
drivers/char/hw_random/Kconfig | 15 +-
drivers/char/hw_random/Makefile | 1 +
drivers/char/hw_random/cn10k-rng.c | 31 +-
drivers/char/hw_random/mpfs-rng.c | 104 ++++
drivers/char/hw_random/omap3-rom-rng.c | 2 +-
drivers/char/hw_random/optee-rng.c | 2 +-
drivers/crypto/Kconfig | 4 +-
drivers/crypto/Makefile | 1 +
.../crypto/allwinner/sun4i-ss/sun4i-ss-cipher.c | 22 +-
drivers/crypto/allwinner/sun4i-ss/sun4i-ss.h | 1 +
.../crypto/allwinner/sun8i-ce/sun8i-ce-cipher.c | 102 +--
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-core.c | 54 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-hash.c | 130 ++--
drivers/crypto/allwinner/sun8i-ce/sun8i-ce-prng.c | 6 +-
drivers/crypto/allwinner/sun8i-ce/sun8i-ce.h | 19 +-
.../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 180 ++++--
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 92 ++-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 385 ++++++++++--
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-prng.c | 6 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss.h | 33 +-
drivers/crypto/atmel-ecc.c | 2 +-
drivers/crypto/atmel-i2c.c | 30 +-
drivers/crypto/atmel-i2c.h | 1 +
drivers/crypto/atmel-sha204a.c | 11 +-
drivers/crypto/caam/Kconfig | 8 +
drivers/crypto/caam/Makefile | 1 +
drivers/crypto/caam/caamprng.c | 235 +++++++
drivers/crypto/caam/ctrl.c | 18 +
drivers/crypto/caam/intern.h | 15 +
drivers/crypto/caam/jr.c | 3 +-
drivers/crypto/cavium/nitrox/nitrox_main.c | 10 +-
drivers/crypto/ccp/psp-dev.c | 49 +-
drivers/crypto/ccp/psp-dev.h | 22 +
drivers/crypto/ccp/sev-dev.c | 32 +-
drivers/crypto/ccp/sp-pci.c | 62 ++
drivers/crypto/ccree/cc_buffer_mgr.c | 27 +-
drivers/crypto/ccree/cc_driver.c | 24 +-
drivers/crypto/hisilicon/Kconfig | 1 +
drivers/crypto/hisilicon/hpre/hpre_main.c | 222 +++++--
drivers/crypto/hisilicon/qm.c | 282 ++++++++-
drivers/crypto/hisilicon/sec2/sec_crypto.c | 2 -
drivers/crypto/hisilicon/sec2/sec_main.c | 108 +++-
drivers/crypto/hisilicon/sgl.c | 6 +-
drivers/crypto/hisilicon/zip/zip_crypto.c | 2 +-
drivers/crypto/hisilicon/zip/zip_main.c | 185 +++++-
drivers/crypto/inside-secure/safexcel.c | 9 +
drivers/crypto/keembay/keembay-ocs-aes-core.c | 9 +-
drivers/crypto/marvell/cesa/cipher.c | 1 -
drivers/crypto/marvell/octeontx2/otx2_cptvf_algs.c | 7 +-
drivers/crypto/qat/qat_4xxx/adf_drv.c | 8 +-
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.c | 15 +-
drivers/crypto/qat/qat_c3xxx/adf_c3xxx_hw_data.h | 4 -
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.c | 15 +-
drivers/crypto/qat/qat_c62x/adf_c62x_hw_data.h | 4 -
drivers/crypto/qat/qat_common/Makefile | 1 +
drivers/crypto/qat/qat_common/adf_accel_devices.h | 6 +-
drivers/crypto/qat/qat_common/adf_common_drv.h | 18 +-
drivers/crypto/qat/qat_common/adf_gen2_hw_data.c | 13 +
drivers/crypto/qat/qat_common/adf_gen2_hw_data.h | 6 +
drivers/crypto/qat/qat_common/adf_gen2_pfvf.c | 78 ++-
drivers/crypto/qat/qat_common/adf_gen4_pfvf.c | 61 +-
drivers/crypto/qat/qat_common/adf_isr.c | 21 +-
drivers/crypto/qat/qat_common/adf_pfvf_msg.h | 4 +-
drivers/crypto/qat/qat_common/adf_pfvf_pf_proto.c | 6 +-
drivers/crypto/qat/qat_common/adf_sriov.c | 16 +-
drivers/crypto/qat/qat_common/adf_transport.c | 11 +
drivers/crypto/qat/qat_common/adf_transport.h | 1 +
.../crypto/qat/qat_common/adf_transport_internal.h | 1 +
drivers/crypto/qat/qat_common/adf_vf_isr.c | 1 +
drivers/crypto/qat/qat_common/qat_algs.c | 153 +++--
drivers/crypto/qat/qat_common/qat_algs_send.c | 86 +++
drivers/crypto/qat/qat_common/qat_algs_send.h | 11 +
drivers/crypto/qat/qat_common/qat_asym_algs.c | 307 +++++----
drivers/crypto/qat/qat_common/qat_crypto.c | 10 +-
drivers/crypto/qat/qat_common/qat_crypto.h | 44 ++
drivers/crypto/qat/qat_common/qat_hal.c | 1 +
drivers/crypto/qat/qat_common/qat_uclo.c | 3 +-
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.c | 126 ++--
.../crypto/qat/qat_dh895xcc/adf_dh895xcc_hw_data.h | 4 -
drivers/crypto/sa2ul.c | 1 +
drivers/crypto/talitos.c | 10 +-
drivers/crypto/ux500/hash/hash_core.c | 4 +-
drivers/crypto/vmx/Makefile | 17 +-
include/crypto/sm4.h | 4 +
include/linux/hisi_acc_qm.h | 23 +-
lib/crypto/Kconfig | 6 -
lib/crypto/Makefile | 6 -
tools/testing/crypto/chacha20-s390/Makefile | 12 +
tools/testing/crypto/chacha20-s390/run-tests.sh | 34 +
tools/testing/crypto/chacha20-s390/test-cipher.c | 372 +++++++++++
118 files changed, 5534 insertions(+), 1058 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-ccp
create mode 100644 arch/arm64/crypto/sm4-ce-cipher-core.S
create mode 100644 arch/arm64/crypto/sm4-ce-cipher-glue.c
create mode 100644 arch/arm64/crypto/sm4-neon-core.S
create mode 100644 arch/arm64/crypto/sm4-neon-glue.c
rename {lib/crypto => crypto}/sm3.c (100%)
rename {lib/crypto => crypto}/sm4.c (94%)
create mode 100644 drivers/char/hw_random/mpfs-rng.c
create mode 100644 drivers/crypto/caam/caamprng.c
create mode 100644 drivers/crypto/qat/qat_common/qat_algs_send.c
create mode 100644 drivers/crypto/qat/qat_common/qat_algs_send.h
create mode 100644 tools/testing/crypto/chacha20-s390/Makefile
create mode 100644 tools/testing/crypto/chacha20-s390/run-tests.sh
create mode 100644 tools/testing/crypto/chacha20-s390/test-cipher.c

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

2022-05-28 10:54:17

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Crypto Fixes for 5.19

The pull request you sent on Fri, 27 May 2022 19:29:02 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.19-p1

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

Thank you!

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

2022-06-17 08:31:17

by Herbert Xu

[permalink] [raw]
Subject: [GIT PULL] Crypto Fixes for 5.19

Hi Linus:

The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:

Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.19-p2

for you to fetch changes up to abfed87e2a12bd246047d78c01d81eb9529f1d06:

crypto: memneq - move into lib/ (2022-06-12 14:51:51 +0800)

----------------------------------------------------------------
This push fixes a potential build failure when CRYPTO=m.
----------------------------------------------------------------

Jason A. Donenfeld (1):
crypto: memneq - move into lib/

crypto/Kconfig | 1 +
crypto/Makefile | 2 +-
lib/Kconfig | 3 +++
lib/Makefile | 1 +
lib/crypto/Kconfig | 1 +
{crypto => lib}/memneq.c | 0
6 files changed, 7 insertions(+), 1 deletion(-)
rename {crypto => lib}/memneq.c (100%)

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

2022-06-17 15:30:23

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Crypto Fixes for 5.19

The pull request you sent on Fri, 17 Jun 2022 16:29:33 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.19-p2

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

Thank you!

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

2022-06-30 08:00:39

by Herbert Xu

[permalink] [raw]
Subject: [GIT PULL] Crypto Fixes for 5.19

Hi Linus:

The following changes since commit abfed87e2a12bd246047d78c01d81eb9529f1d06:

crypto: memneq - move into lib/ (2022-06-12 14:51:51 +0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.19-p3

for you to fetch changes up to 87d044096ea62f1f230e8c4679ee8abf03266f64:

crypto: ccp - Fix device IRQ counting by using platform_irq_count() (2022-06-24 17:09:01 +0800)

----------------------------------------------------------------
This push fixes a regression that breaks the ccp driver.
----------------------------------------------------------------

Tom Lendacky (1):
crypto: ccp - Fix device IRQ counting by using platform_irq_count()

drivers/crypto/ccp/sp-platform.c | 12 ++----------
1 file changed, 2 insertions(+), 10 deletions(-)

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

2022-06-30 17:29:43

by pr-tracker-bot

[permalink] [raw]
Subject: Re: [GIT PULL] Crypto Fixes for 5.19

The pull request you sent on Thu, 30 Jun 2022 15:56:44 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.19-p3

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

Thank you!

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

2022-08-02 06:13:24

by Herbert Xu

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

Hi Linus:

The following changes since commit f2906aa863381afb0015a9eb7fefad885d4e5a56:

Linux 5.19-rc1 (2022-06-05 17:18:54 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.20-p1

for you to fetch changes up to af5d35b83f642399c719ea9a8599a13b8a0c4167:

crypto: tcrypt - Remove the static variable initialisations to NULL (2022-07-29 18:29:18 +0800)

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

API:

- Make proc files report fips module name and version.

Algorithms:

- Move generic SHA1 code into lib/crypto.
- Implement Chinese Remainder Theorem for RSA.
- Remove blake2s.
- Add XCTR with x86/arm64 acceleration.
- Add POLYVAL with x86/arm64 acceleration.
- Add HCTR2.
- Add ARIA.

Drivers:

- Add support for new CCP/PSP device ID in ccp.

----------------------------------------------------------------
Alexey Khoroshilov (1):
crypto: sun8i-ss - fix infinite loop in sun8i_ss_setup_ivs()

Andre Przywara (1):
crypto: qat - replace get_current_node() with numa_node_id()

Andrew Davis (2):
crypto: sa2ul - Set the supported_algos bits individually
crypto: sa2ul - Check engine status before enabling

Bagas Sanjaya (2):
Documentation: qat: Use code block for qat sysfs example
Documentation: qat: rewrite description

Christophe JAILLET (2):
crypto: ccree - Remove a useless dma_supported() call
crypto: hisilicon/zip - Use the bitmap API to allocate bitmaps

Claudiu Beznea (2):
crypto: atmel-sha - initialize sha_dd while declaring
crypto: atmel-tdes - initialize tdes_dd while declaring

Colin Ian King (1):
crypto: x86/blowfish - remove redundant assignment to variable nytes

Dan Carpenter (2):
crypto: sun8i-ss - fix error codes in allocate_flows()
crypto: sun8i-ss - Fix error codes for dma_mapping_error()

Eric Biggers (3):
crypto: lib - move lib/sha1.c into lib/crypto/
crypto: lib - make the sha1 library optional
crypto: lib - add module license to libsha1

GUO Zihua (1):
crypto: arm64/poly1305 - fix a read out-of-bound

Giovanni Cabiddu (4):
crypto: qat - expose device state through sysfs for 4xxx
crypto: qat - change behaviour of adf_cfg_add_key_value_param()
crypto: qat - relocate and rename adf_sriov_prepare_restart()
crypto: qat - expose device config through sysfs for 4xxx

Herbert Xu (1):
crypto: vmx - Fix warning on p8_ghash_alg

Ignat Korchagin (3):
crypto: rsa - implement Chinese Remainder Theorem for faster private key operations
crypto: testmgr - populate RSA CRT parameters in RSA test vectors
crypto: testmgr - some more fixes to RSA test vectors

Jakub Kicinski (1):
crypto: caam/qi2 - switch to netif_napi_add_tx_weight()

Jason A. Donenfeld (3):
crypto: memneq - move into lib/
crypto: blake2s - remove shash module
crypto: lib/blake2s - reduce stack frame usage in self test

Jason Wang (3):
crypto: twofish - Fix comment typo
hwrng: via - Fix comment typo
crypto: tcrypt - Remove the static variable initialisations to NULL

Jiang Jian (6):
crypto: nx - drop unexpected word "the"
crypto: ux500/hash - drop unexpected word "the"
crypto: cavium - fix typos in comments
crypto: caam - drop unexpected word 'a' in comments
crypto: caam - drop unexpected word 'for' in comments
crypto: vmx - drop unexpected word 'for' in comments

Jianglei Nie (1):
crypto: hisilicon/sec - fix inconsistent argument

Jilin Yuan (1):
crypto: arm64/aes-neon - Fix typo in comment

John Allen (1):
crypto: ccp - Use kzalloc for sev ioctl interfaces to prevent kernel memory leak

Julia Lawall (2):
crypto: hisilicon/sec - fix typos in comment
crypto: ccp - fix typo in comment

Kai Ye (2):
crypto: hisilicon/sec - only HW V2 needs to change the BD err detection
crypto: hisilicon/sec - fix auth key size error

Liang He (2):
crypto: amcc - Hold the reference returned by of_find_compatible_node
crypto: nx - Hold the reference returned by of_find_compatible_node

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

Nathan Huckleberry (9):
crypto: xctr - Add XCTR support
crypto: polyval - Add POLYVAL support
crypto: hctr2 - Add HCTR2 support
crypto: x86/aesni-xctr - Add accelerated implementation of XCTR
crypto: arm64/aes-xctr - Add accelerated implementation of XCTR
crypto: arm64/aes-xctr - Improve readability of XCTR and CTR modes
crypto: x86/polyval - Add PCLMULQDQ accelerated implementation of POLYVAL
crypto: arm64/polyval - Add PMULL accelerated implementation of POLYVAL
fscrypt: Add HCTR2 support for filename encryption

Ofer Heifetz (1):
crypto: inside-secure - fix packed bit-field result descriptor

Pali Roh?r (1):
crypto: inside-secure - Add missing MODULE_DEVICE_TABLE for of

Peng Wu (1):
crypto: sun8i-ss - fix a NULL vs IS_ERR() check in sun8i_ss_hashkey

Qian Cai (1):
crypto: arm64/gcm - Select AEAD for GHASH_ARM64_CE

Randy Dunlap (1):
crypto: rmd160 - fix Kconfig "its" grammar

Shijith Thotton (2):
crypto: octeontx2 - add firmware version in devlink info
crypto: octeontx2 - fix potential null pointer access

Taehee Yoo (2):
crypto: aria - Implement ARIA symmetric cipher algorithm
crypto: testmgr - add ARIA testmgr tests

Tom Lendacky (1):
crypto: ccp - During shutdown, check SEV data pointer before using

Uwe Kleine-K?nig (9):
crypto: atmel-ecc - Remove duplicated error reporting in .remove()
crypto: atmel-aes - Drop if with an always false condition
crypto: atmel-sha - Drop if with an always false condition
crypto: atmel-tdes - Drop if with an always false condition
crypto: omap-aes - Drop if with an always false condition
crypto: omap-des - Drop if with an always false condition
crypto: omap-sham - Drop if with an always false condition
crypto: s5p-sss - Drop if with an always false condition
crypto: keembay-ocs-ecc - Drop if with an always false condition

Vladis Dronov (1):
crypto: fips - make proc files report fips module name and version

Weili Qian (4):
crypto: hisilicon/trng - fix local variable type
crypto: hisilicon/qm - add functions for releasing resources
crypto: hisilicon/qm - move alloc qm->wq to qm.c
crypto: hisilicon/qm - modify event irq processing

Yoan Picchi (1):
crypto: qat - Removes the x86 dependency on the QAT drivers

Yuan Can (1):
crypto: ccree - Add missing clk_disable_unprepare() in cc_pm_resume()

Zhengchao Shao (3):
crypto: hisilicon/sec - don't sleep when in softirq
crypto: hisilicon - Kunpeng916 crypto driver don't sleep when in softirq
crypto: hisilicon/hpre - don't use GFP_KERNEL to alloc mem during softirq

Zhou Wang (1):
MAINTAINERS: update HiSilicon ZIP and QM maintainers

lei he (1):
crypto: testmgr - fix version number of RSA tests

shaom Deng (1):
cyrpto: powerpc/aes - delete the rebundant word "block" in comments

Documentation/ABI/testing/sysfs-driver-qat | 49 +
Documentation/filesystems/fscrypt.rst | 22 +-
MAINTAINERS | 15 +-
arch/arm/crypto/Kconfig | 2 +-
arch/arm/crypto/Makefile | 4 +-
arch/arm/crypto/blake2s-shash.c | 75 -
arch/arm64/crypto/Kconfig | 10 +-
arch/arm64/crypto/Makefile | 3 +
arch/arm64/crypto/aes-glue.c | 80 +-
arch/arm64/crypto/aes-modes.S | 349 +-
arch/arm64/crypto/aes-neon.S | 2 +-
arch/arm64/crypto/poly1305-glue.c | 2 +-
arch/arm64/crypto/polyval-ce-core.S | 361 ++
arch/arm64/crypto/polyval-ce-glue.c | 191 +
arch/powerpc/crypto/aes-spe-glue.c | 2 +-
arch/x86/crypto/Makefile | 7 +-
arch/x86/crypto/aes_ctrby8_avx-x86_64.S | 232 +-
arch/x86/crypto/aesni-intel_glue.c | 114 +-
arch/x86/crypto/blake2s-glue.c | 3 +-
arch/x86/crypto/blake2s-shash.c | 77 -
arch/x86/crypto/blowfish_glue.c | 4 +-
arch/x86/crypto/polyval-clmulni_asm.S | 321 ++
arch/x86/crypto/polyval-clmulni_glue.c | 203 +
crypto/Kconfig | 99 +-
crypto/Makefile | 7 +-
crypto/aria.c | 288 ++
crypto/blake2s_generic.c | 75 -
crypto/fips.c | 35 +-
crypto/hctr2.c | 581 +++
crypto/polyval-generic.c | 245 +
crypto/rsa.c | 78 +-
crypto/tcrypt.c | 62 +-
crypto/testmgr.c | 75 +-
crypto/testmgr.h | 4830 ++++++++++++++++++--
crypto/twofish_common.c | 2 +-
crypto/xctr.c | 191 +
drivers/char/hw_random/via-rng.c | 2 +-
.../crypto/allwinner/sun8i-ss/sun8i-ss-cipher.c | 1 +
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-core.c | 16 +-
drivers/crypto/allwinner/sun8i-ss/sun8i-ss-hash.c | 10 +-
drivers/crypto/amcc/crypto4xx_core.c | 40 +-
drivers/crypto/atmel-aes.c | 3 +-
drivers/crypto/atmel-ecc.c | 12 +-
drivers/crypto/atmel-sha.c | 5 +-
drivers/crypto/atmel-tdes.c | 5 +-
drivers/crypto/caam/caamalg_qi2.c | 7 +-
drivers/crypto/caam/caamhash_desc.c | 2 +-
drivers/crypto/caam/qi.c | 6 +-
drivers/crypto/cavium/cpt/cpt_hw_types.h | 2 +-
drivers/crypto/ccp/ccp-dev.h | 2 +-
drivers/crypto/ccp/sev-dev.c | 12 +-
drivers/crypto/ccp/sp-pci.c | 7 +
drivers/crypto/ccree/cc_driver.c | 13 +-
drivers/crypto/ccree/cc_pm.c | 2 +
drivers/crypto/hisilicon/hpre/hpre_crypto.c | 2 +-
drivers/crypto/hisilicon/qm.c | 203 +-
drivers/crypto/hisilicon/sec/sec_algs.c | 14 +-
drivers/crypto/hisilicon/sec/sec_drv.c | 2 +-
drivers/crypto/hisilicon/sec/sec_drv.h | 2 +-
drivers/crypto/hisilicon/sec2/sec.h | 6 +-
drivers/crypto/hisilicon/sec2/sec_crypto.c | 26 +-
drivers/crypto/hisilicon/sec2/sec_crypto.h | 1 +
drivers/crypto/hisilicon/sec2/sec_main.c | 39 +-
drivers/crypto/hisilicon/trng/trng.c | 2 +-
drivers/crypto/hisilicon/zip/zip_crypto.c | 10 +-
drivers/crypto/hisilicon/zip/zip_main.c | 17 +-
drivers/crypto/inside-secure/safexcel.c | 2 +
drivers/crypto/inside-secure/safexcel.h | 18 +-
drivers/crypto/keembay/keembay-ocs-ecc.c | 2 -
.../crypto/marvell/octeontx2/otx2_cpt_devlink.c | 40 +-
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.c | 17 +-
.../crypto/marvell/octeontx2/otx2_cptpf_ucode.h | 3 +
drivers/crypto/nx/nx-common-powernv.c | 2 +-
drivers/crypto/nx/nx-common-pseries.c | 5 +-
drivers/crypto/omap-aes.c | 4 -
drivers/crypto/omap-des.c | 4 -
drivers/crypto/omap-sham.c | 3 +-
drivers/crypto/qat/Kconfig | 14 +-
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.c | 1 +
drivers/crypto/qat/qat_4xxx/adf_4xxx_hw_data.h | 1 +
drivers/crypto/qat/qat_4xxx/adf_drv.c | 6 +-
drivers/crypto/qat/qat_common/Makefile | 1 +
drivers/crypto/qat/qat_common/adf_accel_devices.h | 1 +
drivers/crypto/qat/qat_common/adf_cfg.c | 41 +-
drivers/crypto/qat/qat_common/adf_common_drv.h | 8 +-
drivers/crypto/qat/qat_common/adf_init.c | 26 +
drivers/crypto/qat/qat_common/adf_sriov.c | 28 +-
drivers/crypto/qat/qat_common/adf_sysfs.c | 191 +
drivers/crypto/qat/qat_common/qat_algs.c | 4 +-
drivers/crypto/qat/qat_common/qat_asym_algs.c | 4 +-
drivers/crypto/s5p-sss.c | 3 -
drivers/crypto/sa2ul.c | 25 +-
drivers/crypto/sa2ul.h | 1 +
drivers/crypto/ux500/hash/hash_core.c | 2 +-
drivers/crypto/vmx/ghash.c | 1 +
drivers/crypto/vmx/ghashp8-ppc.pl | 2 +-
fs/crypto/fscrypt_private.h | 2 +-
fs/crypto/keysetup.c | 7 +
fs/crypto/policy.c | 14 +-
include/crypto/aria.h | 461 ++
include/crypto/internal/blake2s.h | 108 -
include/crypto/polyval.h | 22 +
include/linux/hisi_acc_qm.h | 8 +-
include/uapi/linux/fscrypt.h | 3 +-
init/Kconfig | 1 +
lib/Kconfig | 3 +
lib/Makefile | 3 +-
lib/crypto/Kconfig | 4 +
lib/crypto/Makefile | 3 +
lib/crypto/blake2s-selftest.c | 41 +
lib/crypto/blake2s.c | 37 +-
lib/{ => crypto}/sha1.c | 3 +
{crypto => lib}/memneq.c | 0
lib/mpi/mpi-add.c | 2 +-
lib/mpi/mpi-mul.c | 1 +
net/ipv6/Kconfig | 1 +
116 files changed, 9147 insertions(+), 1204 deletions(-)
create mode 100644 Documentation/ABI/testing/sysfs-driver-qat
delete mode 100644 arch/arm/crypto/blake2s-shash.c
create mode 100644 arch/arm64/crypto/polyval-ce-core.S
create mode 100644 arch/arm64/crypto/polyval-ce-glue.c
delete mode 100644 arch/x86/crypto/blake2s-shash.c
create mode 100644 arch/x86/crypto/polyval-clmulni_asm.S
create mode 100644 arch/x86/crypto/polyval-clmulni_glue.c
create mode 100644 crypto/aria.c
delete mode 100644 crypto/blake2s_generic.c
create mode 100644 crypto/hctr2.c
create mode 100644 crypto/polyval-generic.c
create mode 100644 crypto/xctr.c
create mode 100644 drivers/crypto/qat/qat_common/adf_sysfs.c
create mode 100644 include/crypto/aria.h
create mode 100644 include/crypto/polyval.h
rename lib/{ => crypto}/sha1.c (98%)
rename {crypto => lib}/memneq.c (100%)

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

2022-08-03 00:58:42

by pr-tracker-bot

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

The pull request you sent on Tue, 2 Aug 2022 14:05:04 +0800:

> git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6.git tags/v5.20-p1

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

Thank you!

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