linuxkm/lkcapi_glue.c: fix aes-cfb wrappers, and add
WOLFSSL_DEBUG_TRACE_ERROR_CODES support for EINVAL/ENOMEM/EBADMSG; configure.ac: remove ENABLED_EXPERIMENTAL requirement for --enable-linuxkm-lkcapi-register=cfb(aes); linuxkm/module_hooks.c: omit "skipping full wolfcrypt_test" message if wc_RunAllCast_fips() was run.
This commit is contained in:
@@ -270,7 +270,7 @@ static int wolfssl_init(void)
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifdef HAVE_FIPS
|
||||
#if defined(HAVE_FIPS) && FIPS_VERSION3_GT(5,2,0)
|
||||
ret = wc_RunAllCast_fips();
|
||||
if (ret != 0) {
|
||||
pr_err("wc_RunAllCast_fips() failed with return value %d\n", ret);
|
||||
@@ -302,7 +302,7 @@ static int wolfssl_init(void)
|
||||
""
|
||||
#endif
|
||||
);
|
||||
#endif /* HAVE_FIPS */
|
||||
#endif /* HAVE_FIPS && FIPS_VERSION3_GT(5,2,0) */
|
||||
|
||||
#ifndef NO_CRYPT_TEST
|
||||
ret = wolfcrypt_test(NULL);
|
||||
@@ -314,9 +314,11 @@ static int wolfssl_init(void)
|
||||
}
|
||||
pr_info("wolfCrypt self-test passed.\n");
|
||||
#else
|
||||
#if !defined(HAVE_FIPS) || FIPS_VERSION3_LE(5,2,0)
|
||||
pr_info("skipping full wolfcrypt_test() "
|
||||
"(configure with --enable-crypttests to enable).\n");
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef LINUXKM_LKCAPI_REGISTER
|
||||
ret = linuxkm_lkcapi_register();
|
||||
|
||||
Reference in New Issue
Block a user