Re: [PATCH v2] hw_random: omap3-rom-rng: convert timer to delayed work

2015-11-23 Thread Herbert Xu
rted-by: Sebastian Reichel > Signed-off-by: Aaro Koskinen Patch applied. 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-omap" in

Re: [PATCH] hw_random: omap3-rom-rng: convert timer to delayed work

2015-11-17 Thread Herbert Xu
rted-by: Sebastian Reichel > Signed-off-by: Aaro Koskinen Thanks for the patch. Can you please remove timer.h and include workqueue.h instead? Cheers, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsub

Re: [PATCH v3] crypto: omap-aes: Add support for GCM mode

2015-09-18 Thread Herbert Xu
s. Also tmp must not be reused by a subsequent call to scatterwalk_ffwd. Cheers, -- 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-omap" in the body

Re: [PATCH v2 6/7] crypto: omap-aes: Add support for GCM mode

2015-07-11 Thread Herbert Xu
cking. The reqeust context on the other hand is specific to a request so it can be used to store information. Cheers, -- 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 "un

Re: [PATCH v2 6/7] crypto: omap-aes: Add support for GCM mode

2015-07-08 Thread Herbert Xu
On Wed, Jul 08, 2015 at 03:48:05PM +0800, Herbert Xu wrote: > On Wed, Jul 08, 2015 at 12:29:47PM +0530, Lokesh Vutla wrote: > > > > >> +if (req->assoclen + req->cryptlen == 0) { > > >> +scatterwalk_map_and_copy(ctx-

Re: [PATCH v2 6/7] crypto: omap-aes: Add support for GCM mode

2015-07-08 Thread Herbert Xu
> where Y0 = IV||(0^31)1 > I have E(K, Y0) calculated in previous step. And copying it > to destination if assoclen and cryptlen is 0. > > Correct me if I am wrong. It should be E(K, Y0) ^ GHASH(0). So unless GHASH(0) == 0, your code doesn't work. Cheers, -- Email:

Re: [PATCH v2 0/7] crypto: omap-aes: Add support for GCM mode

2015-07-08 Thread Herbert Xu
On Tue, Jul 07, 2015 at 09:01:42PM +0530, Lokesh Vutla wrote: > This series does some basic cleanup and adds support for > AES GCM mode for omap aes driver. > > Changes since v1: > - Switched GCM to new AEAD interface Patches 1-4 and 7 applied. Cheers, -- Email: Herbert Xu

Re: [PATCH v2 6/7] crypto: omap-aes: Add support for GCM mode

2015-07-07 Thread Herbert Xu
ite to it as multiple requests can be called on the same tfm. Use rctx instead. > + memcpy(req->iv + 12, &counter, 4); The IV is only 12 bytes long so you're corrupting memory here. You should use rctx here too. > + if (req->assoclen + req->cryptlen == 0) { >

Re: [PATCH v2 5/7] crypto: aead: Add aead_request_cast() api

2015-07-07 Thread Herbert Xu
ase); > +} Please drop this and use the aead_queue interface I just posted. 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-omap"

Re: [PATCH 10/10] crypto: tcrypt: Added speed tests for Async AEAD crypto alogrithms

2015-07-06 Thread Herbert Xu
On Mon, Jul 06, 2015 at 02:15:06PM +0530, Lokesh Vutla wrote: > > The existing AEAD test case does not do a wait_for_completion(), when > the return value is EINPROGRESS or EBUSY like it is done for acipher_speed > tests. Please fix them to do the wait. Thanks, -- Email: Herbert X

Re: [PATCH] crypto: omap-des: Fix unmapping of dma channels

2015-07-06 Thread Herbert Xu
4.321235] [] (__do_softirq) from [] > (irq_exit+0x98/0xec) > [4.328500] [] (irq_exit) from [] > (handle_IRQ+0x50/0xb0) > [4.335589] [] (handle_IRQ) from [] > (gic_handle_irq+0x28/0x5c) > > Removing the duplicate call to dma_unmap_sg(). > > Reported-by: T

Re: [PATCH 10/10] crypto: tcrypt: Added speed tests for Async AEAD crypto alogrithms

2015-07-06 Thread Herbert Xu
On Thu, Jul 02, 2015 at 10:48:40AM +0530, Lokesh Vutla wrote: > Adding simple speed tests for a range of block sizes for Async AEAD crypto > algorithms. > > Signed-off-by: Lokesh Vutla What's wrong with the existing AEAD speed tests? -- Email: Herbert Xu Home Page: http://go

Re: [PATCH 04/10] crypto: omap-aes: Use BIT() macro

2015-07-06 Thread Herbert Xu
GENMASK(4, 3) > > +#define AES_REG_CTRL_DIRECTION BIT(2) > > +#define AES_REG_CTRL_INPUT_READY BIT(1) > > +#define AES_REG_CTRL_OUTPUT_READY BIT(0) > > +#define AES_REG_CTRL_MASK GENMASK(24, 2) > > this was defined a couple patches ago, why didn&

Re: [PATCH 03/10] crypto: aead: Add aead_request_cast() api

2015-07-06 Thread Herbert Xu
tfm = crypto_aead_tfm(crypto_aead_crt(tfm)->base); > } > > +static inline struct aead_request *aead_request_cast( > + struct crypto_async_request *req) > +{ > + return container_of(req, struct aead_request, base); > +} > + This should go int

Re: [PATCH 01/10] crypto: omap-aes: Add support for lengths not aligned with AES_BLOCK_SIZE

2015-07-06 Thread Herbert Xu
r GCM support then you should state that explicitly. Because partial blocks make no sense otherwise. Cheers, -- 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 "unsubs

Re: [PATCH 08/10] crypto: omap-aes: gmc: Add algo info

2015-07-06 Thread Herbert Xu
accepting any new implementations using the old interface. Please convert your driver over to the new interface. Also please merge your GCM patches into a single patch. Splitting out bug fixes makes no sense. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbe

Re: [PATCH v2] crypto: omap-sham: Add the offset of sg page to vaddr

2015-04-03 Thread Herbert Xu
08] alg: hash: Chunking test 1 failed for omap-sha256 > > So adding the scatterlist offset to vaddr. > > Signed-off-by: Lokesh Vutla Patch applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To

Re: [PATCH] crypto: omap-aes: Fix support for unequal lengths

2015-04-01 Thread Herbert Xu
o: omap-aes - Add support for cases of unaligned > lengths") > Signed-off-by: Lokesh Vutla Applied. -- 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 "unsu

Re: [PATCH] crypto: omap-sham: Use pm_runtime_irq_safe()

2015-04-01 Thread Herbert Xu
am_handle_queue(), because of which the following appears: > " [ 116.169969] BUG: scheduling while atomic: kworker/0:2/2676/0x0100" > > Add pm_runtime_irq_safe() to avoid this. > > Signed-off-by: Lokesh Vutla Applied. -- Email: Herbert Xu Home Page: http://gon

Re: [PATCH] crypto: omap-sham: Check for HIGHMEM before mapping SG pages

2015-04-01 Thread Herbert Xu
else > + vaddr = sg_virt(ctx->sg); This is completely bogus. kmap_atomic should be identical to sg_virt(sg_page()) for the lowmem case. So either your architecture is broken (because the same problem would obviously affect the core crypto code which does exactly the same t

Re: [v3] hwrng: omap - Change RNG_CONFIG_REG to RNG_CONTROL_REG when, checking and disabling TRNG

2015-03-01 Thread Herbert Xu
gt; > Signed-off-by: Andre Wolokita Your patch is white-space damaged. Please fix and resubmit. -- 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 "unsubscri

Re: [PATCH V2] crypto: omap-des - handle error of pm_runtime_get_sync

2014-04-16 Thread Herbert Xu
gt; >> > >> Fixes the runtime warning from omap_l3_noc when omap-des is built-in > >> on my VAR-SOM-OM44 (OMAP4460) board. > >> > >> Tested-by: Joachim Eastwood > > > > Thanks Joachim. Looks like in my hurry, I missed proper > > acknowledgement

Re: [PATCH v3] crypto: omap-sham: Map SG pages if they are HIGHMEM before accessing

2014-03-10 Thread Herbert Xu
anks! -- 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-omap" in the body of a message to majord...@vger.kernel.org More majordomo info at http://

Re: [PATCH v2] crypto: omap-sham: kmap SG pages before appending

2014-03-05 Thread Herbert Xu
x4b/0x60) from [] > (omap_sham_update+0x1f/0xa4) > [ 220.081214] [] (omap_sham_update+0x1f/0xa4) from [] > (cryptodev_hash_update+0x26/0x80 [cryptodev]) > > > Could you suggest, what other place is update() called in softirq context? > I may be missing something. IPse

Re: [PATCH v2] crypto: omap-sham: kmap SG pages before appending

2014-03-04 Thread Herbert Xu
On Wed, Mar 05, 2014 at 04:18:12AM +, Fernandes, Joel wrote: > > > > On Mar 4, 2014, at 8:00 PM, "Herbert Xu" > > wrote: > > > >> On Tue, Mar 04, 2014 at 12:30:54PM -0600, Joel Fernandes wrote: > >> HIGHMEM pages may not be mapped so we

Re: [PATCH v2] crypto: omap-sham: kmap SG pages before appending

2014-03-04 Thread Herbert Xu
On Tue, Mar 04, 2014 at 12:30:54PM -0600, Joel Fernandes wrote: > HIGHMEM pages may not be mapped so we must kmap them before accessing. > This resolves a random OOPs error that was showing up during OpenSSL SHA > tests. > > Signed-off-by: Joel Fernandes > Cc: Herbert Xu

Re: [PATCH v2 0/2] Introduce omap-des driver for OMAP SoCs

2014-02-25 Thread Herbert Xu
ap-des: Add config and build options Both patches applied. 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-omap" in the

Re: [PATCH] crypto: omap-sham: Fix Polling mode for larger blocks

2013-12-20 Thread Herbert Xu
This is because polling_mode is not enabled for ctx without FLAGS_FINUP. > > For polling mode the bufcnt is made 0 unconditionally. But it should be made 0 > only if it is a final update or a total is not zero(This condition is similar > to what is done in DMA case). Because of this wr

Re: [PATCH] crypto: omap-aes: add error check for pm_runtime_get_sync

2013-12-05 Thread Herbert Xu
> place. https://bugzilla.kernel.org/show_bug.cgi?id=66441 > > Reported-by: Tobias Jakobi > Signed-off-by: Nishanth Menon Patch applied. -- 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:

Re: [PATCH] crypto: omap-sham - Only release DMA channel if successfully requested

2013-12-05 Thread Herbert Xu
ter here: > > http://www.spinics.net/lists/devicetree/msg11023.html > > Add code to only release 'dd->dma_lch' when its not NULL > (that is, when it was successfully requested). > > Reported-by: Dan Carpenter > CC: Joel Fernandes > Signed-off-by: Mark

Re: [PATCH v2 2/3] hwrng: OMAP3 ROM Random Number Generator support

2013-11-18 Thread Herbert Xu
On Mon, Nov 18, 2013 at 10:51:30PM +0100, Pali Rohár wrote: > On Wednesday 16 October 2013 14:57:34 Herbert Xu wrote: > > On Tue, Oct 08, 2013 at 12:04:09PM -0700, Tony Lindgren wrote: > > > * Pali Rohár [130920 06:33]: > > > > This driver provides kern

Re: [PATCH] crypto: omap-aes: Fix CTR mode counter length

2013-10-29 Thread Herbert Xu
rnandes Patch applied. 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-omap" in the body of a message to majord...@vger.kernel.org Mor

Re: [PATCH v2 2/3] hwrng: OMAP3 ROM Random Number Generator support

2013-10-16 Thread Herbert Xu
d was tested on Nokia RX-51. > > It is platform device because it needs board specific function for smc > > calls. > > This one is should be merged via the hw_random patches seprately: > > Acked-by: Tony Lindgren Patch applied. Thanks! -- Email: Herbert Xu Home Page:

Re: [PATCH] hwrng: reorder OMAP TRNG driver code

2013-08-21 Thread Herbert Xu
ifdef CONFIG_OF, where it needs > > to be. > > > Missed testing this. Thanks for the patch. > Reviewed-by: Lokesh Vutla Patch applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To uns

Re: [PATCH v2 00/14] crypto: omap-aes: Improve DMA, add PIO mode and support for AM437x

2013-08-21 Thread Herbert Xu
to give good > performance > for small blocks as shown below. > > Tests have been performed on AM335x, OMAP4 and AM437x SoCs. > > Below is a sample run on AM335x SoC (beaglebone board), showing > performance improvement (20% for 8K blocks): All applied. Thanks! -- Email:

Re: [PATCH 0/2] crypto: omap-sham: Misc updates for driver

2013-08-21 Thread Herbert Xu
ls > crypto: omap-sham: correct dma burst size Both patches applied. 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-omap&quo

Re: [PATCH 0/6] hwrng: OMAP: Updates for OMAP RNG module

2013-08-08 Thread Herbert Xu
used. > hwrng: OMAP: Add OMAP4 TRNG support All applied. 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-omap" in the body

Re: [PATCH 0/4] crypto: omap-sham: Add support for SHA384/SHA512 for OMAP5/AM43xx Soc's

2013-07-31 Thread Herbert Xu
ake cleanup paths simpler. All applied. 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-omap" in the body of a message to majord...@vger.ker

Re: [PATCH v2] OMAP: AES: Don't idle/start AES device between Encrypt operations

2013-06-05 Thread Herbert Xu
; can be used for that. > > Tested on a Beaglebone (AM335x SoC) board. > > v3 changes: > Refreshed patch on kernel v3.10-rc3 > > Signed-off-by: Joel A Fernandes Patch applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gon

Re: [PATCH v2] OMAP: AES: Don't idle/start AES device between Encrypt operations

2013-05-28 Thread Herbert Xu
can be used for that. > > Tested on a Beaglebone (AM335x SoC) board. > > Signed-off-by: Joel A Fernandes I like your patch but it doesn't apply against the current cryptodev tree. Please rebase and repost. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org

Re: [PATCH] crypto: omap-sham - Fix compile errors when CONFIG_OF not defined

2013-01-19 Thread Herbert Xu
ev() to omap_sham_get_res_of() > and creating an empty version of omap_sham_of_match[]. > > Signed-off-by: Mark A. Greer Also applied. -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from

Re: [PATCH v2 00/10] crypto: omap-aes - Updates & New Functionality

2013-01-19 Thread Herbert Xu
aengine patches submitted by Matt Porter >"[RFC PATCH v3 00/16] DMA Engine support for AM33XX]" >(https://lkml.org/lkml/2012/10/18/256) > - some misc patches required by the EDMA patches > - a hack to fix the compilation error that the current k.o. kernel has All appli

Re: [PATCH 0/9] crypto: omap-sham - Updates & New Functionality

2013-01-05 Thread Herbert Xu
rter >"[RFC PATCH v3 00/16] DMA Engine support for AM33XX]" >(https://lkml.org/lkml/2012/10/18/256) > - some misc patches required by the EDMA patches > - a hack to fix the compilation error that the current k.o. kernel has All applied. Thaks a lot! -- Emai

Re: [PATCH 0/5] hwrng/ARM: OMAP: convert to use runtime PM

2012-08-30 Thread Herbert Xu
> here. > > Yes Matt & Herbert, care to ack the drivers/char/hw_random related changes? Acked-by: Herbert Xu > This series will conflict with the planned ARM common zImage changes > that we have planned so I'd like to merge them via the ARM soc tree. Thanks, -- Email:

Re: [PATCH 00/11] crypto: omap-sham driver fixes

2011-06-08 Thread Herbert Xu
for multi core as well. All applied to cryptodev. Thanks Dmitry! -- 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-omap" in the

Re: [PATCH 0/4] crypto: omap-sham driver fixes

2011-04-25 Thread Herbert Xu
On Wed, Apr 20, 2011 at 01:34:54PM +0300, Dmitry Kasatkin wrote: > Hi, > > Here is few patches with couple of important fixes... All applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To un

Re: [PATCH 1/1] omap-sham: backlog handling fix

2010-12-29 Thread Herbert Xu
ed requests. > It does not happen in implementation similar to crypto test manager, > but it will happen in implementation similar to dm-crypt. > Backlog needs to be checked before dequeuing next request. > > Signed-off-by: Dmitry Kasatkin Patch applied. Thanks Dmitry. -

Re: [PATCHv2 0/6] omap-aes off mode and error handling fixes

2010-12-02 Thread Herbert Xu
cient and right way to do it > - checkpatch fixes in separate patch All applied. Thanks Dmitry! -- 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-

Re: [PATCH v3 0/8] omap-sham: OMAP SHA1/MD5 driver fixes and improvements

2010-11-27 Thread Herbert Xu
On Fri, Nov 19, 2010 at 04:04:21PM +0200, Dmitry Kasatkin wrote: > Hi, > > Here is a set of patches which provides fixes and improvements. > > Based on Herbert feedback it also includes fixes so that calling final() > is not mandatory. All applied. Thanks Dmitry! -- Email

Re: linux-next: manual merge of the crypto tree with the omap tree

2010-09-26 Thread Herbert Xu
ble omap aes") from the omap tree and commit > b744c679f62b368cb94c21c1dcd4618e42d88d63 ("crypto: updates to enable omap > aes") from the crypto tree. > > Two versions of the same patch. The version in the omap tree has been > updated, so I used that. Thanks fo

Re: [PATCH 1/1] crypto: omap-sham: Adjust DMA parameters

2010-09-03 Thread Herbert Xu
SHA processing speed up to 30 percent depending on the > bus / memory load. > > Signed-off-by: Samu Onkalo > Signed-off-by: Dmitry Kasatkin Patch applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.t

Re: [PATCH 0/2] omap-aes: OMAP2/3 AES HW accelerator driver

2010-09-03 Thread Herbert Xu
On Fri, Aug 20, 2010 at 04:44:45PM +0300, Dmitry Kasatkin wrote: > This set of patches provides implementation of the driver for > OMAP2/3 AES hw accelerator. > Both patches applied. Thanks! -- Email: Herbert Xu Home Page: http://gondor.apana.org.au/~herbert/ PGP

Re: [PATCH 1/2] crypto: updates to enable omap aes

2010-08-31 Thread Herbert Xu
On Tue, Aug 31, 2010 at 11:52:27AM +0300, Dmitry Kasatkin wrote: > Hi, > > Does anyone want to comment on this? Please be patient. Your patches are still in my queue. Resending them is only going to slow them down. Thanks, -- Email: Herbert Xu Home Page: http://gondor.apana.org.au

Re: [PATCH 1/1] omap-sham: OMAP macros corrected

2010-05-13 Thread Herbert Xu
penswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} 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-omap" in the body of a message to majord...@vger.kerne

Re: [PATCH 1/1] omap-sham: OMAP macros corrected

2010-05-10 Thread Herbert Xu
odev, is this going to cause any problems for you? Thbanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} 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 "unsub

Re: [PATCHv4 0/2] omap-sham: OMAP SHA1/MD5 driver

2010-05-02 Thread Herbert Xu
sha1 & md5 driver Both patches applied. Thanks for all your hard work Dmitry! -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt -- To unsubscribe from this l

Re: [PATCHv3 2/2] crypto: omap-sham - omap sha1 & md5 driver

2010-04-13 Thread Herbert Xu
shash object. ahash by itself is enough. Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} 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 "unsubscri

Re: [PATCHv3 2/2] crypto: omap-sham - omap sha1 & md5 driver

2010-04-13 Thread Herbert Xu
ble > > Signed-off-by: Dmitry Kasatkin You have not addressed my objections raised earlier. Also, why are you exporting a shash object? You cannot sleep during shash operations (except for setkey). Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV&

Re: [PATCH 0/2] crypto: omap-sha1-md5: OMAP3 SHA1 & MD5 driver

2010-04-08 Thread Herbert Xu
On Tue, Mar 23, 2010 at 07:32:39PM +0800, Herbert Xu wrote: > > My only question is what's your plan with respect to HMAC? If > you're going to do it in hardware then it's fine as it is. > > Otherwise you need to implement export/import and we also need > to add

Re: [PATCH 0/2] crypto: omap-sha1-md5: OMAP3 SHA1 & MD5 driver

2010-03-23 Thread Herbert Xu
's your plan with respect to HMAC? If you're going to do it in hardware then it's fine as it is. Otherwise you need to implement export/import and we also need to add ahash support to hmac.c. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~}

Re: [patch 2.6.25-rc8] omap_rng minor updates

2008-04-16 Thread Herbert Xu
On Wed, Apr 16, 2008 at 10:04:49AM -0700, David Brownell wrote: > > Is that where the RNG stuff is now getting maintained? For hardware RNG stuff yes. For the software RNG you should send them to Matt Mackall as usual. Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herb

Re: [patch 2.6.25-rc8] omap_rng minor updates

2008-04-16 Thread Herbert Xu
On Fri, Apr 11, 2008 at 04:32:03AM +, David Brownell wrote: > Minor cleanups to the OMAP RNG: Thanks. I've picked this up in cryptodev-2.6. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apana.org.au/