1. 09 7月, 2018 2 次提交
  2. 27 5月, 2018 1 次提交
  3. 28 4月, 2018 2 次提交
  4. 23 3月, 2018 1 次提交
  5. 03 3月, 2018 1 次提交
  6. 15 2月, 2018 1 次提交
  7. 25 1月, 2018 1 次提交
  8. 03 11月, 2017 2 次提交
  9. 12 10月, 2017 1 次提交
  10. 22 8月, 2017 1 次提交
  11. 18 7月, 2017 4 次提交
  12. 12 6月, 2017 1 次提交
  13. 10 6月, 2017 4 次提交
  14. 21 4月, 2017 1 次提交
    • K
      crypto: exynos - Add new Exynos RNG driver · c46ea13f
      Krzysztof Kozlowski 提交于
      Replace existing hw_ranndom/exynos-rng driver with a new, reworked one.
      This is a driver for pseudo random number generator block which on
      Exynos4 chipsets must be seeded with some value.  On newer Exynos5420
      chipsets it might seed itself from true random number generator block
      but this is not implemented yet.
      
      New driver is a complete rework to use the crypto ALGAPI instead of
      hw_random API.  Rationale for the change:
      1. hw_random interface is for true RNG devices.
      2. The old driver was seeding itself with jiffies which is not a
         reliable source for randomness.
      3. Device generates five random 32-bit numbers in each pass but old
         driver was returning only one 32-bit number thus its performance was
         reduced.
      
      Compatibility with DeviceTree bindings is preserved.
      
      New driver does not use runtime power management but manually enables
      and disables the clock when needed.  This is preferred approach because
      using runtime PM just to toggle clock is huge overhead.
      
      Another difference is reseeding itself with generated random data
      periodically and during resuming from system suspend (previously driver
      was re-seeding itself again with jiffies).
      Signed-off-by: NKrzysztof Kozlowski <krzk@kernel.org>
      Reviewed-by: NStephan Müller <smueller@chronox.de>
      Reviewed-by: NPrasannaKumar Muralidharan <prasannatsmkumar@gmail.com>
      Reviewed-by: NBartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      c46ea13f
  15. 05 4月, 2017 1 次提交
  16. 09 3月, 2017 1 次提交
  17. 27 2月, 2017 2 次提交
  18. 24 2月, 2017 1 次提交
    • M
      s390/crypt: Add protected key AES module · 27937843
      Martin Schwidefsky 提交于
      This patch introduces a new in-kernel-crypto blockcipher
      called 'paes' which implements AES with protected keys.
      The paes blockcipher can be used similar to the aes
      blockcipher but uses secure key material to derive the
      working protected key and so offers an encryption
      implementation where never a clear key value is exposed
      in memory.
      
      The paes module is only available for the s390 platform
      providing a minimal hardware support of CPACF enabled
      with at least MSA level 3. Upon module initialization
      these requirements are checked.
      
      Includes additional contribution from Harald Freudenberger.
      Signed-off-by: NMartin Schwidefsky <schwidefsky@de.ibm.com>
      27937843
  19. 23 2月, 2017 2 次提交
  20. 11 2月, 2017 3 次提交
  21. 03 2月, 2017 1 次提交
    • C
      crypto: atmel-authenc - add support to authenc(hmac(shaX), Y(aes)) modes · 89a82ef8
      Cyrille Pitchen 提交于
      This patchs allows to combine the AES and SHA hardware accelerators on
      some Atmel SoCs. Doing so, AES blocks are only written to/read from the
      AES hardware. Those blocks are also transferred from the AES to the SHA
      accelerator internally, without additionnal accesses to the system busses.
      
      Hence, the AES and SHA accelerators work in parallel to process all the
      data blocks, instead of serializing the process by (de)crypting those
      blocks first then authenticating them after like the generic
      crypto/authenc.c driver does.
      
      Of course, both the AES and SHA hardware accelerators need to be available
      before we can start to process the data blocks. Hence we use their crypto
      request queue to synchronize both drivers.
      Signed-off-by: NCyrille Pitchen <cyrille.pitchen@atmel.com>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      89a82ef8
  22. 23 1月, 2017 1 次提交
  23. 13 1月, 2017 2 次提交
  24. 27 12月, 2016 1 次提交
  25. 16 12月, 2016 1 次提交
    • G
      crypto: add virtio-crypto driver · dbaf0624
      Gonglei 提交于
      This patch introduces virtio-crypto driver for Linux Kernel.
      
      The virtio crypto device is a virtual cryptography device
      as well as a kind of virtual hardware accelerator for
      virtual machines. The encryption anddecryption requests
      are placed in the data queue and are ultimately handled by
      thebackend crypto accelerators. The second queue is the
      control queue used to create or destroy sessions for
      symmetric algorithms and will control some advanced features
      in the future. The virtio crypto device provides the following
      cryptoservices: CIPHER, MAC, HASH, and AEAD.
      
      For more information about virtio-crypto device, please see:
        http://qemu-project.org/Features/VirtioCrypto
      
      CC: Michael S. Tsirkin <mst@redhat.com>
      CC: Cornelia Huck <cornelia.huck@de.ibm.com>
      CC: Stefan Hajnoczi <stefanha@redhat.com>
      CC: Herbert Xu <herbert@gondor.apana.org.au>
      CC: Halil Pasic <pasic@linux.vnet.ibm.com>
      CC: David S. Miller <davem@davemloft.net>
      CC: Zeng Xin <xin.zeng@intel.com>
      Signed-off-by: NGonglei <arei.gonglei@huawei.com>
      Signed-off-by: NMichael S. Tsirkin <mst@redhat.com>
      dbaf0624
  26. 13 9月, 2016 1 次提交