1 1.1 christos /* 2 1.1 christos * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. 3 1.1 christos * 4 1.1 christos * Licensed under the Apache License 2.0 (the "License"). You may not use 5 1.1 christos * this file except in compliance with the License. You can obtain a copy 6 1.1 christos * in the file LICENSE in the source distribution or at 7 1.1 christos * https://www.openssl.org/source/license.html 8 1.1 christos */ 9 1.1 christos 10 1.1 christos #include <openssl/provider.h> 11 1.1 christos #include <openssl/core_dispatch.h> 12 1.1 christos 13 1.1 christos const OSSL_CORE_HANDLE *FIPS_get_core_handle(OSSL_LIB_CTX *ctx); 14 1.1 christos 15 1.1 christos int ossl_cipher_capable_aes_cbc_hmac_sha1(void); 16 1.1 christos int ossl_cipher_capable_aes_cbc_hmac_sha256(void); 17 1.1 christos 18 1.1 christos OSSL_FUNC_provider_get_capabilities_fn ossl_prov_get_capabilities; 19 1.1 christos 20 1.1 christos /* Set the error state if this is a FIPS module */ 21 1.1 christos void ossl_set_error_state(const char *type); 22 1.1 christos 23 1.1 christos /* Return true if the module is in a usable condition */ 24 1.1 christos int ossl_prov_is_running(void); 25 1.1 christos 26 1.1 christos static ossl_inline int ossl_param_is_empty(const OSSL_PARAM params[]) 27 1.1 christos { 28 1.1 christos return params == NULL || params->key == NULL; 29 1.1 christos } 30