-
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 git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto update from Herbert Xu: "Here is the crypto update for 4.2: API: - Convert RNG interface to new style. - New AEAD interface with one SG list for AD and plain/cipher text. All external AEAD users have been converted. - New asymmetric key interface (akcipher). Algorithms: - Chacha20, Poly1305 and RFC7539 support. - New RSA implementation. - Jitter RNG. - DRBG is now seeded with both /dev/random and Jitter RNG. If kernel pool isn't ready then DRBG will be reseeded when it is. - DRBG is now the default crypto API RNG, replacing krng. - 842 compression (previously part of powerpc nx driver). Drivers: - Accelerated SHA-512 for arm64. - New Marvell CESA driver that supports DMA and more algorithms. - Updated powerpc nx 842 support. - Added support for SEC1 hardware to talitos" * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (292 commits) crypto: marvell/cesa - remove COMPILE_TEST dependency crypto: algif_aead - Temporarily disable all AEAD algorithms crypto: af_alg - Forbid the use internal algorithms crypto: echainiv - Only hold RNG during initialisation crypto: seqiv - Add compatibility support without RNG crypto: eseqiv - Offer normal cipher functionality without RNG crypto: chainiv - Offer normal cipher functionality without RNG crypto: user - Add CRYPTO_MSG_DELRNG crypto: user - Move cryptouser.h to uapi crypto: rng - Do not free default RNG when it becomes unused crypto: skcipher - Allow givencrypt to be NULL crypto: sahara - propagate the error on clk_disable_unprepare() failure crypto: rsa - fix invalid select for AKCIPHER crypto: picoxcell - Update to the current clk API crypto: nx - Check for bogus firmware properties crypto: marvell/cesa - add DT bindings documentation crypto: marvell/cesa - add support for Kirkwood and Dove SoCs crypto: marvell/cesa - add support for Orion SoCs crypto: marvell/cesa - add allhwsupport module parameter crypto: marvell/cesa - add support for all armada SoCs ...
- Loading branch information
Showing
174 changed files
with
23,632 additions
and
7,312 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
Marvell Cryptographic Engines And Security Accelerator | ||
|
||
Required properties: | ||
- compatible: should be one of the following string | ||
"marvell,orion-crypto" | ||
"marvell,kirkwood-crypto" | ||
"marvell,dove-crypto" | ||
"marvell,armada-370-crypto" | ||
"marvell,armada-xp-crypto" | ||
"marvell,armada-375-crypto" | ||
"marvell,armada-38x-crypto" | ||
- reg: base physical address of the engine and length of memory mapped | ||
region. Can also contain an entry for the SRAM attached to the CESA, | ||
but this representation is deprecated and marvell,crypto-srams should | ||
be used instead | ||
- reg-names: "regs". Can contain an "sram" entry, but this representation | ||
is deprecated and marvell,crypto-srams should be used instead | ||
- interrupts: interrupt number | ||
- clocks: reference to the crypto engines clocks. This property is not | ||
required for orion and kirkwood platforms | ||
- clock-names: "cesaX" and "cesazX", X should be replaced by the crypto engine | ||
id. | ||
This property is not required for the orion and kirkwoord | ||
platforms. | ||
"cesazX" clocks are not required on armada-370 platforms | ||
- marvell,crypto-srams: phandle to crypto SRAM definitions | ||
|
||
Optional properties: | ||
- marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not | ||
specified the whole SRAM is used (2KB) | ||
|
||
|
||
Examples: | ||
|
||
crypto@90000 { | ||
compatible = "marvell,armada-xp-crypto"; | ||
reg = <0x90000 0x10000>; | ||
reg-names = "regs"; | ||
interrupts = <48>, <49>; | ||
clocks = <&gateclk 23>, <&gateclk 23>; | ||
clock-names = "cesa0", "cesa1"; | ||
marvell,crypto-srams = <&crypto_sram0>, <&crypto_sram1>; | ||
marvell,crypto-sram-size = <0x600>; | ||
status = "okay"; | ||
}; |
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 |
---|---|---|
@@ -1,20 +1,33 @@ | ||
Marvell Cryptographic Engines And Security Accelerator | ||
|
||
Required properties: | ||
- compatible : should be "marvell,orion-crypto" | ||
- reg : base physical address of the engine and length of memory mapped | ||
region, followed by base physical address of sram and its memory | ||
length | ||
- reg-names : "regs" , "sram"; | ||
- interrupts : interrupt number | ||
- compatible: should be one of the following string | ||
"marvell,orion-crypto" | ||
"marvell,kirkwood-crypto" | ||
"marvell,dove-crypto" | ||
- reg: base physical address of the engine and length of memory mapped | ||
region. Can also contain an entry for the SRAM attached to the CESA, | ||
but this representation is deprecated and marvell,crypto-srams should | ||
be used instead | ||
- reg-names: "regs". Can contain an "sram" entry, but this representation | ||
is deprecated and marvell,crypto-srams should be used instead | ||
- interrupts: interrupt number | ||
- clocks: reference to the crypto engines clocks. This property is only | ||
required for Dove platforms | ||
- marvell,crypto-srams: phandle to crypto SRAM definitions | ||
|
||
Optional properties: | ||
- marvell,crypto-sram-size: SRAM size reserved for crypto operations, if not | ||
specified the whole SRAM is used (2KB) | ||
|
||
Examples: | ||
|
||
crypto@30000 { | ||
compatible = "marvell,orion-crypto"; | ||
reg = <0x30000 0x10000>, | ||
<0x4000000 0x800>; | ||
reg-names = "regs" , "sram"; | ||
reg = <0x30000 0x10000>; | ||
reg-names = "regs"; | ||
interrupts = <22>; | ||
marvell,crypto-srams = <&crypto_sram>; | ||
marvell,crypto-sram-size = <0x600>; | ||
status = "okay"; | ||
}; |
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
Oops, something went wrong.