forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge tag 'v6.10-p1' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/herbert/crypto-2.6 Pull crypto updates from Herbert Xu: "API: - Remove crypto stats interface Algorithms: - Add faster AES-XTS on modern x86_64 CPUs - Forbid curves with order less than 224 bits in ecc (FIPS 186-5) - Add ECDSA NIST P521 Drivers: - Expose otp zone in atmel - Add dh fallback for primes > 4K in qat - Add interface for live migration in qat - Use dma for aes requests in starfive - Add full DMA support for stm32mpx in stm32 - Add Tegra Security Engine driver Others: - Introduce scope-based x509_certificate allocation" * tag 'v6.10-p1' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (123 commits) crypto: atmel-sha204a - provide the otp content crypto: atmel-sha204a - add reading from otp zone crypto: atmel-i2c - rename read function crypto: atmel-i2c - add missing arg description crypto: iaa - Use kmemdup() instead of kzalloc() and memcpy() crypto: sahara - use 'time_left' variable with wait_for_completion_timeout() crypto: api - use 'time_left' variable with wait_for_completion_killable_timeout() crypto: caam - i.MX8ULP donot have CAAM page0 access crypto: caam - init-clk based on caam-page0-access crypto: starfive - Use fallback for unaligned dma access crypto: starfive - Do not free stack buffer crypto: starfive - Skip unneeded fallback allocation crypto: starfive - Skip dma setup for zeroed message crypto: hisilicon/sec2 - fix for register offset crypto: hisilicon/debugfs - mask the unnecessary info from the dump crypto: qat - specify firmware files for 402xx crypto: x86/aes-gcm - simplify GCM hash subkey derivation crypto: x86/aes-gcm - delete unused GCM assembly code crypto: x86/aes-xts - simplify loop in xts_crypt_slowpath() hwrng: stm32 - repair clock handling ...
- Loading branch information
Showing
153 changed files
with
10,315 additions
and
3,205 deletions.
There are no files selected for viewing
52 changes: 52 additions & 0 deletions
52
Documentation/devicetree/bindings/crypto/nvidia,tegra234-se-aes.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/crypto/nvidia,tegra234-se-aes.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NVIDIA Tegra Security Engine for AES algorithms | ||
|
||
description: | ||
The Tegra Security Engine accelerates the following AES encryption/decryption | ||
algorithms - AES-ECB, AES-CBC, AES-OFB, AES-XTS, AES-CTR, AES-GCM, AES-CCM, | ||
AES-CMAC | ||
|
||
maintainers: | ||
- Akhil R <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
const: nvidia,tegra234-se-aes | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
iommus: | ||
maxItems: 1 | ||
|
||
dma-coherent: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- iommus | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/memory/tegra234-mc.h> | ||
#include <dt-bindings/clock/tegra234-clock.h> | ||
crypto@15820000 { | ||
compatible = "nvidia,tegra234-se-aes"; | ||
reg = <0x15820000 0x10000>; | ||
clocks = <&bpmp TEGRA234_CLK_SE>; | ||
iommus = <&smmu TEGRA234_SID_SES_SE1>; | ||
dma-coherent; | ||
}; | ||
... |
52 changes: 52 additions & 0 deletions
52
Documentation/devicetree/bindings/crypto/nvidia,tegra234-se-hash.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/crypto/nvidia,tegra234-se-hash.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: NVIDIA Tegra Security Engine for HASH algorithms | ||
|
||
description: | ||
The Tegra Security HASH Engine accelerates the following HASH functions - | ||
SHA1, SHA224, SHA256, SHA384, SHA512, SHA3-224, SHA3-256, SHA3-384, SHA3-512 | ||
HMAC(SHA224), HMAC(SHA256), HMAC(SHA384), HMAC(SHA512) | ||
|
||
maintainers: | ||
- Akhil R <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
const: nvidia,tegra234-se-hash | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
clocks: | ||
maxItems: 1 | ||
|
||
iommus: | ||
maxItems: 1 | ||
|
||
dma-coherent: true | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- clocks | ||
- iommus | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/memory/tegra234-mc.h> | ||
#include <dt-bindings/clock/tegra234-clock.h> | ||
crypto@15840000 { | ||
compatible = "nvidia,tegra234-se-hash"; | ||
reg = <0x15840000 0x10000>; | ||
clocks = <&bpmp TEGRA234_CLK_SE>; | ||
iommus = <&smmu TEGRA234_SID_SES_SE2>; | ||
dma-coherent; | ||
}; | ||
... |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
56 changes: 56 additions & 0 deletions
56
Documentation/devicetree/bindings/crypto/ti,omap-sham.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/crypto/ti,omap-sham.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: OMAP SoC SHA crypto Module | ||
|
||
maintainers: | ||
- Animesh Agarwal <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- ti,omap2-sham | ||
- ti,omap4-sham | ||
- ti,omap5-sham | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
interrupts: | ||
maxItems: 1 | ||
|
||
dmas: | ||
maxItems: 1 | ||
|
||
dma-names: | ||
const: rx | ||
|
||
ti,hwmods: | ||
description: Name of the hwmod associated with the SHAM module | ||
$ref: /schemas/types.yaml#/definitions/string | ||
enum: [sham] | ||
|
||
dependencies: | ||
dmas: [dma-names] | ||
|
||
additionalProperties: false | ||
|
||
required: | ||
- compatible | ||
- ti,hwmods | ||
- reg | ||
- interrupts | ||
|
||
examples: | ||
- | | ||
sham@53100000 { | ||
compatible = "ti,omap4-sham"; | ||
ti,hwmods = "sham"; | ||
reg = <0x53100000 0x200>; | ||
interrupts = <109>; | ||
dmas = <&edma 36>; | ||
dma-names = "rx"; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.