Home
last modified time | relevance | path

Searched refs:ossl_prov_is_running (Results 1 – 25 of 82) sorted by relevance

1234

/third_party/openssl/providers/implementations/include/prov/
Ddigestcommon.h43 if (ossl_prov_is_running() && outsz >= dgstsize && fin(out, ctx)) { \
57 CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) : NULL; \
68 CTX *ret = ossl_prov_is_running() ? OPENSSL_malloc(sizeof(*ret)) : NULL; \
93 return ossl_prov_is_running() && init(ctx); \
106 return ossl_prov_is_running() \
/third_party/openssl/providers/implementations/keymgmt/
Decx_kmgmt.c92 if (!ossl_prov_is_running()) in x25519_new_key()
100 if (!ossl_prov_is_running()) in x448_new_key()
108 if (!ossl_prov_is_running()) in ed25519_new_key()
116 if (!ossl_prov_is_running()) in ed448_new_key()
127 if (ossl_prov_is_running() && key != NULL) { in ecx_has()
149 if (!ossl_prov_is_running()) in ecx_match()
197 if (!ossl_prov_is_running() || key == NULL) in ecx_import()
238 if (!ossl_prov_is_running() || key == NULL) in ecx_export()
478 if (!ossl_prov_is_running()) in ecx_gen_init()
633 if (!ossl_prov_is_running()) in x25519_gen()
[all …]
Ddsa_kmgmt.c120 if (!ossl_prov_is_running()) in dsa_newdata()
135 if (!ossl_prov_is_running() || dsa == NULL) in dsa_has()
155 if (!ossl_prov_is_running()) in dsa_match()
196 if (!ossl_prov_is_running() || dsa == NULL) in dsa_import()
222 if (!ossl_prov_is_running() || dsa == NULL) in dsa_export()
379 if (!ossl_prov_is_running()) in dsa_validate()
407 if (!ossl_prov_is_running() || (selection & DSA_POSSIBLE_SELECTIONS) == 0) in dsa_gen_init()
436 if (!ossl_prov_is_running() || gctx == NULL || dsa == NULL) in dsa_gen_set_template()
557 if (!ossl_prov_is_running() || gctx == NULL) in dsa_gen()
637 if (ossl_prov_is_running() && reference_sz == sizeof(dsa)) { in dsa_load()
[all …]
Drsa_kmgmt.c83 if (!ossl_prov_is_running()) in rsa_newdata()
99 if (!ossl_prov_is_running()) in rsapss_newdata()
120 if (rsa == NULL || !ossl_prov_is_running()) in rsa_has()
141 if (!ossl_prov_is_running()) in rsa_match()
180 if (!ossl_prov_is_running() || rsa == NULL) in rsa_import()
212 if (!ossl_prov_is_running() || rsa == NULL) in rsa_export()
397 if (!ossl_prov_is_running()) in rsa_validate()
456 if (!ossl_prov_is_running()) in gen_init()
583 if (!ossl_prov_is_running() || gctx == NULL) in rsa_gen()
658 if (ossl_prov_is_running() && reference_sz == sizeof(rsa)) { in common_load()
[all …]
Dmac_legacy_kmgmt.c68 if (!ossl_prov_is_running()) in ossl_mac_key_new()
116 if (!ossl_prov_is_running()) in ossl_mac_key_up_ref()
143 if (ossl_prov_is_running() && key != NULL) { in mac_has()
163 if (!ossl_prov_is_running()) in mac_match()
235 if (!ossl_prov_is_running() || key == NULL) in mac_import()
281 if (!ossl_prov_is_running() || key == NULL) in mac_export()
383 if (!ossl_prov_is_running()) in mac_gen_init_common()
485 if (!ossl_prov_is_running() || gctx == NULL) in mac_gen()
Ddh_kmgmt.c102 if (ossl_prov_is_running()) { in dh_newdata()
134 if (!ossl_prov_is_running() || dh == NULL) in dh_has()
154 if (!ossl_prov_is_running()) in dh_match()
195 if (!ossl_prov_is_running() || dh == NULL) in dh_import()
222 if (!ossl_prov_is_running() || dh == NULL) in dh_export()
411 if (!ossl_prov_is_running()) in dh_validate()
447 if (!ossl_prov_is_running()) in dh_gen_init_base()
499 if (!ossl_prov_is_running() || gctx == NULL || dh == NULL) in dh_gen_set_template()
695 if (!ossl_prov_is_running() || gctx == NULL) in dh_gen()
806 if (ossl_prov_is_running() && reference_sz == sizeof(dh)) { in dh_load()
[all …]
Dec_kmgmt.c272 if (!ossl_prov_is_running()) in ec_newdata()
282 if (!ossl_prov_is_running()) in sm2_newdata()
301 if (!ossl_prov_is_running() || ec == NULL) in ec_has()
329 if (!ossl_prov_is_running()) in ec_match()
388 if (!ossl_prov_is_running() || ec == NULL) in common_import()
451 if (!ossl_prov_is_running() || ec == NULL) in ec_export()
895 if (!ossl_prov_is_running()) in sm2_validate()
934 if (!ossl_prov_is_running()) in ec_validate()
992 if (!ossl_prov_is_running() || (selection & (EC_POSSIBLE_SELECTIONS)) == 0) in ec_gen_init()
1048 if (!ossl_prov_is_running() || gctx == NULL || ec == NULL) in ec_gen_set_template()
[all …]
Dkdf_legacy_kmgmt.c33 if (!ossl_prov_is_running()) in ossl_kdf_data_new()
77 if (!ossl_prov_is_running()) in ossl_kdf_data_up_ref()
/third_party/openssl/providers/implementations/ciphers/
Dcipher_null.c27 if (!ossl_prov_is_running()) in null_newctx()
46 if (!ossl_prov_is_running()) in null_einit()
58 if (!ossl_prov_is_running()) in null_dinit()
70 if (!ossl_prov_is_running()) in null_cipher()
95 if (!ossl_prov_is_running()) in null_final()
Dcipher_aes_siv.c35 if (!ossl_prov_is_running()) in aes_siv_newctx()
64 if (!ossl_prov_is_running()) in siv_dupctx()
85 if (!ossl_prov_is_running()) in siv_init()
120 if (!ossl_prov_is_running()) in siv_cipher()
150 if (!ossl_prov_is_running()) in siv_stream_final()
Dcipher_tdes_common.c28 if (!ossl_prov_is_running()) in ossl_tdes_newctx()
43 if (!ossl_prov_is_running()) in ossl_tdes_dupctx()
70 if (!ossl_prov_is_running()) in tdes_init()
Dcipher_aes_xts.c75 if (!ossl_prov_is_running()) in aes_xts_init()
137 if (!ossl_prov_is_running()) in aes_xts_dupctx()
162 if (!ossl_prov_is_running() in aes_xts_cipher()
214 if (!ossl_prov_is_running()) in aes_xts_stream_final()
/third_party/openssl/providers/implementations/digests/
Dsha3_prov.c55 if (!ossl_prov_is_running()) in keccak_init()
111 if (!ossl_prov_is_running()) in keccak_final()
163 if (!ossl_prov_is_running()) in s390x_sha3_final()
174 if (!ossl_prov_is_running()) in s390x_shake_final()
207 KECCAK1600_CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) \
221 KECCAK1600_CTX *ctx = ossl_prov_is_running() ? OPENSSL_zalloc(sizeof(*ctx)) \
264 KECCAK1600_CTX *ret = ossl_prov_is_running() ? OPENSSL_malloc(sizeof(*ret)) in keccak_dupctx()
/third_party/openssl/providers/implementations/exchange/
Decx_exch.c48 if (!ossl_prov_is_running()) in ecx_newctx()
78 if (!ossl_prov_is_running()) in ecx_init()
100 if (!ossl_prov_is_running()) in ecx_set_peer()
121 if (!ossl_prov_is_running()) in ecx_derive()
199 if (!ossl_prov_is_running()) in ecx_dupctx()
Dkdf_exch.c46 if (!ossl_prov_is_running()) in kdf_newctx()
84 if (!ossl_prov_is_running() in kdf_init()
101 if (!ossl_prov_is_running()) in kdf_derive()
142 if (!ossl_prov_is_running()) in kdf_dupctx()
/third_party/openssl/providers/implementations/macs/
Dpoly1305_prov.c48 if (!ossl_prov_is_running()) in poly1305_new()
66 if (!ossl_prov_is_running()) in poly1305_dup()
99 if (!ossl_prov_is_running() || !poly1305_set_ctx_params(ctx, params)) in poly1305_init()
126 if (!ossl_prov_is_running()) in poly1305_final()
Dcmac_prov.c55 if (!ossl_prov_is_running()) in cmac_new()
85 if (!ossl_prov_is_running()) in cmac_dup()
121 if (!ossl_prov_is_running() || !cmac_set_ctx_params(macctx, params)) in cmac_init()
142 if (!ossl_prov_is_running()) in cmac_final()
Dsiphash_prov.c60 if (!ossl_prov_is_running()) in siphash_new()
78 if (!ossl_prov_is_running()) in siphash_dup()
113 if (!ossl_prov_is_running() || !siphash_set_params(ctx, params)) in siphash_init()
144 if (!ossl_prov_is_running() || outsize < hlen) in siphash_final()
Dblake2_mac_impl.c46 if (!ossl_prov_is_running()) in blake2_mac_new()
62 if (!ossl_prov_is_running()) in blake2_mac_dup()
110 if (!ossl_prov_is_running() || !blake2_mac_set_ctx_params(macctx, params)) in blake2_mac_init()
140 if (!ossl_prov_is_running()) in blake2_mac_final()
Dgmac_prov.c62 if (!ossl_prov_is_running()) in gmac_new()
80 if (!ossl_prov_is_running()) in gmac_dup()
119 if (!ossl_prov_is_running() || !gmac_set_ctx_params(macctx, params)) in gmac_init()
152 if (!ossl_prov_is_running()) in gmac_final()
/third_party/openssl/providers/implementations/signature/
Deddsa_sig.c72 if (!ossl_prov_is_running()) in eddsa_newctx()
95 if (!ossl_prov_is_running()) in eddsa_digest_signverify_init()
156 if (!ossl_prov_is_running()) in ed25519_digest_sign()
193 if (!ossl_prov_is_running()) in ed448_digest_sign()
230 if (!ossl_prov_is_running() || siglen != ED25519_SIGSIZE) in ed25519_digest_verify()
249 if (!ossl_prov_is_running() || siglen != ED448_SIGSIZE) in ed448_digest_verify()
275 if (!ossl_prov_is_running()) in eddsa_dupctx()
Ddsa_sig.c103 if (!ossl_prov_is_running()) in dsa_newctx()
191 if (!ossl_prov_is_running() in dsa_signverify_init()
240 if (!ossl_prov_is_running()) in dsa_sign()
268 if (!ossl_prov_is_running() || (mdsize != 0 && tbslen != mdsize)) in dsa_verify()
280 if (!ossl_prov_is_running()) in dsa_digest_signverify_init()
340 if (!ossl_prov_is_running() || pdsactx == NULL || pdsactx->mdctx == NULL) in dsa_digest_sign_final()
370 if (!ossl_prov_is_running() || pdsactx == NULL || pdsactx->mdctx == NULL) in dsa_digest_verify_final()
405 if (!ossl_prov_is_running()) in dsa_dupctx()
Decdsa_sig.c111 if (!ossl_prov_is_running()) in ecdsa_newctx()
133 if (!ossl_prov_is_running() in ecdsa_signverify_init()
177 if (!ossl_prov_is_running()) in ecdsa_sign()
209 if (!ossl_prov_is_running() || (ctx->mdsize != 0 && tbslen != ctx->mdsize)) in ecdsa_verify()
287 if (!ossl_prov_is_running()) in ecdsa_digest_signverify_init()
343 if (!ossl_prov_is_running() || ctx == NULL || ctx->mdctx == NULL) in ecdsa_digest_sign_final()
364 if (!ossl_prov_is_running() || ctx == NULL || ctx->mdctx == NULL) in ecdsa_digest_verify_final()
395 if (!ossl_prov_is_running()) in ecdsa_dupctx()
Drsa_sig.c178 if (!ossl_prov_is_running()) in rsa_newctx()
391 if (!ossl_prov_is_running() || prsactx == NULL) in rsa_signverify_init()
509 if (!ossl_prov_is_running()) in rsa_sign_init()
522 if (!ossl_prov_is_running()) in rsa_sign()
663 if (!ossl_prov_is_running()) in rsa_verify_recover_init()
679 if (!ossl_prov_is_running()) in rsa_verify_recover()
756 if (!ossl_prov_is_running()) in rsa_verify_init()
767 if (!ossl_prov_is_running()) in rsa_verify()
848 if (!ossl_prov_is_running()) in rsa_digest_signverify_init()
894 if (!ossl_prov_is_running()) in rsa_digest_sign_init()
[all …]
Dmac_legacy_sig.c55 if (!ossl_prov_is_running()) in mac_newctx()
104 if (!ossl_prov_is_running() in mac_digest_sign_init()
158 if (!ossl_prov_is_running() || pmacctx == NULL || pmacctx->macctx == NULL) in mac_digest_sign_final()
179 if (!ossl_prov_is_running()) in mac_dupctx()

1234