/src/openssl/providers/common/include/prov/providercommon.h
Line | Count | Source |
1 | | /* |
2 | | * Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved. |
3 | | * |
4 | | * Licensed under the Apache License 2.0 (the "License"). You may not use |
5 | | * this file except in compliance with the License. You can obtain a copy |
6 | | * in the file LICENSE in the source distribution or at |
7 | | * https://www.openssl.org/source/license.html |
8 | | */ |
9 | | |
10 | | #include <openssl/provider.h> |
11 | | #include <openssl/core_dispatch.h> |
12 | | |
13 | | const OSSL_CORE_HANDLE *FIPS_get_core_handle(OSSL_LIB_CTX *ctx); |
14 | | |
15 | | int ossl_cipher_capable_aes_cbc_hmac_sha1(void); |
16 | | int ossl_cipher_capable_aes_cbc_hmac_sha256(void); |
17 | | |
18 | | OSSL_FUNC_provider_get_capabilities_fn ossl_prov_get_capabilities; |
19 | | |
20 | | /* Set the error state if this is a FIPS module */ |
21 | | void ossl_set_error_state(const char *type); |
22 | | |
23 | | /* Return true if the module is in a usable condition */ |
24 | | int ossl_prov_is_running(void); |
25 | | |
26 | | static ossl_inline int ossl_param_is_empty(const OSSL_PARAM params[]) |
27 | 1.41M | { |
28 | 1.41M | return params == NULL || params->key == NULL; |
29 | 1.41M | } Unexecuted instantiation: dsa_key.c:ossl_param_is_empty Unexecuted instantiation: ec_key.c:ossl_param_is_empty Unexecuted instantiation: initthread.c:ossl_param_is_empty Unexecuted instantiation: prov_running.c:ossl_param_is_empty Unexecuted instantiation: rsa_gen.c:ossl_param_is_empty Unexecuted instantiation: ec_kem.c:ossl_param_is_empty Unexecuted instantiation: baseprov.c:ossl_param_is_empty Unexecuted instantiation: defltprov.c:ossl_param_is_empty Unexecuted instantiation: nullprov.c:ossl_param_is_empty Unexecuted instantiation: argon2.c:ossl_param_is_empty blake2_prov.c:ossl_param_is_empty Line | Count | Source | 27 | 11.9k | { | 28 | 11.9k | return params == NULL || params->key == NULL; | 29 | 11.9k | } |
Unexecuted instantiation: blake2b_mac.c:ossl_param_is_empty Unexecuted instantiation: blake2s_mac.c:ossl_param_is_empty Unexecuted instantiation: capabilities.c:ossl_param_is_empty Unexecuted instantiation: cipher_aes.c:ossl_param_is_empty Unexecuted instantiation: cipher_aes_ccm.c:ossl_param_is_empty Unexecuted instantiation: cipher_aes_gcm.c:ossl_param_is_empty Unexecuted instantiation: cipher_aes_gcm_siv.c:ossl_param_is_empty cipher_aes_ocb.c:ossl_param_is_empty Line | Count | Source | 27 | 544 | { | 28 | 544 | return params == NULL || params->key == NULL; | 29 | 544 | } |
Unexecuted instantiation: cipher_aes_siv.c:ossl_param_is_empty Unexecuted instantiation: cipher_aes_wrp.c:ossl_param_is_empty cipher_aes_xts.c:ossl_param_is_empty Line | Count | Source | 27 | 19 | { | 28 | 19 | return params == NULL || params->key == NULL; | 29 | 19 | } |
Unexecuted instantiation: cipher_aria.c:ossl_param_is_empty Unexecuted instantiation: cipher_aria_ccm.c:ossl_param_is_empty Unexecuted instantiation: cipher_aria_gcm.c:ossl_param_is_empty Unexecuted instantiation: cipher_camellia.c:ossl_param_is_empty cipher_chacha20.c:ossl_param_is_empty Line | Count | Source | 27 | 392 | { | 28 | 392 | return params == NULL || params->key == NULL; | 29 | 392 | } |
cipher_chacha20_poly1305.c:ossl_param_is_empty Line | Count | Source | 27 | 412 | { | 28 | 412 | return params == NULL || params->key == NULL; | 29 | 412 | } |
Unexecuted instantiation: cipher_null.c:ossl_param_is_empty Unexecuted instantiation: cipher_sm4.c:ossl_param_is_empty Unexecuted instantiation: cipher_sm4_ccm.c:ossl_param_is_empty Unexecuted instantiation: cipher_sm4_gcm.c:ossl_param_is_empty Unexecuted instantiation: cipher_sm4_xts.c:ossl_param_is_empty Unexecuted instantiation: cipher_tdes_common.c:ossl_param_is_empty Unexecuted instantiation: cipher_tdes_wrap.c:ossl_param_is_empty Unexecuted instantiation: cmac_prov.c:ossl_param_is_empty Unexecuted instantiation: dh_exch.c:ossl_param_is_empty Unexecuted instantiation: dh_kmgmt.c:ossl_param_is_empty drbg.c:ossl_param_is_empty Line | Count | Source | 27 | 4 | { | 28 | 4 | return params == NULL || params->key == NULL; | 29 | 4 | } |
Unexecuted instantiation: drbg_ctr.c:ossl_param_is_empty Unexecuted instantiation: drbg_hash.c:ossl_param_is_empty Unexecuted instantiation: drbg_hmac.c:ossl_param_is_empty Unexecuted instantiation: dsa_kmgmt.c:ossl_param_is_empty Unexecuted instantiation: dsa_sig.c:ossl_param_is_empty Unexecuted instantiation: ec_kmgmt.c:ossl_param_is_empty Unexecuted instantiation: ecdh_exch.c:ossl_param_is_empty Unexecuted instantiation: ecdsa_sig.c:ossl_param_is_empty Unexecuted instantiation: ecx_exch.c:ossl_param_is_empty Unexecuted instantiation: ecx_kem.c:ossl_param_is_empty Unexecuted instantiation: ecx_kmgmt.c:ossl_param_is_empty Unexecuted instantiation: eddsa_sig.c:ossl_param_is_empty Unexecuted instantiation: file_store.c:ossl_param_is_empty Unexecuted instantiation: gmac_prov.c:ossl_param_is_empty hkdf.c:ossl_param_is_empty Line | Count | Source | 27 | 3.13k | { | 28 | 3.13k | return params == NULL || params->key == NULL; | 29 | 3.13k | } |
hmac_prov.c:ossl_param_is_empty Line | Count | Source | 27 | 6.13k | { | 28 | 6.13k | return params == NULL || params->key == NULL; | 29 | 6.13k | } |
Unexecuted instantiation: hmacdrbg_kdf.c:ossl_param_is_empty kbkdf.c:ossl_param_is_empty Line | Count | Source | 27 | 49 | { | 28 | 49 | return params == NULL || params->key == NULL; | 29 | 49 | } |
Unexecuted instantiation: kdf_exch.c:ossl_param_is_empty Unexecuted instantiation: kdf_legacy_kmgmt.c:ossl_param_is_empty Unexecuted instantiation: kmac_prov.c:ossl_param_is_empty Unexecuted instantiation: krb5kdf.c:ossl_param_is_empty Unexecuted instantiation: mac_legacy_kmgmt.c:ossl_param_is_empty Unexecuted instantiation: mac_legacy_sig.c:ossl_param_is_empty Unexecuted instantiation: md5_prov.c:ossl_param_is_empty md5_sha1_prov.c:ossl_param_is_empty Line | Count | Source | 27 | 404 | { | 28 | 404 | return params == NULL || params->key == NULL; | 29 | 404 | } |
Unexecuted instantiation: null_prov.c:ossl_param_is_empty pbkdf2.c:ossl_param_is_empty Line | Count | Source | 27 | 521 | { | 28 | 521 | return params == NULL || params->key == NULL; | 29 | 521 | } |
pkcs12kdf.c:ossl_param_is_empty Line | Count | Source | 27 | 328 | { | 28 | 328 | return params == NULL || params->key == NULL; | 29 | 328 | } |
Unexecuted instantiation: poly1305_prov.c:ossl_param_is_empty Unexecuted instantiation: provider_seeding.c:ossl_param_is_empty provider_util.c:ossl_param_is_empty Line | Count | Source | 27 | 5.19k | { | 28 | 5.19k | return params == NULL || params->key == NULL; | 29 | 5.19k | } |
Unexecuted instantiation: ripemd_prov.c:ossl_param_is_empty Unexecuted instantiation: rsa_enc.c:ossl_param_is_empty Unexecuted instantiation: rsa_kem.c:ossl_param_is_empty Unexecuted instantiation: rsa_kmgmt.c:ossl_param_is_empty Unexecuted instantiation: rsa_sig.c:ossl_param_is_empty scrypt.c:ossl_param_is_empty Line | Count | Source | 27 | 834 | { | 28 | 834 | return params == NULL || params->key == NULL; | 29 | 834 | } |
sha2_prov.c:ossl_param_is_empty Line | Count | Source | 27 | 990k | { | 28 | 990k | return params == NULL || params->key == NULL; | 29 | 990k | } |
sha3_prov.c:ossl_param_is_empty Line | Count | Source | 27 | 448 | { | 28 | 448 | return params == NULL || params->key == NULL; | 29 | 448 | } |
siphash_prov.c:ossl_param_is_empty Line | Count | Source | 27 | 24 | { | 28 | 24 | return params == NULL || params->key == NULL; | 29 | 24 | } |
Unexecuted instantiation: sm2_enc.c:ossl_param_is_empty Unexecuted instantiation: sm2_sig.c:ossl_param_is_empty Unexecuted instantiation: sm3_prov.c:ossl_param_is_empty sshkdf.c:ossl_param_is_empty Line | Count | Source | 27 | 8 | { | 28 | 8 | return params == NULL || params->key == NULL; | 29 | 8 | } |
sskdf.c:ossl_param_is_empty Line | Count | Source | 27 | 452 | { | 28 | 452 | return params == NULL || params->key == NULL; | 29 | 452 | } |
Unexecuted instantiation: test_rng.c:ossl_param_is_empty tls1_prf.c:ossl_param_is_empty Line | Count | Source | 27 | 305 | { | 28 | 305 | return params == NULL || params->key == NULL; | 29 | 305 | } |
Unexecuted instantiation: x942kdf.c:ossl_param_is_empty ciphercommon.c:ossl_param_is_empty Line | Count | Source | 27 | 388k | { | 28 | 388k | return params == NULL || params->key == NULL; | 29 | 388k | } |
ciphercommon_ccm.c:ossl_param_is_empty Line | Count | Source | 27 | 1.20k | { | 28 | 1.20k | return params == NULL || params->key == NULL; | 29 | 1.20k | } |
ciphercommon_gcm.c:ossl_param_is_empty Line | Count | Source | 27 | 1.94k | { | 28 | 1.94k | return params == NULL || params->key == NULL; | 29 | 1.94k | } |
Unexecuted instantiation: digestcommon.c:ossl_param_is_empty cipher_aes_cbc_hmac_sha.c:ossl_param_is_empty Line | Count | Source | 27 | 540 | { | 28 | 540 | return params == NULL || params->key == NULL; | 29 | 540 | } |
|