Re: [PATCH 1/7] A couple of generated files

2016-03-01 Thread Sandy Harris
This set of patches, plus some later ones that simplify the code and get rid of one major bug are now at: https://github.com/sandy-harris Directory for these changes is random.gcm An out-of-kernel test program for an older version is in random.test On Sat, Nov 7, 2015 at 1:50 PM, Sandy Harris w

CISCO AND AVAYA IP Phones

2016-03-01 Thread Laison Computech Inc
Hi, Clean tested working pulls CPUs and QTYs in stock. 115 X X5650 65 X E5410 75 X X5660 145 X E5530 100 X E5645 40 X X5680 75 X X5690 Brand new sealed IP phones and QTYs in stock. 55 x CP-7937G 77 x CP-7942G 54 x CP-7945G 75 x CP-7962G .. 45 x Avaya 9630 65 x Avaya 9641 55 x Avaya 9640 U

Re: [PATCH] crypto: implement DH primitives under akcipher API

2016-03-01 Thread Marcel Holtmann
Hi Salvatore, > Implement Diffie-Hellman primitives required by the scheme under the > akcipher API. Here is how it works. > 1) Call set_pub_key() by passing DH parameters (p,g) in PKCS3 format > 2) Call set_priv_key() to set your own private key (xa) in raw format this combination seems odd sinc

[PATCH 2/4] crypto: ccp - Support for multiple CCPs

2016-03-01 Thread Gary R Hook
Enable management of >1 CCPs in a system. Each device will get a unique identifier, as well as uniquely named resources. Treat each CCP as an orthogonal unit and register resources individually. Signed-off-by: Gary R Hook --- drivers/crypto/ccp/ccp-dev.c | 113

[PATCH 3/4] crypto: ccp - CCP versioning support

2016-03-01 Thread Gary R Hook
Future hardware may introduce new algorithms wherein the driver will need to manage resources for different versions of the cryptographic coprocessor. This precursor patch determines the version of the available device, and marks and registers algorithms accordingly. A structure is added which mana

[PATCH 4/4] crypto: ccp - Add abstraction for device-specific calls

2016-03-01 Thread Gary R Hook
Support for different generations of the coprocessor requires that an abstraction layer be implemented for interacting with the hardware. This patch splits out version-specific functions to a separate file and populates the version structure (acting as a driver) with function pointers. Signed-off-

[PATCH 0/4] crypto: ccp - CCP driver updates 2016-03-01

2016-03-01 Thread Gary R Hook
The following patches are includes in this update series: - Remove the extraneous family check - Refactor code to enable support for >1 CCPs in a system - Add initial support for versioning - Refactor: move version-specific code to separate files where possible; abstract worker functions throug

[PATCH 1/4] crypto: ccp - Remove check for x86 family and model

2016-03-01 Thread Gary R Hook
Each x86 SoC will make use of a unique PCI ID for the CCP device so it is not necessary to check for the CPU family and model. Signed-off-by: Gary R Hook --- drivers/crypto/ccp/ccp-dev.c | 47 ++ 1 file changed, 11 insertions(+), 36 deletions(-) diff --

Re: [PATCH] crypto/async_pq: use __free_page() instead of put_page()

2016-03-01 Thread Joonsoo Kim
2016-03-01 3:04 GMT+09:00 Dan Williams : > On Mon, Feb 29, 2016 at 1:33 AM, Arnd Bergmann wrote: >> The addition of tracepoints to the page reference tracking had an >> unfortunate side-effect in at least one driver that calls put_page >> from its exit function, resulting in a link error: >> >> `.

Re: [PATCH 2/3] ARM: i.MX25: add RNGC node to dtsi

2016-03-01 Thread Shawn Guo
On Mon, Feb 29, 2016 at 04:52:35PM +0100, Steffen Trumtrar wrote: > Add a devicetree entry for the Random Number Generator Version C (RNGC). > > Signed-off-by: Steffen Trumtrar > --- > arch/arm/boot/dts/imx25.dtsi | 9 + > 1 file changed, 9 insertions(+) > > diff --git a/arch/arm/boot/d

RE: [PATCH 3/3] crypto: caam - add support for RSA algorithm

2016-03-01 Thread Tudor-Dan Ambarus
Hi Herbert, > >> -Original Message- > >> >+++ b/drivers/crypto/caam/caam_rsaprivkey.asn1 > >> >@@ -0,0 +1,11 @@ > >> >+RsaPrivKey ::= SEQUENCE { > >> >+version INTEGER, > >> >+n INTEGER ({ caam_rsa_get_n }), > >> >+e INTEGER ({ caam_rsa_get_e

Re: [PATCH] crypto: implement DH primitives under akcipher API

2016-03-01 Thread Stephan Mueller
Am Dienstag, 1. März 2016, 11:08:34 schrieb Salvatore Benedetto: Hi Salvatore, > > > +static int dh_check_params_length(unsigned int p_len) > > > +{ > > > + switch (p_len) { > > > + case 768: > > > + case 1024: > > > + case 1536: > > > + case 2048: > > > + case 3072: > > > + case 4096: > > > +

Re: [PATCH] crypto: implement DH primitives under akcipher API

2016-03-01 Thread Salvatore Benedetto
Hi Stephan, thanks for reviewing. On Mon, Feb 15, 2016 at 02:57:08PM +0100, Stephan Mueller wrote: > Am Montag, 15. Februar 2016, 09:01:55 schrieb Salvatore Benedetto: > > Hi Salvatore, Herbert, > > > Implement Diffie-Hellman primitives required by the scheme under the > > akcipher API. Here i