summary refs log tree commit diff
path: root/include/crypto/drbg.h
diff options
context:
space:
mode:
authorStephan Mueller <smueller@chronox.de>2014-07-06 02:25:04 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2014-07-08 21:18:24 +0800
commit4f150718797ffd539ace231d001eb41b09e13895 (patch)
treeb2f1748308eb0d553a598d6368d76848ae3fd6e1 /include/crypto/drbg.h
parent72e7c25aa6d73df2951229d2ce0a35065de66d3a (diff)
downloadlinux-4f150718797ffd539ace231d001eb41b09e13895.tar.gz
crypto: drbg - Select correct DRBG core for stdrng
When the DRBG is initialized, the core is looked up using the DRBG name.
The name that can be used for the lookup is registered in
cra_driver_name. The cra_name value contains stdrng.

Thus, the lookup code must use crypto_tfm_alg_driver_name to obtain the
precise DRBG name and select the correct DRBG.

Signed-off-by: Stephan Mueller <smueller@chronox.de>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/drbg.h')
0 files changed, 0 insertions, 0 deletions