]> 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)
commit9af6f8fb18a59d53f825f2b1ef75dffa2d6ebe7a
tree5a0e0da14823062167cc9893abd37f424de94e2a
parenta719d0d3afccf00c3095b00fa618ca3cff6d8ef2
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