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 branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git…
…/herbert/crypto-2.6 Pull crypto updates from Herbert Xu: "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" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (157 commits) crypto: sa2ul - Fix inconsistent IS_ERR and PTR_ERR hwrng: core - remove redundant initialization of variable ret crypto: x86/curve25519 - Remove unused carry variables crypto: ingenic - Add hardware RNG for Ingenic JZ4780 and X1000 dt-bindings: RNG: Add Ingenic RNG bindings. crypto: caam/qi2 - add module alias crypto: caam - add more RNG hw error codes crypto: caam/jr - remove incorrect reference to caam_jr_register() crypto: caam - silence .setkey in case of bad key length crypto: caam/qi2 - create ahash shared descriptors only once crypto: caam/qi2 - fix error reporting for caam_hash_alloc crypto: caam - remove deadcode on 32-bit platforms crypto: ccp - use generic power management crypto: xts - Replace memcpy() invocation with simple assignment crypto: marvell/cesa - irq balance crypto: inside-secure - irq balance crypto: ecc - SP800-56A rev 3 local public key validation crypto: dh - SP800-56A rev 3 local public key validation crypto: dh - check validity of Z before export lib/mpi: Add mpi_sub_ui() ...
- Loading branch information
Showing
257 changed files
with
6,648 additions
and
5,497 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only or BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/crypto/ti,sa2ul.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: K3 SoC SA2UL crypto module | ||
|
||
maintainers: | ||
- Tero Kristo <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- ti,j721e-sa2ul | ||
- ti,am654-sa2ul | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
power-domains: | ||
maxItems: 1 | ||
|
||
dmas: | ||
items: | ||
- description: TX DMA Channel | ||
- description: RX DMA Channel #1 | ||
- description: RX DMA Channel #2 | ||
|
||
dma-names: | ||
items: | ||
- const: tx | ||
- const: rx1 | ||
- const: rx2 | ||
|
||
dma-coherent: true | ||
|
||
"#address-cells": | ||
const: 2 | ||
|
||
"#size-cells": | ||
const: 2 | ||
|
||
ranges: | ||
description: | ||
Address translation for the possible RNG child node for SA2UL | ||
|
||
patternProperties: | ||
"^rng@[a-f0-9]+$": | ||
type: object | ||
description: | ||
Child RNG node for SA2UL | ||
|
||
required: | ||
- compatible | ||
- reg | ||
- power-domains | ||
- dmas | ||
- dma-names | ||
- dma-coherent | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
#include <dt-bindings/soc/ti,sci_pm_domain.h> | ||
main_crypto: crypto@4e00000 { | ||
compatible = "ti,j721-sa2ul"; | ||
reg = <0x0 0x4e00000 0x0 0x1200>; | ||
power-domains = <&k3_pds 264 TI_SCI_PD_EXCLUSIVE>; | ||
dmas = <&main_udmap 0xc000>, <&main_udmap 0x4000>, | ||
<&main_udmap 0x4001>; | ||
dma-names = "tx", "rx1", "rx2"; | ||
dma-coherent; | ||
}; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rng/ingenic,rng.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Bindings for RNG in Ingenic SoCs | ||
|
||
maintainers: | ||
- 周琰杰 (Zhou Yanjie) <[email protected]> | ||
|
||
description: | ||
The Random Number Generator in Ingenic SoCs. | ||
|
||
properties: | ||
compatible: | ||
enum: | ||
- ingenic,jz4780-rng | ||
- ingenic,x1000-rng | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
rng: rng@d8 { | ||
compatible = "ingenic,jz4780-rng"; | ||
reg = <0xd8 0x8>; | ||
}; | ||
... |
36 changes: 36 additions & 0 deletions
36
Documentation/devicetree/bindings/rng/silex-insight,ba431-rng.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,36 @@ | ||
# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) | ||
%YAML 1.2 | ||
--- | ||
$id: http://devicetree.org/schemas/rng/silex-insight,ba431-rng.yaml# | ||
$schema: http://devicetree.org/meta-schemas/core.yaml# | ||
|
||
title: Silex Insight BA431 RNG bindings | ||
|
||
description: | | ||
The BA431 hardware random number generator is an IP that is FIPS-140-2/3 | ||
certified. | ||
maintainers: | ||
- Olivier Sobrie <[email protected]> | ||
|
||
properties: | ||
compatible: | ||
const: silex-insight,ba431-rng | ||
|
||
reg: | ||
maxItems: 1 | ||
|
||
required: | ||
- compatible | ||
- reg | ||
|
||
additionalProperties: false | ||
|
||
examples: | ||
- | | ||
rng@42800000 { | ||
compatible = "silex-insight,ba431-rng"; | ||
reg = <0x42800000 0x1000>; | ||
}; | ||
... |
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 |
---|---|---|
|
@@ -830,11 +830,20 @@ F: include/uapi/rdma/efa-abi.h | |
|
||
AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER | ||
M: Tom Lendacky <[email protected]> | ||
M: John Allen <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: drivers/crypto/ccp/ | ||
F: include/linux/ccp.h | ||
|
||
AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER - SEV SUPPORT | ||
M: Brijesh Singh <[email protected]> | ||
M: Tom Lendacky <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: drivers/crypto/ccp/sev* | ||
F: include/uapi/linux/psp-sev.h | ||
|
||
AMD DISPLAY CORE | ||
M: Harry Wentland <[email protected]> | ||
M: Leo Li <[email protected]> | ||
|
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
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
@ Written by Andy Polyakov <[email protected]> for the OpenSSL | ||
@ project. The module is, however, dual licensed under OpenSSL and | ||
@ CRYPTOGAMS licenses depending on where you obtain it. For further | ||
@ details see http://www.openssl.org/~appro/cryptogams/. | ||
@ details see https://www.openssl.org/~appro/cryptogams/. | ||
@ ==================================================================== | ||
|
||
@ sha1_block procedure for ARMv4. | ||
|
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 |
---|---|---|
|
@@ -13,7 +13,7 @@ | |
# Written by Andy Polyakov <[email protected]> for the OpenSSL | ||
# project. The module is, however, dual licensed under OpenSSL and | ||
# CRYPTOGAMS licenses depending on where you obtain it. For further | ||
# details see http://www.openssl.org/~appro/cryptogams/. | ||
# details see https://www.openssl.org/~appro/cryptogams/. | ||
# ==================================================================== | ||
|
||
# SHA256 block procedure for ARMv4. May 2007. | ||
|
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 |
---|---|---|
|
@@ -12,7 +12,7 @@ | |
@ Written by Andy Polyakov <[email protected]> for the OpenSSL | ||
@ project. The module is, however, dual licensed under OpenSSL and | ||
@ CRYPTOGAMS licenses depending on where you obtain it. For further | ||
@ details see http://www.openssl.org/~appro/cryptogams/. | ||
@ details see https://www.openssl.org/~appro/cryptogams/. | ||
@ ==================================================================== | ||
|
||
@ SHA256 block procedure for ARMv4. May 2007. | ||
|
Oops, something went wrong.