Re: [PATCH RFC 11/11] crypto: caam - fix RNG buffer cache alignment

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

 



On Mon, Jun 15, 2015 at 04:52:59PM -0700, Victoria Milhoan wrote:
> From: Steve Cornelius <steve.cornelius@xxxxxxxxxxxxx>
> 
> The hwrng output buffers (2) are cast inside of a a struct (caam_rng_ctx)
> allocated in one DMA-tagged region. While the kernel's heap allocator
> should place the overall struct on a cacheline aligned boundary, the 2
> buffers contained within may not necessarily align. Consenquently, the ends
> of unaligned buffers may not fully flush, and if so, stale data will be left
> behind, resulting in small repeating patterns.

Applied to crypto with stable CC.
-- 
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



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

  Powered by Linux