1. 10 Oct, 2024 2 commits
    • Herbert Xu's avatar
      crypto: testmgr - Hide ENOENT errors better · 6318fbe2
      Herbert Xu authored
      The previous patch removed the ENOENT warning at the point of
      allocation, but the overall self-test warning is still there.
      
      Fix all of them by returning zero as the test result.  This is
      safe because if the algorithm has gone away, then it cannot be
      marked as tested.
      
      Fixes: 4eded6d1 ("crypto: testmgr - Hide ENOENT errors")
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      6318fbe2
    • Herbert Xu's avatar
      crypto: api - Fix liveliness check in crypto_alg_tested · b81e286b
      Herbert Xu authored
      As algorithm testing is carried out without holding the main crypto
      lock, it is always possible for the algorithm to go away during the
      test.
      
      So before crypto_alg_tested updates the status of the tested alg,
      it checks whether it's still on the list of all algorithms.  This
      is inaccurate because it may be off the main list but still on the
      list of algorithms to be removed.
      
      Updating the algorithm status is safe per se as the larval still
      holds a reference to it.  However, killing spawns of other algorithms
      that are of lower priority is clearly a deficiency as it adds
      unnecessary churn.
      
      Fix the test by checking whether the algorithm is dead.
      Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
      b81e286b
  2. 21 Sep, 2024 3 commits
  3. 13 Sep, 2024 7 commits
  4. 06 Sep, 2024 15 commits
  5. 03 Sep, 2024 1 commit
  6. 30 Aug, 2024 12 commits