Do not load own OpenSSL backend context in FIPS mode.

In the FIPS mode keep configuration up to the system wide config.
This commit is contained in:
Milan Broz
2021-09-13 19:45:05 +02:00
parent 29ea07ef66
commit f8eb7b225a
10 changed files with 37 additions and 28 deletions

View File

@@ -31,7 +31,7 @@ struct crypt_hmac;
struct crypt_cipher;
struct crypt_storage;
int crypt_backend_init(void);
int crypt_backend_init(bool fips);
void crypt_backend_destroy(void);
#define CRYPT_BACKEND_KERNEL (1 << 0) /* Crypto uses kernel part, for benchmark */