1. 05 4月, 2017 1 次提交
  2. 09 3月, 2017 1 次提交
  3. 27 2月, 2017 2 次提交
  4. 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
  5. 23 2月, 2017 2 次提交
  6. 11 2月, 2017 3 次提交
  7. 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
  8. 23 1月, 2017 1 次提交
  9. 13 1月, 2017 2 次提交
  10. 27 12月, 2016 1 次提交
  11. 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
  12. 13 9月, 2016 1 次提交
  13. 19 8月, 2016 1 次提交
  14. 15 6月, 2016 1 次提交
  15. 03 5月, 2016 1 次提交
  16. 20 4月, 2016 1 次提交
  17. 15 4月, 2016 1 次提交
  18. 05 4月, 2016 2 次提交
  19. 28 2月, 2016 1 次提交
  20. 06 2月, 2016 1 次提交
  21. 01 2月, 2016 1 次提交
  22. 18 1月, 2016 1 次提交
  23. 23 12月, 2015 1 次提交
  24. 22 12月, 2015 1 次提交
  25. 27 11月, 2015 1 次提交
  26. 23 11月, 2015 1 次提交
    • A
      crypto: atmel: fix bogus select · 56b85c9d
      Arnd Bergmann 提交于
      The Atmel at91 crypto driver unconditionally selects AT_HDMAC,
      which results in a Kconfig warning if that driver is not enabled:
      
      warning: (CRYPTO_DEV_ATMEL_AES) selects AT_HDMAC which has unmet direct dependencies (DMADEVICES && ARCH_AT91)
      
      The crypto driver itself does not actually have a dependency
      on a particular dma engine, other than this being the one that
      is used in at91.
      
      Removing the 'select' gets rid of the warning, but can cause
      the driver to be unusable if the HDMAC is not enabled at the
      same time. To work around that, this patch clarifies the runtime
      dependency to be 'AT_HDMAC || AT_XDMAC', but adds an alternative
      for COMPILE_TEST, which lets the driver get build on all systems.
      
      The ARCH_AT91 dependency is implied by AT_XDMAC || AT_HDMAC now
      and no longer needs to be listed separately.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      56b85c9d
  27. 14 10月, 2015 1 次提交
    • A
      crypto: mxs-dcp - mxs-dcp is an stmp device · dc97fa02
      Arnd Bergmann 提交于
      The mxs-dcp driver relies on the stmp_reset_block() helper function, which
      is provided by CONFIG_STMP_DEVICE. This symbol is always set on MXS,
      but the driver can now also be built for MXC (i.MX6), which results
      in a built error if no other driver selects STMP_DEVICE:
      
      drivers/built-in.o: In function `mxs_dcp_probe':
      vf610-ocotp.c:(.text+0x3df302): undefined reference to `stmp_reset_block'
      
      This adds the 'select', like all other stmp drivers have it.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Fixes: a2712e6c ("crypto: mxs-dcp - Allow MXS_DCP to be used on MX6SL")
      Acked-by: NMarek Vasut <marex@denx.de>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      dc97fa02
  28. 08 10月, 2015 1 次提交
  29. 21 9月, 2015 1 次提交
  30. 10 9月, 2015 1 次提交
  31. 20 7月, 2015 1 次提交
  32. 22 6月, 2015 1 次提交
  33. 19 6月, 2015 2 次提交