Re: [PATCH 0/5] crypto: atmel-sha: fix registration issue and other bugs
Hi Herbert, Le 25/01/2016 15:48, Herbert Xu a écrit : > On Fri, Jan 15, 2016 at 03:49:30PM +0100, Cyrille Pitchen wrote: >> Hi all, >> >> This series of patches fixes many issues such as the algo registration >> failure >> or the broken support of context switches. >> >> This series was applied to linux-next and tested on a sama5d2 xplained >> ultra board. We now pass the tcrypt tests in the following modes: >> - 2: sha1 >> - 6: sha256 >> - 11: sha384 >> - 12: sha512 >> - 33: sha224 >> >> The context switch fix was tested with a userspace program using the >> cryptodev >> module. This single thread program computes the SHA256 hashes of many files >> by splitting then into fixed size chunks. The chunks of each file are >> processed by calling 'update' operations using a round robin algorithm. >> >> However, the .import() / .export() implementation was NOT tested! >> Nonetheless the last patch is needed to fix the registration issue, otherwise >> atmel_sha_probe() would still fail. > > Patch 1-4 applied. Please fix the alignment issue with patch 5. > OK, I will fix it soon! Best regards, Cyrille -- 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 at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 0/5] crypto: atmel-sha: fix registration issue and other bugs
On Fri, Jan 15, 2016 at 03:49:30PM +0100, Cyrille Pitchen wrote: > Hi all, > > This series of patches fixes many issues such as the algo registration failure > or the broken support of context switches. > > This series was applied to linux-next and tested on a sama5d2 xplained > ultra board. We now pass the tcrypt tests in the following modes: > - 2: sha1 > - 6: sha256 > - 11: sha384 > - 12: sha512 > - 33: sha224 > > The context switch fix was tested with a userspace program using the cryptodev > module. This single thread program computes the SHA256 hashes of many files > by splitting then into fixed size chunks. The chunks of each file are > processed by calling 'update' operations using a round robin algorithm. > > However, the .import() / .export() implementation was NOT tested! > Nonetheless the last patch is needed to fix the registration issue, otherwise > atmel_sha_probe() would still fail. Patch 1-4 applied. Please fix the alignment issue with patch 5. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- 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 at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 0/5] crypto: atmel-sha: fix registration issue and other bugs
On Fri, Jan 22, 2016 at 05:52:45PM +0100, Nicolas Ferre wrote: > Le 15/01/2016 15:49, Cyrille Pitchen a écrit : > > Hi all, > > > > This series of patches fixes many issues such as the algo registration > > failure > > or the broken support of context switches. > > I think it's eligible as a "fixes" series for 4.5... Herbert, is the > whole series can be queued as fixes, in your opinion? Sorry, but I'd prefer to postpone this til the next cycle as it came in too close to the cut-off mark. This code is directly accessible by unprivileged users so I'd like it to cook for a bit longer. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- 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 at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 0/5] crypto: atmel-sha: fix registration issue and other bugs
Le 15/01/2016 15:49, Cyrille Pitchen a écrit : > Hi all, > > This series of patches fixes many issues such as the algo registration failure > or the broken support of context switches. I think it's eligible as a "fixes" series for 4.5... Herbert, is the whole series can be queued as fixes, in your opinion? And, on the whole series: Acked-by: Nicolas Ferre > This series was applied to linux-next and tested on a sama5d2 xplained > ultra board. We now pass the tcrypt tests in the following modes: > - 2: sha1 > - 6: sha256 > - 11: sha384 > - 12: sha512 > - 33: sha224 > > The context switch fix was tested with a userspace program using the cryptodev > module. This single thread program computes the SHA256 hashes of many files > by splitting then into fixed size chunks. The chunks of each file are > processed by calling 'update' operations using a round robin algorithm. > > However, the .import() / .export() implementation was NOT tested! > Nonetheless the last patch is needed to fix the registration issue, otherwise > atmel_sha_probe() would still fail. > > Best regards, > > Cyrille > > > Cyrille Pitchen (5): > crypto: atmel-sha: fix crash when computing digest on empty message > crypto: atmel-sha: fix a race between the 'done' tasklet and the > crypto client > crypto: atmel-sha: add support of sama5d2x SoCs > crypto: atmel-sha: fix context switches > crypto: atmel-sha: fix algorihtm registration > > drivers/crypto/atmel-sha-regs.h | 4 + > drivers/crypto/atmel-sha.c | 186 > +--- > 2 files changed, 158 insertions(+), 32 deletions(-) > -- Nicolas Ferre -- 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 at http://vger.kernel.org/majordomo-info.html