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: - Fix dcache flushing crash in skcipher. - Add hash finup self-tests. - Reschedule during speed tests. Algorithms: - Remove insecure vmac and replace it with vmac64. - Add public key verification for DH/ECDH. Drivers: - Decrease priority of sha-mb on x86. - Improve NEON latency/throughput on ARM64. - Add md5/sha384/sha512/des/3des to inside-secure. - Support eip197d in inside-secure. - Only register algorithms supported by the host in virtio. - Add cts and remove incompatible cts1 from ccree. - Add hisilicon SEC security accelerator driver. - Replace msm hwrng driver with qcom pseudo rng driver. Misc: - Centralize CRC polynomials" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (121 commits) crypto: arm64/ghash-ce - implement 4-way aggregation crypto: arm64/ghash-ce - replace NEON yield check with block limit crypto: hisilicon - sec_send_request() can be static lib/mpi: remove redundant variable esign crypto: arm64/aes-ce-gcm - don't reload key schedule if avoidable crypto: arm64/aes-ce-gcm - implement 2-way aggregation crypto: arm64/aes-ce-gcm - operate on two input blocks at a time crypto: dh - make crypto_dh_encode_key() make robust crypto: dh - fix calculating encoded key size crypto: ccp - Check for NULL PSP pointer at module unload crypto: arm/chacha20 - always use vrev for 16-bit rotates crypto: ccree - allow bigger than sector XTS op crypto: ccree - zero all of request ctx before use crypto: ccree - remove cipher ivgen left overs crypto: ccree - drop useless type flag during reg crypto: ablkcipher - fix crash flushing dcache in error path crypto: blkcipher - fix crash flushing dcache in error path crypto: skcipher - fix crash flushing dcache in error path crypto: skcipher - remove unnecessary setting of walk->nbytes crypto: scatterwalk - remove scatterwalk_samebuf() ...
- Loading branch information
Showing
174 changed files
with
6,686 additions
and
2,009 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
67 changes: 67 additions & 0 deletions
67
Documentation/devicetree/bindings/crypto/hisilicon,hip07-sec.txt
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,67 @@ | ||
* Hisilicon hip07 Security Accelerator (SEC) | ||
|
||
Required properties: | ||
- compatible: Must contain one of | ||
- "hisilicon,hip06-sec" | ||
- "hisilicon,hip07-sec" | ||
- reg: Memory addresses and lengths of the memory regions through which | ||
this device is controlled. | ||
Region 0 has registers to control the backend processing engines. | ||
Region 1 has registers for functionality common to all queues. | ||
Regions 2-18 have registers for the 16 individual queues which are isolated | ||
both in hardware and within the driver. | ||
- interrupts: Interrupt specifiers. | ||
Refer to interrupt-controller/interrupts.txt for generic interrupt client node | ||
bindings. | ||
Interrupt 0 is for the SEC unit error queue. | ||
Interrupt 2N + 1 is the completion interrupt for queue N. | ||
Interrupt 2N + 2 is the error interrupt for queue N. | ||
- dma-coherent: The driver assumes coherent dma is possible. | ||
|
||
Optional properties: | ||
- iommus: The SEC units are behind smmu-v3 iommus. | ||
Refer to iommu/arm,smmu-v3.txt for more information. | ||
|
||
Example: | ||
|
||
p1_sec_a: crypto@400,d2000000 { | ||
compatible = "hisilicon,hip07-sec"; | ||
reg = <0x400 0xd0000000 0x0 0x10000 | ||
0x400 0xd2000000 0x0 0x10000 | ||
0x400 0xd2010000 0x0 0x10000 | ||
0x400 0xd2020000 0x0 0x10000 | ||
0x400 0xd2030000 0x0 0x10000 | ||
0x400 0xd2040000 0x0 0x10000 | ||
0x400 0xd2050000 0x0 0x10000 | ||
0x400 0xd2060000 0x0 0x10000 | ||
0x400 0xd2070000 0x0 0x10000 | ||
0x400 0xd2080000 0x0 0x10000 | ||
0x400 0xd2090000 0x0 0x10000 | ||
0x400 0xd20a0000 0x0 0x10000 | ||
0x400 0xd20b0000 0x0 0x10000 | ||
0x400 0xd20c0000 0x0 0x10000 | ||
0x400 0xd20d0000 0x0 0x10000 | ||
0x400 0xd20e0000 0x0 0x10000 | ||
0x400 0xd20f0000 0x0 0x10000 | ||
0x400 0xd2100000 0x0 0x10000>; | ||
interrupt-parent = <&p1_mbigen_sec_a>; | ||
iommus = <&p1_smmu_alg_a 0x600>; | ||
dma-coherent; | ||
interrupts = <576 4>, | ||
<577 1>, <578 4>, | ||
<579 1>, <580 4>, | ||
<581 1>, <582 4>, | ||
<583 1>, <584 4>, | ||
<585 1>, <586 4>, | ||
<587 1>, <588 4>, | ||
<589 1>, <590 4>, | ||
<591 1>, <592 4>, | ||
<593 1>, <594 4>, | ||
<595 1>, <596 4>, | ||
<597 1>, <598 4>, | ||
<599 1>, <600 4>, | ||
<601 1>, <602 4>, | ||
<603 1>, <604 4>, | ||
<605 1>, <606 4>, | ||
<607 1>, <608 4>; | ||
}; |
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 |
---|---|---|
|
@@ -7364,7 +7364,7 @@ M: Megha Dey <[email protected]> | |
R: Tim Chen <[email protected]> | ||
L: [email protected] | ||
S: Supported | ||
F: arch/x86/crypto/sha*-mb | ||
F: arch/x86/crypto/sha*-mb/ | ||
F: crypto/mcryptd.c | ||
|
||
INTEL TELEMETRY DRIVER | ||
|
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
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
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.