hab/caam: Fix compilation of caam driver when hab is disabled
The caam driver needs the variable habv4_need_rng_software_self_test, but this is only declared when HABV4 is enabled. Instead of exporting a variable rather provide a function to test if a software selftest of the random number generator is needed. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de> |
---|
|
drivers/crypto/caam/ctrl.c |
---|
drivers/hab/habv4.c |
---|
include/hab.h |
---|