28 Jul, 2011

1 commit

  • A small modification was necessary since in the machine description
    for 'n2cp' and 'ncp' nodes, there no longer is an 'intr' property.

    That's OK because this property was always nothing more than an
    array of integers '1' ... 'nr_inos + 1' so we can just compute it
    in-place.

    Signed-off-by: David S. Miller

    David S. Miller
     

26 Jul, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6:
    fs: take the ACL checks to common code
    bury posix_acl_..._masq() variants
    kill boilerplates around posix_acl_create_masq()
    generic_acl: no need to clone acl just to push it to set_cached_acl()
    kill boilerplate around posix_acl_chmod_masq()
    reiserfs: cache negative ACLs for v1 stat format
    xfs: cache negative ACLs if there is no attribute fork
    9p: do no return 0 from ->check_acl without actually checking
    vfs: move ACL cache lookup into generic code
    CIFS: Fix oops while mounting with prefixpath
    xfs: Fix wrong return value of xfs_file_aio_write
    fix devtmpfs race
    caam: don't pass bogus S_IFCHR to debugfs_create_...()
    get rid of create_proc_entry() abuses - proc_mkdir() is there for purpose
    asus-wmi: ->is_visible() can't return negative
    fix jffs2 ACLs on big-endian with 16bit mode_t
    9p: close ACL leaks
    ocfs2_init_acl(): fix a leak
    VFS : mount lock scalability for internal mounts

    Linus Torvalds
     

24 Jul, 2011

1 commit


15 Jul, 2011

8 commits

  • caam now supports encrypt and decrypt
    for aes, des and 3des

    Signed-off-by: Yuan Kang
    Signed-off-by: Kim Phillips
    Signed-off-by: Herbert Xu

    Yuan Kang
     
  • Job descriptors only contain header and seq pointers.

    Other commands are stored in separate shared descriptors
    for encrypt, decrypt and givencrypt, stored as arrays
    in caam_ctx.

    This requires additional macros to create math commands
    to calculate assoclen and cryptlen.

    Signed-off-by: Yuan Kang
    Signed-off-by: Kim Phillips
    Signed-off-by: Herbert Xu

    Yuan Kang
     
  • caam_ctx.key_phys to key_dma

    caam_alg_template supports multiple algorithm types
    listed in union, which requires cases for
    different types in function caam_alg_alloc

    Signed-off-by: Yuan Kang
    Signed-off-by: Kim Phillips
    Signed-off-by: Herbert Xu

    Yuan Kang
     
  • "aead_authenc" and "ipsec_esp" changed to "aead,"
    except for function "ipsec_esp," which is changed
    to "init_aead_job."

    Variable name of aead_request structures changed
    to "req" and name of aead_givcrypt_request structure
    changed to "areq"

    Signed-off-by: Yuan Kang
    Signed-off-by: Kim Phillips
    Signed-off-by: Herbert Xu

    Yuan Kang
     
  • crypto/ablkcipher.c's setkey() has already checked against the min, max
    key sizes before it calls here, and all max_keysize assignments in the
    algorithm template array do not exceed TALITOS_MAX_KEY_SIZE.

    Signed-off-by: Kim Phillips
    Signed-off-by: Herbert Xu

    Kim Phillips
     
  • Signed-off-by: Kim Phillips
    Signed-off-by: Herbert Xu

    Kim Phillips
     
  • IRQ done notification is always set. Remove its explicit
    assignment from the hot path by including it in the
    descriptor header template assignment in talitos_cra_init.

    Signed-off-by: Kim Phillips
    Signed-off-by: Herbert Xu

    Kim Phillips
     
  • Assign single target channel per tfm in talitos_cra_init instead of
    performing channel scheduling dynamically during the encryption request.
    This changes the talitos_submit interface to accept a new channel
    number argument. Without this, rapid bursts of misc. sized requests
    could make it possible for IPsec packets to be encrypted out-of-order,
    which would result in packet drops due to sequence numbers falling
    outside the anti-reply window on a peer gateway.

    Signed-off-by: Kim Phillips
    Signed-off-by: Herbert Xu

    Kim Phillips
     

30 Jun, 2011

14 commits


23 May, 2011

1 commit


21 May, 2011

1 commit

  • * git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6: (45 commits)
    crypto: caam - add support for sha512 variants of existing AEAD algorithms
    crypto: caam - remove unused authkeylen from caam_ctx
    crypto: caam - fix decryption shared vs. non-shared key setting
    crypto: caam - platform_bus_type migration
    crypto: aesni-intel - fix aesni build on i386
    crypto: aesni-intel - Merge with fpu.ko
    crypto: mv_cesa - make count_sgs() null-pointer proof
    crypto: mv_cesa - copy remaining bytes to SRAM only when needed
    crypto: mv_cesa - move digest state initialisation to a better place
    crypto: mv_cesa - fill inner/outer IV fields only in HMAC case
    crypto: mv_cesa - refactor copy_src_to_buf()
    crypto: mv_cesa - no need to save digest state after the last chunk
    crypto: mv_cesa - print a warning when registration of AES algos fail
    crypto: mv_cesa - drop this call to mv_hash_final from mv_hash_finup
    crypto: mv_cesa - the descriptor pointer register needs to be set just once
    crypto: mv_cesa - use ablkcipher_request_cast instead of the manual container_of
    crypto: caam - fix printk recursion for long error texts
    crypto: caam - remove unused keylen from session context
    hwrng: amd - enable AMD hw rnd driver for Maple PPC boards
    hwrng: amd - manage resource allocation
    ...

    Linus Torvalds
     

19 May, 2011

4 commits


11 May, 2011

9 commits