02 Sep, 2013

2 commits

  • This patch updates the NX driver to perform several hyper calls when necessary
    so that the length limits of scatter/gather lists are respected.

    Reviewed-by: Marcelo Cerri
    Signed-off-by: Joy Latten
    Signed-off-by: Fionnuala Gunter
    Signed-off-by: Herbert Xu

    Fionnuala Gunter
     
  • This patch includes one more parameter to nx_build_sg_lists() to skip
    the given number of bytes from beginning of each sg list.

    This is needed in order to implement the fixes for the AES modes to make
    them able to process larger chunks of data.

    Reviewed-by: Joy Latten
    Signed-off-by: Marcelo Cerri
    Signed-off-by: Herbert Xu

    Marcelo Cerri
     

14 Aug, 2013

1 commit

  • The NX driver uses the transformation context to store several fields
    containing data related to the state of the operations in progress.
    Since a single tfm can be used by different kernel threads at the same
    time, we need to protect the data stored into the context.

    This patch makes use of spin locks to protect the data where a race
    condition can happen.

    Reviewed-by: Fionnuala Gunter
    Reviewed-by: Joy Latten
    Signed-off-by: Marcelo Cerri
    Signed-off-by: Herbert Xu

    Marcelo Cerri
     

01 Aug, 2012

1 commit

  • Initialization of cra_list is currently mixed, most ciphers initialize this
    field and most shashes do not. Initialization however is not needed at all
    since cra_list is initialized/overwritten in __crypto_register_alg() with
    list_add(). Therefore perform cleanup to remove all unneeded initializations
    of this field in 'crypto/drivers/'.

    Cc: Benjamin Herrenschmidt
    Cc: linux-geode@lists.infradead.org
    Cc: Michal Ludvig
    Cc: Dmitry Kasatkin
    Cc: Varun Wadekar
    Cc: Eric Bénard
    Signed-off-by: Jussi Kivilinna
    Acked-by: Kent Yoder
    Acked-by: Vladimir Zapolskiy
    Signed-off-by: Herbert Xu

    Jussi Kivilinna
     

16 May, 2012

1 commit