Re: crypto: marvell/cesa - dma_alloc_coherent broken but kmalloc + dma_map_single works

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 22, 2025 at 11:01:36AM +0800, Herbert Xu wrote:
>
> I think we've made progress.  All the simple hashes have passed
> and now we're only failing on hmac.  So it looks it was the
> coherent memory being incoherent.

I've analysed the hmac errors and the good news is that they
all appear to be caused by a genuine bug in the driver.  When
the final update is zero-length which the hardware can't handle,
the driver fallback code is broken for hmac.

I'm working on a fix.

Cheers,
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt




[Index of Archives]     [Kernel]     [Gnu Classpath]     [Gnu Crypto]     [DM Crypt]     [Netfilter]     [Bugtraq]
  Powered by Linux