Path: blob/main/crypto/openssl/providers/common/include/prov/providercommon.h
48534 views
/*1* Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.2*3* Licensed under the Apache License 2.0 (the "License"). You may not use4* this file except in compliance with the License. You can obtain a copy5* in the file LICENSE in the source distribution or at6* https://www.openssl.org/source/license.html7*/89#include <openssl/provider.h>10#include <openssl/core_dispatch.h>1112const OSSL_CORE_HANDLE *FIPS_get_core_handle(OSSL_LIB_CTX *ctx);1314int ossl_cipher_capable_aes_cbc_hmac_sha1(void);15int ossl_cipher_capable_aes_cbc_hmac_sha256(void);1617OSSL_FUNC_provider_get_capabilities_fn ossl_prov_get_capabilities;1819/* Set the error state if this is a FIPS module */20void ossl_set_error_state(const char *type);2122/* Return true if the module is in a usable condition */23int ossl_prov_is_running(void);2425static ossl_inline int ossl_param_is_empty(const OSSL_PARAM params[])26{27return params == NULL || params->key == NULL;28}293031