2019-05-27 23:31:27 +08:00
|
|
|
/*
|
2021-04-08 20:04:41 +08:00
|
|
|
* Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
|
2019-05-27 23:31:27 +08:00
|
|
|
*
|
|
|
|
* 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
|
|
|
|
*/
|
|
|
|
|
2019-06-20 18:48:50 +08:00
|
|
|
#include <openssl/provider.h>
|
2020-06-21 07:21:19 +08:00
|
|
|
#include <openssl/core_dispatch.h>
|
2019-06-20 18:48:50 +08:00
|
|
|
|
2020-10-15 17:55:50 +08:00
|
|
|
const OSSL_CORE_HANDLE *FIPS_get_core_handle(OSSL_LIB_CTX *ctx);
|
2019-06-20 18:48:50 +08:00
|
|
|
|
2020-09-29 15:40:26 +08:00
|
|
|
int ossl_cipher_capable_aes_cbc_hmac_sha1(void);
|
|
|
|
int ossl_cipher_capable_aes_cbc_hmac_sha256(void);
|
2020-05-18 21:11:06 +08:00
|
|
|
|
2021-03-09 13:26:17 +08:00
|
|
|
OSSL_FUNC_provider_get_capabilities_fn ossl_prov_get_capabilities;
|
2020-09-07 09:58:03 +08:00
|
|
|
|
2020-09-10 05:08:57 +08:00
|
|
|
/* Set the error state if this is a FIPS module */
|
2020-09-10 12:01:30 +08:00
|
|
|
void ossl_set_error_state(const char *type);
|
2020-09-10 05:08:57 +08:00
|
|
|
|
|
|
|
/* Return true if the module is in a usable condition */
|
2020-09-07 09:58:03 +08:00
|
|
|
int ossl_prov_is_running(void);
|