Home
last modified time | relevance | path

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

/optee_os/core/lib/zlib/
H 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/core/lib/libtomcrypt/src/pk/asn1/der/custom_type/
H A Dder_decode_custom_type.c21 ltc_asn1_list *root) in der_decode_custom_type() argument
23 LTC_ARGCHK(root != NULL); in der_decode_custom_type()
24 …return der_decode_custom_type_ex(in, inlen, root, NULL, 0, LTC_DER_SEQ_ORDERED | LTC_DER_SEQ_RELAX… in der_decode_custom_type()
43 ltc_asn1_list *root, in der_decode_custom_type_ex() argument
62 if (root == NULL) { in der_decode_custom_type_ex()
71 if (root->type != LTC_ASN1_CUSTOM_TYPE) { in der_decode_custom_type_ex()
76 if (root->pc == LTC_ASN1_PC_PRIMITIVE) { in der_decode_custom_type_ex()
89 if ((ident.type != root->type) || in der_decode_custom_type_ex()
90 (ident.klass != root->klass) || in der_decode_custom_type_ex()
91 (ident.pc != root->pc) || in der_decode_custom_type_ex()
[all …]
H 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()
H 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 (der_length_custom_type(root, &y, &z) != CRYPT_OK) return CRYPT_INVALID_ARG; in der_encode_custom_type()
49 if (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/core/tee/
H A Dfs_htree.c90 struct htree_node root; member
207 return traverse_post_order(&targ, &ht->root); in htree_traverse_post_order()
220 struct htree_node *node = &ht->root; in find_closest_node()
329 res = rpc_read_node(ht, 1, idx, &ht->root.node); in init_head_from_data()
333 if (!memcmp(ht->root.node.hash, hash, in init_head_from_data()
334 sizeof(ht->root.node.hash))) { in init_head_from_data()
357 res = rpc_read_node(ht, 1, idx, &ht->root.node); in init_head_from_data()
367 ht->root.id = 1; in init_head_from_data()
492 res = crypto_authenc_update_aad(ctx, mode, ht->root.node.hash, in authenc_init()
623 ht->root.id = 1; in init_root_node()
[all …]
/optee_os/.devcontainer/
H A DDockerfile.vscode45 # Add non root user
/optee_os/core/lib/libtomcrypt/src/headers/
H A Dtomcrypt_pk.h639 int der_encode_custom_type(const ltc_asn1_list *root,
643 ltc_asn1_list *root);
645 int der_length_custom_type(const ltc_asn1_list *root,
H A Dtomcrypt_private.h423 ltc_asn1_list *root,
/optee_os/core/arch/arm/kernel/
H A Dsecure_partition.c1981 int root = 0; in fip_sp_init_all() local
1989 root = fdt_path_offset(fdt, "/"); in fip_sp_init_all()
1990 if (root < 0) in fip_sp_init_all()
1993 if (fdt_node_check_compatible(fdt, root, "arm,ffa-core-manifest-1.0")) in fip_sp_init_all()
1997 sp_pkgs_node = fdt_node_offset_by_compatible(fdt, root, "arm,sp_pkg"); in fip_sp_init_all()
/optee_os/core/lib/qcbor/
H A DREADME.md230 CMake can also be used to build QCBOR and the test application. Having the root
/optee_os/lib/libmbedtls/mbedtls/
H A DChangeLog4463 * Fixed cert_app.c sample program for debug output and for use when no root