Skip to content

Commit 9a07a79

Browse files
committed
Merge branch 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Pull crypto update from Herbert Xu: "API: - Crypto self tests can now be disabled at boot/run time. - Add async support to algif_aead. Algorithms: - A large number of fixes to MPI from Nicolai Stange. - Performance improvement for HMAC DRBG. Drivers: - Use generic crypto engine in omap-des. - Merge ppc4xx-rng and crypto4xx drivers. - Fix lockups in sun4i-ss driver by disabling IRQs. - Add DMA engine support to ccp. - Reenable talitos hash algorithms. - Add support for Hisilicon SoC RNG. - Add basic crypto driver for the MXC SCC. Others: - Do not allocate crypto hash tfm in NORECLAIM context in ecryptfs" * 'linus' of git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (77 commits) crypto: qat - change the adf_ctl_stop_devices to void crypto: caam - fix caam_jr_alloc() ret code crypto: vmx - comply with ABIs that specify vrsave as reserved. crypto: testmgr - Add a flag allowing the self-tests to be disabled at runtime. crypto: ccp - constify ccp_actions structure crypto: marvell/cesa - Use dma_pool_zalloc crypto: qat - make adf_vf_isr.c dependant on IOV config crypto: qat - Fix typo in comments lib: asn1_decoder - add MODULE_LICENSE("GPL") crypto: omap-sham - Use dma_request_chan() for requesting DMA channel crypto: omap-des - Use dma_request_chan() for requesting DMA channel crypto: omap-aes - Use dma_request_chan() for requesting DMA channel crypto: omap-des - Integrate with the crypto engine framework crypto: s5p-sss - fix incorrect usage of scatterlists api crypto: s5p-sss - Fix missed interrupts when working with 8 kB blocks crypto: s5p-sss - Use common BIT macro crypto: mxc-scc - fix unwinding in mxc_scc_crypto_register() crypto: mxc-scc - signedness bugs in mxc_scc_ablkcipher_req_init() crypto: talitos - fix ahash algorithms registration crypto: ccp - Ensure all dependencies are specified ...
2 parents 1649098 + 256b1cf commit 9a07a79

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+3091
-777
lines changed

Documentation/DocBook/crypto-API.tmpl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1936,9 +1936,9 @@ static int test_skcipher(void)
19361936
}
19371937

19381938
req = skcipher_request_alloc(skcipher, GFP_KERNEL);
1939-
if (IS_ERR(req)) {
1940-
pr_info("could not allocate request queue\n");
1941-
ret = PTR_ERR(req);
1939+
if (!req) {
1940+
pr_info("could not allocate skcipher request\n");
1941+
ret = -ENOMEM;
19421942
goto out;
19431943
}
19441944

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
Freescale Security Controller (SCC)
2+
3+
Required properties:
4+
- compatible : Should be "fsl,imx25-scc".
5+
- reg : Should contain register location and length.
6+
- interrupts : Should contain interrupt numbers for SCM IRQ and SMN IRQ.
7+
- interrupt-names : Should specify the names "scm" and "smn" for the
8+
SCM IRQ and SMN IRQ.
9+
- clocks: Should contain the clock driving the SCC core.
10+
- clock-names: Should be set to "ipg".
11+
12+
Example:
13+
14+
scc: crypto@53fac000 {
15+
compatible = "fsl,imx25-scc";
16+
reg = <0x53fac000 0x4000>;
17+
clocks = <&clks 111>;
18+
clock-names = "ipg";
19+
interrupts = <49>, <50>;
20+
interrupt-names = "scm", "smn";
21+
};

Documentation/devicetree/bindings/crypto/samsung-sss.txt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,8 @@ Required properties:
2323
- "samsung,exynos4210-secss" for Exynos4210, Exynos4212, Exynos4412, Exynos5250,
2424
Exynos5260 and Exynos5420 SoCs.
2525
- reg : Offset and length of the register set for the module
26-
- interrupts : interrupt specifiers of SSS module interrupts, should contain
27-
following entries:
28-
- first : feed control interrupt (required for all variants),
29-
- second : hash interrupt (required only for samsung,s5pv210-secss).
26+
- interrupts : interrupt specifiers of SSS module interrupts (one feed
27+
control interrupt).
3028

3129
- clocks : list of clock phandle and specifier pairs for all clocks listed in
3230
clock-names property.
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
Hisilicon Random Number Generator
2+
3+
Required properties:
4+
- compatible : Should be "hisilicon,hip04-rng" or "hisilicon,hip05-rng"
5+
- reg : Offset and length of the register set of this block
6+
7+
Example:
8+
9+
rng@d1010000 {
10+
compatible = "hisilicon,hip05-rng";
11+
reg = <0xd1010000 0x100>;
12+
};

Documentation/kernel-parameters.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -838,6 +838,9 @@ bytes respectively. Such letter suffixes can also be entirely omitted.
838838
It will be ignored when crashkernel=X,high is not used
839839
or memory reserved is below 4G.
840840

841+
cryptomgr.notests
842+
[KNL] Disable crypto self-tests
843+
841844
cs89x0_dma= [HW,NET]
842845
Format: <dma>
843846

MAINTAINERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -627,6 +627,7 @@ F: include/linux/altera_jtaguart.h
627627

628628
AMD CRYPTOGRAPHIC COPROCESSOR (CCP) DRIVER
629629
M: Tom Lendacky <[email protected]>
630+
M: Gary Hook <[email protected]>
630631
631632
S: Supported
632633
F: drivers/crypto/ccp/

arch/arm/boot/dts/imx25.dtsi

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,15 @@
420420
interrupts = <41>;
421421
};
422422

423+
scc: crypto@53fac000 {
424+
compatible = "fsl,imx25-scc";
425+
reg = <0x53fac000 0x4000>;
426+
clocks = <&clks 111>;
427+
clock-names = "ipg";
428+
interrupts = <49>, <50>;
429+
interrupt-names = "scm", "smn";
430+
};
431+
423432
esdhc1: esdhc@53fb4000 {
424433
compatible = "fsl,imx25-esdhc";
425434
reg = <0x53fb4000 0x4000>;

0 commit comments

Comments
 (0)