crypto: ccp - Refactor code supporting the CCP's RNG
authorGary R Hook <gary.hook@amd.com>
Wed, 27 Jul 2016 00:10:02 +0000 (19:10 -0500)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 9 Aug 2016 10:47:09 +0000 (18:47 +0800)
commit8256e683113e659d9bf6bffdd227eeb1881ae9a7
tree909ef28a95723e7cffab192109f3e7118bbbe694
parent58a690b701efc32ffd49722dd7b887154eb5a205
crypto: ccp - Refactor code supporting the CCP's RNG

Make the RNG support code common (where possible) in
preparation for adding a v5 device.

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.c
drivers/crypto/ccp/ccp-dev.h