]> git.baikalelectronics.ru Git - kernel.git/commit
crypto: ccp - Refactor the storage block allocation code
authorGary R Hook <gary.hook@amd.com>
Wed, 27 Jul 2016 00:09:50 +0000 (19:09 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:08 +0000 (18:47 +0800)
commit0751a95ccc413ff11872cd9db1d60ffebd7856d6
tree5a0e0da14823062167cc9893abd37f424de94e2a
parent537e71556cee9334643ba9a339ab3bf63d959f26
crypto: ccp - Refactor the storage block allocation code

Move the KSB access/management functions to the v3
device file, and add function pointers to the actions
structure. At the operations layer all of the references
to the storage block will be generic (virtual). This is
in preparation for a version 5 device, in which the
private storage block is managed differently.

Signed-off-by: Gary R Hook <gary.hook@amd.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
drivers/crypto/ccp/ccp-dev-v3.c
drivers/crypto/ccp/ccp-dev.h
drivers/crypto/ccp/ccp-ops.c