Home
last modified time | relevance | path

Searched refs:tree (Results 1 – 25 of 32) sorted by relevance

12

/openssl/crypto/x509/
H A Dpcy_tree.c60 curr = tree->levels + tree->nlevel; in tree_print()
176 if ((tree = OPENSSL_zalloc(sizeof(*tree))) == NULL) in tree_init()
189 if ((tree->levels = OPENSSL_zalloc(sizeof(*tree->levels)*(n+1))) == NULL) { in tree_init()
193 tree->nlevel = n+1; in tree_init()
245 *ptree = tree; in tree_init()
487 curr = tree->levels + tree->nlevel - 1; in tree_calculate_authority_set()
546 anyPolicy = tree->levels[tree->nlevel - 1].anyPolicy; in tree_calculate_user_set()
633 if (!tree) in X509_policy_tree_free()
639 for (i = 0, curr = tree->levels; i < tree->nlevel; i++, curr++) { in X509_policy_tree_free()
647 OPENSSL_free(tree); in X509_policy_tree_free()
[all …]
H A Dpcy_lib.c20 int X509_policy_tree_level_count(const X509_POLICY_TREE *tree) in X509_policy_tree_level_count() argument
22 if (!tree) in X509_policy_tree_level_count()
24 return tree->nlevel; in X509_policy_tree_level_count()
30 if (!tree || (i < 0) || (i >= tree->nlevel)) in X509_policy_tree_get0_level()
32 return tree->levels + i; in X509_policy_tree_get0_level()
39 if (!tree) in STACK_OF()
41 return tree->auth_policies; in STACK_OF()
48 if (!tree) in STACK_OF()
50 if (tree->flags & POLICY_FLAG_ANY_POLICY) in STACK_OF()
51 return tree->auth_policies; in STACK_OF()
[all …]
H A Dpcy_node.c62 X509_POLICY_TREE *tree, in ossl_policy_level_add_node() argument
68 if (tree->node_maximum > 0 && tree->node_count >= tree->node_maximum) in ossl_policy_level_add_node()
97 if (tree->extra_data == NULL) in ossl_policy_level_add_node()
98 tree->extra_data = sk_X509_POLICY_DATA_new_null(); in ossl_policy_level_add_node()
99 if (tree->extra_data == NULL) { in ossl_policy_level_add_node()
103 if (!sk_X509_POLICY_DATA_push(tree->extra_data, data)) { in ossl_policy_level_add_node()
109 tree->node_count++; in ossl_policy_level_add_node()
H A Dv3_ncons.c219 GENERAL_SUBTREE *tree; in do_i2r_name_constraints() local
226 tree = sk_GENERAL_SUBTREE_value(trees, i); in do_i2r_name_constraints()
228 if (tree->base->type == GEN_IPADD) in do_i2r_name_constraints()
229 print_nc_ipadd(bp, tree->base->d.ip); in do_i2r_name_constraints()
231 GENERAL_NAME_print(bp, tree->base); in do_i2r_name_constraints()
H A Dpcy_local.h165 X509_POLICY_TREE *tree,
H A Dx509_vfy.c1751 ret = X509_policy_check(&ctx->tree, &ctx->explicit_policy, ctx->chain, in check_policy()
2489 ctx->tree = NULL; in X509_STORE_CTX_init()
2628 X509_policy_tree_free(ctx->tree); in X509_STORE_CTX_cleanup()
2629 ctx->tree = NULL; in X509_STORE_CTX_cleanup()
2772 return ctx->tree; in X509_STORE_CTX_get0_policy_tree()
/openssl/crypto/
H A DREADME-sparse_array.md7 The sparse array is represented using a tree structure. Each node in the
8 tree contains a block of pointers to either the user supplied leaf values or
16 SA_BLOCK_MAX_LEVELS Indicates the maximum possible height of the tree
29 As a space and performance optimisation, the height of the tree is usually
33 The largest index used to add a value to the array determines the tree height:
45 The tree height is dynamically increased as needed based on additions.
47 An empty tree is represented by a NULL root pointer. Inserting a value at
109 along a path from the root of the tree to an added leaf will be allocated.
116 height of the tree on removal. For example, now setting index 0 to NULL would
/openssl/
H A DREADME-QUIC.md13 for these can be [found in the source tree under `demos/guide`](./demos/guide/).
18 using simple examples. These can be [found in the source tree under
75 [DDD]: https://github.com/openssl/openssl/tree/master/doc/designs/ddd
76 [found in the source tree under `doc/designs/ddd`]: ./doc/designs/ddd/
H A DNOTES-VMS.md107 get through, for example if you've copied the tree from a NFS-mounted
H A DINSTALL.md345 The name of the directory under the top of the installation directory tree
373 The top of the installation directory tree. Defaults are:
1499 directory tree under `<PREFIX>` (the directory given with `--prefix` or
1661 store them locally, outside the OpenSSL source tree.
1851 change, it might be helpful to clean the build tree before attempting another
/openssl/Configurations/
H A DREADME-design.md8 throughout the source tree. These files hold the minimum information
14 stored in configdata.pm, found at the top of the build tree (which may
15 or may not be the same as the source tree).
48 All their values in all the `build.info` throughout the source tree are
191 If the build tree is separate from the source tree, it will assume
193 files are to be found in the source tree, if they can be found there.
195 source tree (such as `crypto/bildinf.h` in the example above) are
196 generated and will be found in the build tree.
H A DREADME.md352 The `build.info` files that are spread over the source tree contain the
359 corresponding build directory for built files if the build tree
360 differs from the source tree.
367 directory, all relative to the top of the build tree.
400 to be located in the source tree while files given through DEPEND are
401 expected to be located in the build tree)
646 In all cases, file file paths are relative to the build tree top, and
647 the build file actions run with the build tree top as current working
H A Ddescrip.mms.tmpl38 sub tree {
1157 # in the correct position (important when the object tree is other
1158 # than the source tree).
/openssl/test/ct/
H A Dlog_list.cnf7 description = https://github.com/google/certificate-transparency/tree/99218b6445906a81f219d84e9c6d2…
/openssl/include/openssl/
H A Dx509_vfy.h.in770 #define X509_PCY_TREE_VALID 1 /* The policy tree is valid */
771 #define X509_PCY_TREE_EMPTY 2 /* The policy tree is empty */
778 void X509_policy_tree_free(X509_POLICY_TREE *tree);
780 int X509_policy_tree_level_count(const X509_POLICY_TREE *tree);
781 X509_POLICY_LEVEL *X509_policy_tree_get0_level(const X509_POLICY_TREE *tree,
785 *X509_policy_tree_get0_policies(const X509_POLICY_TREE *tree);
788 *X509_policy_tree_get0_user_policies(const X509_POLICY_TREE *tree);
/openssl/demos/guide/
H A DREADME.md61 "util" sub-directory of the top of the build tree. This server utility is not
94 ./test/quic_interop_openssl in this source tree.
/openssl/doc/designs/quic-design/
H A Djson-encoder.md9 using immediate calls without the use of an intermediate syntax tree
/openssl/.github/workflows/
H A Dprov-compat-label.yml243 - name: set up cross validation of FIPS from A with tree from B
268 - name: run cross validation tests of FIPS from A with tree from B
H A Dprovider-compatibility.yml237 - name: set up cross validation of FIPS from A with tree from B
262 - name: run cross validation tests of FIPS from A with tree from B
H A Dci.yml478 # build tree
480 # tree
/openssl/include/crypto/
H A Dx509.h260 X509_POLICY_TREE *tree; member
/openssl/doc/man7/
H A Dopenssl-env.pod114 Generates the complete policy tree at various points during X.509 v3
/openssl/apps/lib/
H A Dapps.c2132 X509_POLICY_TREE *tree; in policies_print() local
2135 tree = X509_STORE_CTX_get0_policy_tree(ctx); in policies_print()
2141 nodes_print("Authority", X509_policy_tree_get0_policies(tree)); in policies_print()
2142 nodes_print("User", X509_policy_tree_get0_user_policies(tree)); in policies_print()
/openssl/doc/man3/
H A DOSSL_trace_set_channel.pod182 More precisely, this generates the complete policy tree at various
/openssl/doc/internal/man3/
H A DOPTIONS.pod330 directory of the source tree.

Completed in 61 milliseconds

12