Re: [PATCH v2] KEYS: add SP800-56A KDF support for DH

2016-08-05 Thread Mat Martineau
On Fri, 5 Aug 2016, Stephan Mueller wrote: Am Donnerstag, 4. August 2016, 13:41:58 CEST schrieb Mat Martineau: Hi Mat, + +long keyctl_dh_compute(struct keyctl_dh_params __user *params, + char __user *buffer, size_t buflen, + struct keyctl_kdf_params

澳门金沙集团,电子游艺等您来战,谁是真正的打“虎”英雄!(AD)

2016-08-05 Thread lujiatong
Ce message vous a été envoyé parce que "lujiatong " pense que vous trouverez la page "Sondage" www.hopital.fr intéressante. Lien vers la page: http://www.hopital.fr/Media/Sondage/Sondage3 Commentaire par "lujiatong ":

[RFC][PATCH] RANDOM: ATH9K RNG delivers zero bits of entropy

2016-08-05 Thread Stephan Mueller
Hi Ted, Herbert, I sent a question to the ATH9K RNG some time ago to the developers. See https://www.mail-archive.com/linux-crypto@vger.kernel.org/msg19115.html I have not yet received a word and I think this issue should be resolved. Thanks Stephan ---8<--- The ATH9K driver implements an RNG

[PATCH v2 4/7] crypto: img-hash - Add suspend resume hooks for img hash

2016-08-05 Thread Will Thomas
From: Govindraj Raja Current img hash claims sys and periph gate clocks and this can be gated in system suspend scenarios. Add support for Device pm ops for img hash to gate the clocks claimed by img hash. Signed-off-by: Govindraj Raja

[PATCH v2 1/7] crypto: img-hash - Fix null pointer exception

2016-08-05 Thread Will Thomas
Sporadic null pointer exceptions came from here. Fix them. Signed-off-by: Will Thomas Reviewed-by: James Hartley --- drivers/crypto/img-hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/crypto/img-hash.c

[PATCH v2 7/7] crypto: img-hash - Fix set_reqsize call

2016-08-05 Thread Will Thomas
Properly allocate enough memory to respect the fallback. Signed-off-by: Will Thomas --- drivers/crypto/img-hash.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/crypto/img-hash.c b/drivers/crypto/img-hash.c index 60410d7..a2e77b8 100644 ---

[PATCH v2 2/7] crypto: img-hash - Fix hash request context

2016-08-05 Thread Will Thomas
Move 0 length buffer to end of structure to stop overwriting fallback request data. This doesn't cause a bug itself as the buffer is never used alongside the fallback but should be changed. Signed-off-by: Will Thomas Reviewed-by: James Hartley

[PATCH v2 0/7] crypto: img-hash - fixes and interface changes

2016-08-05 Thread Will Thomas
Hi Herbert, This patchset includes small stability fixes, power management and import/export interface functions for the img-hash driver. Changes as discussed for [1/7], [2/7] and [5/7]. Govindraj Raja (1): crypto: img-hash - Add suspend resume hooks for img hash James Hartley (2):

[PATCH v2 5/7] crypto: img-hash - Add support for export and import

2016-08-05 Thread Will Thomas
From: James Hartley Currently the img-hash accelerator does not probe successfully due to a change in the checks made during registration with the crypto framework. This is due to import and export functions not being defined. Correct this. Signed-off-by: James Hartley

[PATCH v2 3/7] crypto: img-hash - Reconfigure DMA Burst length

2016-08-05 Thread Will Thomas
Burst length of 16 drives the hash accelerator out of spec and causes stability issues in some cases. Reduce this to stop data being lost. Signed-off-by: Will Thomas Reviewed-by: James Hartley --- drivers/crypto/img-hash.c | 3 ++- 1 file

[PATCH v2 6/7] crypto: img-hash - log a successful probe

2016-08-05 Thread Will Thomas
From: James Hartley Currently the probe function only emits an output on success when debug is specifically enabled. It would be more useful if this happens by default. Signed-off-by: James Hartley Reviewed-by: Will Thomas

Re: [PATCH v2] KEYS: add SP800-56A KDF support for DH

2016-08-05 Thread Stephan Mueller
Am Donnerstag, 4. August 2016, 13:41:58 CEST schrieb Mat Martineau: Hi Mat, > > + > > +long keyctl_dh_compute(struct keyctl_dh_params __user *params, > > + char __user *buffer, size_t buflen, > > + struct keyctl_kdf_params __user *kdf) > > +{ > > + struct

Re: [PATCH] crypto: crc32c-vpmsum - Convert to CPU feature based module autoloading

2016-08-05 Thread Michael Ellerman
Anton Blanchard writes: > Hi Michael, > >> Is VEC_CRYPTO the right feature? >> >> That's new power8 crypto stuff. > > The vpmsum* instructions are part of the same pipeline as the vcipher* > instructions, introduced in POWER8. OK. >> I thought this only used VMX? (but I

澳门金沙集团,真人娱乐 1元起 反水1.8%无上限!(AD)

2016-08-05 Thread baliaoyu
Ce message vous a été envoyé parce que "baliaoyu " pense que vous trouverez la page "Sondage" www.hopital.fr intéressante. Lien vers la page: http://www.hopital.fr/Media/Sondage/Sondage3 Commentaire par "baliaoyu ":

Re: [PATCH v2] KEYS: add SP800-56A KDF support for DH

2016-08-05 Thread Stephan Mueller
Am Donnerstag, 4. August 2016, 13:41:58 CEST schrieb Mat Martineau: Hi Mat, I will take care of your comments in the next iteration. Ciao Stephan -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majord...@vger.kernel.org More majordomo info

Re: [PATCH v2] DH support: add KDF handling support

2016-08-05 Thread Stephan Mueller
Am Donnerstag, 4. August 2016, 13:57:27 CEST schrieb Mat Martineau: Hi Mat, > Stephan, > > On Thu, 4 Aug 2016, Stephan Mueller wrote: > > Hi Mat, David, > > > > this patch covers all comments you raised. I also added a man page > > for the new API calls. > > > > ---8<--- > > > > Add the