Searched hist:"15 f64ee0" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/crypto/inside-secure/ |
H A D | safexcel_cipher.c | 15f64ee0 Mon Mar 19 03:21:18 CDT 2018 Antoine Tenart <antoine.tenart@bootlin.com> crypto: inside-secure - improve the skcipher token
The token used for encryption and decryption of skcipher algorithms sets its stat field to "last packet". As it's a cipher only algorithm, there is not hash operation and thus the "last hash" bit should be set to tell the internal engine no hash operation should be performed.
This does not fix a bug, but improves the token definition to follow exactly what's advised by the datasheet.
Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> 15f64ee0 Mon Mar 19 03:21:18 CDT 2018 Antoine Tenart <antoine.tenart@bootlin.com> crypto: inside-secure - improve the skcipher token The token used for encryption and decryption of skcipher algorithms sets its stat field to "last packet". As it's a cipher only algorithm, there is not hash operation and thus the "last hash" bit should be set to tell the internal engine no hash operation should be performed. This does not fix a bug, but improves the token definition to follow exactly what's advised by the datasheet. Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
|