lkml.org 
[lkml]   [2019]   [May]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Subject[PATCH 00/14] crypto: inside-secure - self-test fixes
    Date
    Hello,

    The crypto runtime self-tests were improved and thanks to this we
    spotted new issues within the Inside Secure SafeXcel cryptographic
    engine driver:
    - Intermediate IV were not retrieved from the hardware nor copied to the
    quest IV buffer for cbc(aes/des).
    - HMAC updates wasn't supported.
    - We spotted issues with the use of the SG lists.
    - There was an issue with the use of result buffers.

    The series fixes all those issues, and includes other small changes
    found while doing this work.

    Thanks!
    Antoine

    Antoine Tenart (14):
    crypto: inside-secure - remove empty line
    crypto: inside-secure - move comment
    crypto: inside-secure - fix coding style for a condition
    crypto: inside-secure - remove useless check
    crypto: inside-secure - improve the result error format when displayed
    crypto: inside-secure - change returned error when a descriptor
    reports an error
    crypto: inside-secure - enable context reuse
    crypto: inside-secure - unify cache reset
    crypto: inside-secure - fix zeroing of the request in ahash_exit_inv
    crypto: inside-secure - fix queued len computation
    crypto: inside-secure - implement IV retrieval
    crypto: inside-secure - add support for HMAC updates
    crypto: inside-secure - fix use of the SG list
    crypto: inside-secure - do not rely on the hardware last bit for
    result descriptors

    drivers/crypto/inside-secure/safexcel.c | 13 +-
    drivers/crypto/inside-secure/safexcel.h | 17 ++-
    .../crypto/inside-secure/safexcel_cipher.c | 116 +++++++++++-------
    drivers/crypto/inside-secure/safexcel_hash.c | 92 ++++++++------
    drivers/crypto/inside-secure/safexcel_ring.c | 3 +
    5 files changed, 157 insertions(+), 84 deletions(-)

    --
    2.21.0

    \
     
     \ /
      Last update: 2019-05-27 16:52    [W:5.067 / U:0.056 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site