02 Mar, 2017

1 commit


27 Jan, 2016

1 commit


21 Oct, 2015

1 commit


22 Sep, 2015

1 commit


23 Jun, 2015

1 commit

  • Pull crypto update from Herbert Xu:
    "Here is the crypto update for 4.2:

    API:

    - Convert RNG interface to new style.

    - New AEAD interface with one SG list for AD and plain/cipher text.
    All external AEAD users have been converted.

    - New asymmetric key interface (akcipher).

    Algorithms:

    - Chacha20, Poly1305 and RFC7539 support.

    - New RSA implementation.

    - Jitter RNG.

    - DRBG is now seeded with both /dev/random and Jitter RNG. If kernel
    pool isn't ready then DRBG will be reseeded when it is.

    - DRBG is now the default crypto API RNG, replacing krng.

    - 842 compression (previously part of powerpc nx driver).

    Drivers:

    - Accelerated SHA-512 for arm64.

    - New Marvell CESA driver that supports DMA and more algorithms.

    - Updated powerpc nx 842 support.

    - Added support for SEC1 hardware to talitos"

    * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (292 commits)
    crypto: marvell/cesa - remove COMPILE_TEST dependency
    crypto: algif_aead - Temporarily disable all AEAD algorithms
    crypto: af_alg - Forbid the use internal algorithms
    crypto: echainiv - Only hold RNG during initialisation
    crypto: seqiv - Add compatibility support without RNG
    crypto: eseqiv - Offer normal cipher functionality without RNG
    crypto: chainiv - Offer normal cipher functionality without RNG
    crypto: user - Add CRYPTO_MSG_DELRNG
    crypto: user - Move cryptouser.h to uapi
    crypto: rng - Do not free default RNG when it becomes unused
    crypto: skcipher - Allow givencrypt to be NULL
    crypto: sahara - propagate the error on clk_disable_unprepare() failure
    crypto: rsa - fix invalid select for AKCIPHER
    crypto: picoxcell - Update to the current clk API
    crypto: nx - Check for bogus firmware properties
    crypto: marvell/cesa - add DT bindings documentation
    crypto: marvell/cesa - add support for Kirkwood and Dove SoCs
    crypto: marvell/cesa - add support for Orion SoCs
    crypto: marvell/cesa - add allhwsupport module parameter
    crypto: marvell/cesa - add support for all armada SoCs
    ...

    Linus Torvalds
     

28 May, 2015

1 commit


01 May, 2015

1 commit


23 Apr, 2015

1 commit

  • All users of AEAD should include crypto/aead.h instead of
    include/linux/crypto.h.

    This patch also removes a bogus inclusion of algapi.h which should
    only be used by algorithm/driver implementors and not crypto users.

    Instead linux/crypto.h is added which is necessary because mac802154
    also uses blkcipher in addition to aead.

    Signed-off-by: Herbert Xu
    Acked-by: David S. Miller

    Herbert Xu
     

05 Dec, 2014

2 commits


26 Oct, 2014

2 commits

  • This patch moves the ieee802154 header into include/linux instead
    include/net. Similar like wireless which have the ieee80211 header
    inside of include/linux.

    Signed-off-by: Alexander Aring
    Cc: Alan Ott
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     
  • This patch moves the mac802154.h internal header to ieee802154_i.h like
    the wireless stack ieee80211_i.h file. This avoids confusing with the
    not internal header include/net/mac802154.h header. Additional we get
    the same naming conversion like mac80211 for this file.

    Signed-off-by: Alexander Aring
    Signed-off-by: Marcel Holtmann

    Alexander Aring
     

08 Jul, 2014

1 commit

  • This patch fixed the coding style issues reported by checkpatch.pl

    following issues fixed:
    CHECK: Alignment should match open parenthesis
    WARNING: line over 80 characters
    CHECK: Blank lines aren't necessary before a close brace '}'
    WARNING: networking block comments don't use an empty /* line, use /* Comment...
    WARNING: Missing a blank line after declarations
    WARNING: networking block comments start with * on subsequent lines
    CHECK: braces {} should be used on all arms of this statement

    Signed-off-by: Varka Bhadram
    Tested-by: Alexander Aring
    Signed-off-by: David S. Miller

    Varka Bhadram
     

07 Jun, 2014

1 commit


23 May, 2014

3 commits


17 May, 2014

4 commits

  • The 802.15.4-2011 standard states that for each key, a list of devices
    that use this key shall be kept. Previous patches have only considered
    two options:

    * a device "uses" (or may use) all keys, rendering the list useless
    * a device is restricted to a certain set of keys

    Another option would be that a device *may* use all keys, but need not
    do so, and we are interested in the actual set of keys the device uses.
    Recording keys used by any given device may have a noticable performance
    impact and might not be needed as often. The common case, in which a
    device will not switch keys too often, should still perform well.

    Signed-off-by: Phoebe Buckheister
    Signed-off-by: David S. Miller

    Phoebe Buckheister
     
  • Signed-off-by: Phoebe Buckheister
    Signed-off-by: David S. Miller

    Phoebe Buckheister
     
  • Signed-off-by: Phoebe Buckheister
    Signed-off-by: David S. Miller

    Phoebe Buckheister
     
  • This patch adds containers and mutators for the major ieee802154_llsec
    structures to mac802154. Most of the (rather simple) ieee802154_llsec
    structs are wrapped only to provide an rcu_head for orderly disposal,
    but some structs - llsec keys notably - require more complex
    bookkeeping.

    Since each llsec key may be referenced by a number of llsec key table
    entries (with differing key ids, but the same actual key), we want to
    save memory and not allocate crypto transforms for each entry in the
    table. Thus, the mac802154 llsec key is reference-counted instead.
    Further, each key will have four associated crypto transforms - three
    CCM transforms for the authsizes 4/8/16 and one CTR transform for
    unauthenticated encryption. If we had a CCM* transform that allowed
    authsize 0, and authsize as part of requests instead of transforms, this
    would not be necessary.

    Signed-off-by: Phoebe Buckheister
    Signed-off-by: David S. Miller

    Phoebe Buckheister