summaryrefslogtreecommitdiffstats
path: root/scripts/Makefile.host
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2015-06-21 19:11:41 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2015-06-22 15:49:16 +0800
commit21dbd96f2287a49219d35a0e916cf3f2bcaab9d0 (patch)
treea451df51aba5981cfe1b855e3ad95ec05c37f765 /scripts/Makefile.host
parent7eac7144dd1ef11c05a5f7605de6afa3770982e4 (diff)
downloadblackbird-op-linux-21dbd96f2287a49219d35a0e916cf3f2bcaab9d0.tar.gz
blackbird-op-linux-21dbd96f2287a49219d35a0e916cf3f2bcaab9d0.zip
crypto: skcipher - Allow givencrypt to be NULL
Currently for skcipher IV generators they must provide givencrypt as that is the whole point. We are currently replacing skcipher IV generators with explicit IV generators. In order to maintain backwards compatibility, we need to allow the IV generators to still function as a normal skcipher when the RNG Is not present (e.g., in the initramfs during boot). IOW everything but givencrypt and givdecrypt will still work but those two will fail. Therefore this patch assigns a default givencrypt that simply returns an error should it be NULL. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'scripts/Makefile.host')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud