1. 20 9月, 2019 1 次提交
  2. 13 9月, 2019 6 次提交
  3. 05 9月, 2019 10 次提交
  4. 30 8月, 2019 3 次提交
  5. 22 8月, 2019 2 次提交
  6. 09 8月, 2019 3 次提交
  7. 26 7月, 2019 14 次提交
  8. 06 6月, 2019 1 次提交
    • A
      crypto: inside-secure - do not rely on the hardware last bit for result descriptors · 89332590
      Antoine Tenart 提交于
      When performing a transformation the hardware is given result
      descriptors to save the result data. Those result descriptors are
      batched using a 'first' and a 'last' bit. There are cases were more
      descriptors than needed are given to the engine, leading to the engine
      only using some of them, and not setting the last bit on the last
      descriptor we gave. This causes issues were the driver and the hardware
      aren't in sync anymore about the number of result descriptors given (as
      the driver do not give a pool of descriptor to use for any
      transformation, but a pool of descriptors to use *per* transformation).
      
      This patch fixes it by attaching the number of given result descriptors
      to the requests, and by using this number instead of the 'last' bit
      found on the descriptors to process them.
      Signed-off-by: NAntoine Tenart <antoine.tenart@bootlin.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      89332590