1
0
Эх сурвалжийг харах

Adding missing fipscommon.h

Source commit: 321376588850ac1d767198b06ab780c4e9095e64
Martin Prikryl 2 жил өмнө
parent
commit
8461fb257f

+ 17 - 0
libs/openssl/providers/common/include/prov/fipscommon.h

@@ -0,0 +1,17 @@
+/*
+ * Copyright 2023 The OpenSSL Project Authors. All Rights Reserved.
+ *
+ * Licensed under the Apache License 2.0 (the "License").  You may not use
+ * this file except in compliance with the License.  You can obtain a copy
+ * in the file LICENSE in the source distribution or at
+ * https://www.openssl.org/source/license.html
+ */
+
+#ifdef FIPS_MODULE
+# include <openssl/types.h>
+
+int FIPS_security_check_enabled(OSSL_LIB_CTX *libctx);
+int FIPS_tls_prf_ems_check(OSSL_LIB_CTX *libctx);
+int FIPS_restricted_drbg_digests_enabled(OSSL_LIB_CTX *libctx);
+
+#endif