Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 72) sorted by relevance

123

/openssl/providers/implementations/rands/
H A Dfips_crng_test.c70 void *parent; member
85 void *parent = crngt->parent; in lock_parent() local
87 if (parent != NULL in lock_parent()
89 && !crngt->parent_lock(parent)) { in lock_parent()
98 void *parent = crngt->parent; in unlock_parent() local
100 if (parent != NULL && crngt->parent_unlock != NULL) in unlock_parent()
101 crngt->parent_unlock(parent); in unlock_parent()
187 static void *crng_test_new(void *provctx, void *parent, in crng_test_new() argument
200 if (parent != NULL) { in crng_test_new()
201 crngt->parent = parent; in crng_test_new()
[all …]
H A Ddrbg.c65 void *parent = drbg->parent; in ossl_drbg_lock_parent() local
67 if (parent != NULL in ossl_drbg_lock_parent()
78 void *parent = drbg->parent; in ossl_drbg_unlock_parent() local
87 void *parent = drbg->parent; in get_parent_strength() local
112 void *parent = drbg->parent; in get_parent_reseed_count() local
199 if (drbg->parent == NULL) in get_entropy()
247 if (drbg->parent == NULL) { in cleanup_entropy()
578 if (drbg->parent != NULL) in ossl_prov_drbg_reseed_unlocked()
681 if (drbg->parent != NULL in ossl_prov_drbg_generate()
815 drbg->parent = parent; in ossl_rand_drbg_new()
[all …]
H A Ddrbg_local.h85 void *parent; member
178 (void *provctx, void *parent, const OSSL_DISPATCH *parent_dispatch,
H A Dseed_src.c45 static void *seed_src_new(void *provctx, void *parent, in seed_src_new() argument
50 if (parent != NULL) { in seed_src_new()
H A Dseed_src_jitter.c118 static void *jitter_new(void *provctx, void *parent, in jitter_new() argument
123 if (parent != NULL) { in jitter_new()
/openssl/ssl/quic/
H A Dquic_fc.c25 if (conn_txfc != NULL && conn_txfc->parent != NULL) in OSSL_SAFE_MATH_UNSIGNED()
30 txfc->parent = conn_txfc; in OSSL_SAFE_MATH_UNSIGNED()
37 return txfc->parent; in ossl_quic_txfc_get_parent()
61 if (txfc->parent != NULL) { in ossl_quic_txfc_get_credit()
62 assert(txfc->parent->parent == NULL); in ossl_quic_txfc_get_credit()
92 if (txfc->parent != NULL) { in ossl_quic_txfc_consume_credit()
93 assert(txfc->parent->parent == NULL); in ossl_quic_txfc_consume_credit()
142 rxfc->parent = conn_rxfc; in ossl_quic_rxfc_init()
169 return rxfc->parent; in ossl_quic_rxfc_get_parent()
203 if (!rxfc->standalone && rxfc->parent == NULL) in ossl_quic_rxfc_on_rx_stream_frame()
[all …]
/openssl/crypto/x509/
H A Dpcy_node.c44 const X509_POLICY_NODE *parent, in ossl_policy_level_find_node() argument
51 if (node->parent == parent) { in ossl_policy_level_find_node()
61 X509_POLICY_NODE *parent, in ossl_policy_level_add_node() argument
75 node->parent = parent; in ossl_policy_level_add_node()
110 if (parent) in ossl_policy_level_add_node()
111 parent->nchild++; in ossl_policy_level_add_node()
H A Dpcy_local.h94 X509_POLICY_NODE *parent; member
156 const X509_POLICY_NODE *parent,
164 X509_POLICY_NODE *parent,
H A Dpcy_tree.c416 node->parent->nchild--; in tree_prune()
429 node->parent->nchild--; in tree_prune()
435 if (curr->anyPolicy->parent) in tree_prune()
436 curr->anyPolicy->parent->nchild--; in tree_prune()
509 if ((node->parent == anyptr) in tree_calculate_authority_set()
572 node = ossl_policy_level_add_node(NULL, extra, anyPolicy->parent, in tree_calculate_user_set()
H A Dv3_asid.c666 static int asid_contains(ASIdOrRanges *parent, ASIdOrRanges *child) in asid_contains() argument
671 if (child == NULL || parent == child) in asid_contains()
673 if (parent == NULL) in asid_contains()
681 if (p >= sk_ASIdOrRange_num(parent)) in asid_contains()
683 if (!extract_min_max(sk_ASIdOrRange_value(parent, p), &p_min, in asid_contains()
H A Dpcy_lib.c107 return node->parent; in X509_policy_node_get0_parent()
/openssl/doc/man7/
H A DEVP_RAND-CRNG-TEST.pod13 its parent reference or via the provider entropy upcalls.
22 If a parent EVP_RAND is specified on context creation, the parent's
23 parameters are supported because the request is forwarded to the parent
26 If no parent EVP_RAND is specified on context creation, the following parameters
51 EVP_RAND *parent = ...;
53 EVP_RAND_CTX *rctx = EVP_RAND_CTX_new(rand, parent);
H A Dprovider-rand.pod22 void *OSSL_FUNC_rand_newctx(void *provctx, void *parent,
82 The parameter I<parent> specifies another rand instance to be used for
85 The parameter I<parent_calls> points to the dispatch table for I<parent>.
86 Thus, the parent need not be from the same provider as the new instance.
122 seeding material from their parent. The seed bytes will meet the specified
144 its parent DRBGs. From this call onwards, the DRBG can be used in a thread
/openssl/util/
H A Dmkdir-p.pl30 local($parent) = $dir;
31 $parent =~ s|[^/]*\Z(?!\n)||s;
33 do_mkdir_p($parent);
/openssl/crypto/
H A Dpacket.c293 } else if (pkt->endfirst && sub->parent != NULL in wpacket_intern_close()
312 pkt->subs = sub->parent; in wpacket_intern_close()
326 for (sub = pkt->subs; sub != NULL; sub = sub->parent) { in WPACKET_fill_lengths()
340 if (pkt->subs == NULL || pkt->subs->parent == NULL) in WPACKET_close()
354 if (pkt->subs == NULL || pkt->subs->parent != NULL) in WPACKET_finish()
382 sub->parent = pkt->subs; in WPACKET_start_sub_packet_len__()
428 for (sub = pkt->subs; sub->parent != NULL; sub = sub->parent) in WPACKET_set_max_size()
528 WPACKET_SUB *sub, *parent; in WPACKET_cleanup() local
530 for (sub = pkt->subs; sub != NULL; sub = parent) { in WPACKET_cleanup()
531 parent = sub->parent; in WPACKET_cleanup()
/openssl/test/
H A Drand_test.c102 EVP_RAND_CTX *crngt = NULL, *parent = NULL; in fips_health_test_one() local
113 || !TEST_ptr(parent = EVP_RAND_CTX_new(parent_alg, NULL)) in fips_health_test_one()
114 || !TEST_ptr(crngt = EVP_RAND_CTX_new(crngt_alg, parent)) in fips_health_test_one()
115 || !TEST_true(EVP_RAND_instantiate(parent, 0, 0, in fips_health_test_one()
134 EVP_RAND_CTX_free(parent); in fips_health_test_one()
H A Dexdatatest.c29 static void exnew(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in exnew() argument
50 static void exfree(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in exfree() argument
71 static void exnew2(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in exnew2() argument
114 static void exfree2(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in exfree2() argument
H A Ddrbgtest.c574 || !TEST_ptr_eq(prov_rand(public)->parent, prov_rand(primary)) in test_rand_reseed()
575 || !TEST_ptr_eq(prov_rand(private)->parent, prov_rand(primary))) in test_rand_reseed()
782 static EVP_RAND_CTX *new_drbg(EVP_RAND_CTX *parent) in new_drbg() argument
793 || !TEST_ptr(drbg = EVP_RAND_CTX_new(rand, parent)) in new_drbg()
/openssl/crypto/evp/
H A Devp_rand.c342 EVP_RAND_CTX *EVP_RAND_CTX_new(EVP_RAND *rand, EVP_RAND_CTX *parent) in EVP_RAND_CTX_new() argument
360 if (parent != NULL) { in EVP_RAND_CTX_new()
361 if (!EVP_RAND_CTX_up_ref(parent)) { in EVP_RAND_CTX_new()
367 parent_ctx = parent->algctx; in EVP_RAND_CTX_new()
368 parent_dispatch = parent->meth->dispatch; in EVP_RAND_CTX_new()
377 EVP_RAND_CTX_free(parent); in EVP_RAND_CTX_new()
381 ctx->parent = parent; in EVP_RAND_CTX_new()
388 EVP_RAND_CTX *parent; in EVP_RAND_CTX_free() local
396 parent = ctx->parent; in EVP_RAND_CTX_free()
402 EVP_RAND_CTX_free(parent); in EVP_RAND_CTX_free()
/openssl/doc/man3/
H A DOSSL_LIB_CTX.pod59 In addition providers that are not loaded in the parent library context can be
60 explicitly loaded into the child library context independently from the parent
62 in the parent library context and will not be affected if the parent library
67 from the parent library context then it will remain available and its reference
75 properties (set via L<EVP_set_default_properties(3)>) from the parent library
77 library context then the new properties will override anything from the parent
H A DCRYPTO_get_ex_new_index.pod21 typedef void CRYPTO_EX_new(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
23 typedef void CRYPTO_EX_free(void *parent, void *ptr, CRYPTO_EX_DATA *ad,
119 that the entire parent, or containing, structure has been set up.
127 parent structure is not guaranteed. The free_func() may be called with a
131 The B<parent> is the pointer to the structure that contains the exdata.
/openssl/include/internal/
H A Dquic_fc.h27 QUIC_TXFC *parent; /* stream-level iff non-NULL */ member
141 QUIC_RXFC *parent; member
/openssl/crypto/ui/
H A Dui_util.c62 static void ui_new_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in ui_new_method_data() argument
82 static void ui_free_method_data(void *parent, void *ptr, CRYPTO_EX_DATA *ad, in ui_free_method_data() argument
/openssl/doc/internal/man3/
H A Dossl_global_properties_no_mirrored.pod30 properties from a parent library context is allowed for the current library
34 properties from a parent library context for the current library context.
H A Dossl_provider_new.pod178 parent library context. I<handle> is the B<OSSL_CORE_HANDLE> object passed to
181 ossl_provider_get_parent() obtains the handle on the parent provider.
183 ossl_provider_up_ref_parent() increases the reference count on the parent
184 provider. If I<activate> is nonzero then the parent provider is also activated.
186 ossl_provider_free_parent() decreases the reference count on the parent
187 provider. If I<deactivate> is nonzero then the parent provider is also
216 parent libctx will be made to inform it of an up-ref. If I<aschild> is nonzero
301 ossl_provider_deinit_child() deregisters callbacks from the parent library

Completed in 66 milliseconds

123