Home
last modified time | relevance | path

Searched refs:root (Results 1 – 9 of 9) sorted by relevance

/optee_os-3.20.0/core/lib/zlib/
A Dinftrees.c44 unsigned root; /* number of index bits for root table */ local
114 root = *bits;
117 if (root > max) root = max;
129 if (root < min) root = min;
203 curr = root; /* current table index bits */
206 used = 1U << root; /* use root table entries */
259 if (len > root && (huff & mask) != low) {
262 drop = root;
286 (*table)[low].bits = (unsigned char)root;
303 *bits = root;
/optee_os-3.20.0/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/
A Dder_decode_custom_type.c23 LTC_ARGCHK(root != NULL); in der_decode_custom_type()
62 if (root == NULL) { in der_decode_custom_type_ex()
89 if ((ident.type != root->type) || in der_decode_custom_type_ex()
91 (ident.pc != root->pc) || in der_decode_custom_type_ex()
92 (ident.tag != root->tag)) { in der_decode_custom_type_ex()
98 list = root->data; in der_decode_custom_type_ex()
99 outlen = root->size; in der_decode_custom_type_ex()
102 if (root != NULL && root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_decode_custom_type_ex()
109 root->type = (ltc_asn1_type)root->used; in der_decode_custom_type_ex()
110 list = root; in der_decode_custom_type_ex()
[all …]
A Dder_length_custom_type.c23 int der_length_custom_type(const ltc_asn1_list *root, unsigned long *outlen, unsigned long *payload… in der_length_custom_type() argument
31 LTC_ARGCHK(root != NULL); in der_length_custom_type()
35 if ((err = der_length_asn1_identifier(root, &id_len)) != CRYPT_OK) { in der_length_custom_type()
40 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type()
41 list = root; in der_length_custom_type()
44 list = root->data; in der_length_custom_type()
45 inlen = root->size; in der_length_custom_type()
48 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type()
177 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_length_custom_type()
A Dder_encode_custom_type.c24 int der_encode_custom_type(const ltc_asn1_list *root, in der_encode_custom_type() argument
33 LTC_ARGCHK(root != NULL); in der_encode_custom_type()
39 if ((err = der_length_custom_type(root, &y, &z)) != CRYPT_OK) return CRYPT_INVALID_ARG; in der_encode_custom_type()
49 if ((err = der_length_asn1_identifier(root, &id_len)) != CRYPT_OK) return CRYPT_INVALID_ARG; in der_encode_custom_type()
53 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_encode_custom_type()
54 list = root; in der_encode_custom_type()
62 list = root->data; in der_encode_custom_type()
63 inlen = root->size; in der_encode_custom_type()
75 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_encode_custom_type()
219 if ((err = der_encode_asn1_identifier(root, out, &id_len)) != CRYPT_OK) { in der_encode_custom_type()
/optee_os-3.20.0/core/tee/
A Dfs_htree.c89 struct htree_node root; member
206 return traverse_post_order(&targ, &ht->root); in htree_traverse_post_order()
219 struct htree_node *node = &ht->root; in find_closest_node()
332 if (!memcmp(ht->root.node.hash, hash, in init_head_from_data()
333 sizeof(ht->root.node.hash))) { in init_head_from_data()
363 ht->root.id = 1; in init_head_from_data()
604 ht->root.id = 1; in init_root_node()
605 ht->root.dirty = true; in init_root_node()
608 ht->root.node.hash); in init_root_node()
680 ht->root.dirty = true; in tee_fs_htree_meta_set_dirty()
[all …]
/optee_os-3.20.0/core/arch/arm/kernel/
A Dsecure_partition.c1213 int root = 0; in fip_sp_map_all() local
1221 root = fdt_path_offset(fdt, "/"); in fip_sp_map_all()
1222 if (root < 0) in fip_sp_map_all()
1225 if (fdt_node_check_compatible(fdt, root, "arm,ffa-core-manifest-1.0")) in fip_sp_map_all()
1229 sp_pkgs_node = fdt_node_offset_by_compatible(fdt, root, "arm,sp_pkg"); in fip_sp_map_all()
/optee_os-3.20.0/core/lib/libtomcrypt/src/headers/
A Dtomcrypt_pk.h637 int der_encode_custom_type(const ltc_asn1_list *root,
641 ltc_asn1_list *root);
643 int der_length_custom_type(const ltc_asn1_list *root,
A Dtomcrypt_private.h398 ltc_asn1_list *root,
/optee_os-3.20.0/lib/libmbedtls/mbedtls/
A DChangeLog2574 * Fixed cert_app.c sample program for debug output and for use when no root

Completed in 27 milliseconds