Re: [PATCH v3 0/8] Add support for SafeXcel IP-76 to OMAP RNG

2016-10-05 Thread Matthijs van Duin
>>> The driver omap-rng has a lot of similarity with the IP block SafeXcel >>> IP-76. A lot of registers are the same and the way that the driver works >>> is very closed the description of the TRNG EIP76 in its datasheet. Specifically the omap rng, at least the version I've examined, is a

[PATCH v4 0/2] Improve DMA chaining for ahash requests

2016-10-05 Thread Romain Perier
This series contain performance improvement regarding ahash requests. So far, ahash requests were systematically not chained at the DMA level. However, in some case, like this is the case by using IPSec, some ahash requests can be processed directly by the engine, and don't have intermediaire

[PATCH v4 2/2] crypto: marvell - Don't break chain for computable last ahash requests

2016-10-05 Thread Romain Perier
Currently, the driver breaks chain for all kind of hash requests in order to don't override intermediate states of partial ahash updates. However, some final ahash requests can be directly processed by the engine, and so without intermediate state. This is typically the case for most for the HMAC

[PATCH v4 1/2] crypto: marvell - Use an unique pool to copy results of requests

2016-10-05 Thread Romain Perier
So far, we used a dedicated dma pool to copy the result of outer IV for cipher requests. Instead of using a dma pool per outer data, we prefer use the op dma pool that contains all part of the request from the SRAM. Then, the outer data that is likely to be used by the 'complete' operation, is