Home
last modified time | relevance | path

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

/optee_os-3.20.0/core/lib/libtomcrypt/src/misc/pbes/
A Dpbes2.c91 !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()
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()
126 liter = lkdf->next->child->next; in pbes2_extract()
128 res->salt = lkdf->next->child; in pbes2_extract()
141 lhmac = loptseq->child; in pbes2_extract()
157 klen = mp_get_int(lenc->next->child->data); in pbes2_extract()
158 res->iv = lenc->next->child->next; in pbes2_extract()
[all …]
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-3.20.0/core/lib/libtomcrypt/src/pk/asn1/pkcs8/
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-3.20.0/core/lib/libtomcrypt/src/pk/ecc/
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()
99 ltc_asn1_list *curve_oid = seq->child->next; 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()
135 ltc_asn1_list *prime = field->child->next; in ecc_import_pkcs8()
136 … if ((err = mp_read_unsigned_bin(a, point->child->data, point->child->size)) != CRYPT_OK) { in ecc_import_pkcs8()
139 …if ((err = mp_read_unsigned_bin(b, point->child->next->data, point->child->next->size)) != CRYPT_O… in ecc_import_pkcs8()
159 LTC_ASN1_IS_TYPE(p->child, LTC_ASN1_INTEGER) && in ecc_import_pkcs8()
161 ltc_asn1_list *lk = p->child->next; in ecc_import_pkcs8()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/x509/
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-3.20.0/core/drivers/clk/
A Dclk_dt.c122 int child = 0; in clk_probe_node() local
126 fdt_for_each_subnode(child, fdt, parent_node) { in clk_probe_node()
127 status = _fdt_get_status(fdt, child); in clk_probe_node()
131 res = clk_probe_clock_provider_node(fdt, child); in clk_probe_node()
134 clk_probe_node(fdt, child); in clk_probe_node()
183 int child = 0; in clk_probe_assigned() local
186 fdt_for_each_subnode(child, fdt, parent_node) { in clk_probe_assigned()
187 clk_probe_assigned(fdt, child); in clk_probe_assigned()
189 status = _fdt_get_status(fdt, child); in clk_probe_assigned()
193 if (fdt_getprop(fdt, child, "assigned-clocks", &len)) in clk_probe_assigned()
[all …]
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/sequence/
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()
A Dder_sequence_shrink.c24 if (in->child) { in der_sequence_shrink()
25 der_sequence_shrink(in->child); in der_sequence_shrink()
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-3.20.0/core/drivers/
A Datmel_shdwc.c93 int child = 0; in at91_shdwc_get_wakeup_input() local
96 fdt_for_each_subnode(child, fdt, np) { in at91_shdwc_get_wakeup_input()
97 prop = fdt_getprop(fdt, child, "reg", &len); in at91_shdwc_get_wakeup_input()
100 fdt_get_name(fdt, child, NULL)); in at91_shdwc_get_wakeup_input()
112 if (fdt_getprop(fdt, child, "atmel,wakeup-active-high", NULL)) in at91_shdwc_get_wakeup_input()
/optee_os-3.20.0/core/tee/
A Dfs_htree.c85 struct htree_node *child[2]; member
225 struct htree_node *child; in find_closest_node() local
236 child = node->child[((node_id >> bit_idx) & 1)]; in find_closest_node()
237 if (!child) in find_closest_node()
239 node = child; in find_closest_node()
284 assert(!node->child[n & 1]); in get_node()
291 node->child[n & 1] = nc; in get_node()
421 if (node->child[0]) { in calc_node_hash()
423 sizeof(node->child[0]->node.hash)); in calc_node_hash()
428 if (node->child[1]) { in calc_node_hash()
[all …]
/optee_os-3.20.0/lib/libmbedtls/mbedtls/library/
A Dx509_crt.c2438 if( mbedtls_md( md_info, child->tbs.p, child->tbs.len, hash ) != 0 ) in x509_crt_check_signature()
2447 if( psa_hash_update( &hash_operation, child->tbs.p, child->tbs.len ) in x509_crt_check_signature()
2468 child->sig.p, child->sig.len, &rs_ctx->pk ) ); in x509_crt_check_signature()
2474 return( mbedtls_pk_verify_ext( child->sig_pk, child->sig_opts, &parent->pk, in x509_crt_check_signature()
2476 child->sig.p, child->sig.len ) ); in x509_crt_check_signature()
2828 mbedtls_x509_crt *child; in x509_crt_verify_chain() local
2846 child = cur->crt; in x509_crt_verify_chain()
2853 child = crt; in x509_crt_verify_chain()
2861 cur->crt = child; in x509_crt_verify_chain()
2948 x509_name_cmp( &child->issuer, &child->subject ) == 0 ) in x509_crt_verify_chain()
[all …]
/optee_os-3.20.0/core/lib/libfdt/
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-3.20.0/lib/libmbedtls/mbedtls/include/mbedtls/
A Dx509_crt.h734 mbedtls_x509_crt const *child,
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_pk.h548 struct ltc_asn1_list_ *prev, *next, *child, *parent; member
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog1169 the child process closes the listening socket and handles the client

Completed in 31 milliseconds