]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: inside-secure - fix the hash then encrypt/decrypt types
authorAntoine Tenart <antoine.tenart@bootlin.com>
Mon, 14 May 2018 13:11:00 +0000 (15:11 +0200)
committerHerbert Xu <herbert@gondor.apana.org.au>
Sat, 26 May 2018 16:11:39 +0000 (00:11 +0800)
commit9212bb708fb9701538f9951e22aca0b5b81e0d70
tree5d2e590c08ad7df876f73820d29da2fc0ec3b5eb
parent40b3dea12611822aad75354f05871220caab719a
crypto: inside-secure - fix the hash then encrypt/decrypt types

This commit fixes the CONTEXT_CONTROL_TYPE_HASH_ENCRYPT_OUT and
CONTEXT_CONTROL_TYPE_HASH_DECRYPT_OUT types by assigning the right
value, and by renaming CONTEXT_CONTROL_TYPE_HASH_DECRYPT_OUT to
CONTEXT_CONTROL_TYPE_HASH_DECRYPT_IN.

This is not submitted as a fix for older kernel versions as these two
defines weren't used back then.

Signed-off-by: Antoine Tenart <antoine.tenart@bootlin.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/inside-secure/safexcel.h