Home
last modified time | relevance | path

Searched refs:child (Results 1 – 16 of 16) sorted by relevance

/optee_os/core/lib/libtomcrypt/src/misc/pbes/
H A Dpbes2.c90 !LTC_ASN1_IS_TYPE(s->next->child, LTC_ASN1_SEQUENCE) || in pbes2_extract()
91 !LTC_ASN1_IS_TYPE(s->next->child->child, LTC_ASN1_OBJECT_IDENTIFIER) || in pbes2_extract()
92 !LTC_ASN1_IS_TYPE(s->next->child->child->next, LTC_ASN1_SEQUENCE) || in pbes2_extract()
93 !LTC_ASN1_IS_TYPE(s->next->child->next, LTC_ASN1_SEQUENCE) || in pbes2_extract()
94 !LTC_ASN1_IS_TYPE(s->next->child->next->child, LTC_ASN1_OBJECT_IDENTIFIER)) { in pbes2_extract()
115 lkdf = s->next->child->child; in pbes2_extract()
116 lenc = s->next->child->next->child; in pbes2_extract()
121 !LTC_ASN1_IS_TYPE(lkdf->next->child, LTC_ASN1_OCTET_STRING) || in pbes2_extract()
122 !LTC_ASN1_IS_TYPE(lkdf->next->child->next, LTC_ASN1_INTEGER)) { in pbes2_extract()
126 liter = lkdf->next->child->next; in pbes2_extract()
[all …]
H A Dpbes1.c98 !LTC_ASN1_IS_TYPE(s->next->child, LTC_ASN1_OCTET_STRING) || in pbes1_extract()
99 !LTC_ASN1_IS_TYPE(s->next->child->next, LTC_ASN1_INTEGER)) { in pbes1_extract()
111 res->salt = s->next->child; in pbes1_extract()
112 res->iterations = mp_get_int(s->next->child->next->data); in pbes1_extract()
/optee_os/core/lib/libtomcrypt/src/pk/ecc/
H A Decc_import_pkcs8.c26 cur = flexi->child; in s_der_flexi_sequence_cmp()
77 (pk_oid_cmp_with_asn1(pka_ec_oid, seq->child) == CRYPT_OK)) { in ecc_import_pkcs8()
90 if (LTC_ASN1_IS_TYPE(seq->child->next, LTC_ASN1_OBJECT_IDENTIFIER)) { in ecc_import_pkcs8()
99 ltc_asn1_list *curve_oid = seq->child->next; in ecc_import_pkcs8()
105 else if ((err = s_der_flexi_sequence_cmp(seq->child->next, flexi_should)) == CRYPT_OK) { in ecc_import_pkcs8()
130 if (LTC_ASN1_IS_TYPE(field->child, LTC_ASN1_OBJECT_IDENTIFIER) && in ecc_import_pkcs8()
131 LTC_ASN1_IS_TYPE(field->child->next, LTC_ASN1_INTEGER) && in ecc_import_pkcs8()
132 LTC_ASN1_IS_TYPE(point->child, LTC_ASN1_OCTET_STRING) && in ecc_import_pkcs8()
133 LTC_ASN1_IS_TYPE(point->child->next, LTC_ASN1_OCTET_STRING)) { in ecc_import_pkcs8()
135 ltc_asn1_list *prime = field->child->next; in ecc_import_pkcs8()
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/asn1/pkcs8/
H A Dpkcs8_decode_flexi.c42 LTC_ASN1_IS_TYPE(l->child, LTC_ASN1_SEQUENCE) && in pkcs8_decode_flexi()
43 LTC_ASN1_IS_TYPE(l->child->child, LTC_ASN1_OBJECT_IDENTIFIER) && in pkcs8_decode_flexi()
44 LTC_ASN1_IS_TYPE(l->child->child->next, LTC_ASN1_SEQUENCE) && in pkcs8_decode_flexi()
45 LTC_ASN1_IS_TYPE(l->child->next, LTC_ASN1_OCTET_STRING)) { in pkcs8_decode_flexi()
46 ltc_asn1_list *lalgoid = l->child->child; in pkcs8_decode_flexi()
61 pbes.enc_data = l->child->next; in pkcs8_decode_flexi()
/optee_os/core/drivers/clk/
H A Dclk_dt.c126 int child = 0; in clk_probe_node() local
130 fdt_for_each_subnode(child, fdt, parent_node) { in clk_probe_node()
131 status = fdt_get_status(fdt, child); in clk_probe_node()
135 res = clk_probe_clock_provider_node(fdt, child); in clk_probe_node()
138 clk_probe_node(fdt, child); in clk_probe_node()
187 int child = 0; in clk_probe_assigned() local
190 fdt_for_each_subnode(child, fdt, parent_node) { in clk_probe_assigned()
191 clk_probe_assigned(fdt, child); in clk_probe_assigned()
193 status = fdt_get_status(fdt, child); in clk_probe_assigned()
197 if (fdt_getprop(fdt, child, "assigned-clocks", &len)) in clk_probe_assigned()
[all …]
/optee_os/core/lib/libtomcrypt/src/pk/asn1/x509/
H A Dx509_decode_public_key_from_certificate.c15 && ((l)->child != NULL) \
16 && ((l)->child->type == LTC_ASN1_OBJECT_IDENTIFIER) \
64 if ((l->type == LTC_ASN1_SEQUENCE) && (l->child != NULL)) { in x509_decode_public_key_from_certificate()
65 l = l->child; in x509_decode_public_key_from_certificate()
66 if ((l->type == LTC_ASN1_SEQUENCE) && (l->child != NULL)) { in x509_decode_public_key_from_certificate()
67 l = l->child; in x509_decode_public_key_from_certificate()
83 && LOOKS_LIKE_SPKI(l->child)) { in x509_decode_public_key_from_certificate()
/optee_os/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
H A Dder_sequence_free.c34 if (in->child) { in der_sequence_free()
36 in->child->parent = NULL; in der_sequence_free()
37 der_sequence_free(in->child); in der_sequence_free()
H A Dder_sequence_shrink.c24 if (in->child) { in der_sequence_shrink()
25 der_sequence_shrink(in->child); in der_sequence_shrink()
H A Dder_decode_sequence_flexi.c450 if ((err = s_der_decode_sequence_flexi(in, &len, &(l->child), depth+1)) != CRYPT_OK) { in s_der_decode_sequence_flexi()
462 if (l->child) { in s_der_decode_sequence_flexi()
464 l->child->parent = l; in s_der_decode_sequence_flexi()
/optee_os/core/drivers/
H A Datmel_shdwc.c114 int child = 0; in at91_shdwc_get_wakeup_input() local
117 fdt_for_each_subnode(child, fdt, np) { in at91_shdwc_get_wakeup_input()
118 prop = fdt_getprop(fdt, child, "reg", &len); in at91_shdwc_get_wakeup_input()
121 fdt_get_name(fdt, child, NULL)); in at91_shdwc_get_wakeup_input()
133 if (fdt_getprop(fdt, child, "atmel,wakeup-active-high", NULL)) in at91_shdwc_get_wakeup_input()
/optee_os/core/tee/
H A Dfs_htree.c86 struct htree_node *child[2]; member
191 res = traverse_post_order(targ, node->child[0]); in traverse_post_order()
195 res = traverse_post_order(targ, node->child[1]); in traverse_post_order()
226 struct htree_node *child; in find_closest_node() local
237 child = node->child[((node_id >> bit_idx) & 1)]; in find_closest_node()
238 if (!child) in find_closest_node()
240 node = child; in find_closest_node()
285 assert(!node->child[n & 1]); in get_node()
292 node->child[n & 1] = nc; in get_node()
425 if (node->child[0]) { in calc_node_hash()
[all …]
/optee_os/lib/libmbedtls/mbedtls/library/
H A Dx509_crt.c2124 static int x509_crt_check_signature(const mbedtls_x509_crt *child, in x509_crt_check_signature() argument
2132 md_info = mbedtls_md_info_from_type(child->sig_md); in x509_crt_check_signature()
2136 if (mbedtls_md(md_info, child->tbs.p, child->tbs.len, hash) != 0) { in x509_crt_check_signature()
2140 psa_algorithm_t hash_alg = mbedtls_md_psa_alg_from_type(child->sig_md); in x509_crt_check_signature()
2144 child->tbs.p, in x509_crt_check_signature()
2145 child->tbs.len, in x509_crt_check_signature()
2155 if (!mbedtls_pk_can_do(&parent->pk, child->sig_pk)) { in x509_crt_check_signature()
2160 if (rs_ctx != NULL && child->sig_pk == MBEDTLS_PK_ECDSA) { in x509_crt_check_signature()
2162 child->sig_md, hash, hash_len, in x509_crt_check_signature()
2163 child->sig.p, child->sig.len, &rs_ctx->pk); in x509_crt_check_signature()
[all …]
/optee_os/core/lib/libfdt/
H A Dfdt_overlay.c159 int child; in overlay_adjust_node_phandles() local
170 fdt_for_each_subnode(child, fdto, node) { in overlay_adjust_node_phandles()
171 ret = overlay_adjust_node_phandles(fdto, child, delta); in overlay_adjust_node_phandles()
/optee_os/lib/libmbedtls/mbedtls/include/mbedtls/
H A Dx509_crt.h785 mbedtls_x509_crt const *child,
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_pk.h550 struct ltc_asn1_list_ *prev, *next, *child, *parent; member
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog3058 the child process closes the listening socket and handles the client