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