Home
last modified time | relevance | path

Searched refs:LHASH_OF (Results 1 – 25 of 36) sorted by relevance

12

/freebsd/crypto/openssl/include/openssl/
H A Dlhash.h128 # define LHASH_OF(type) struct lhash_st_##type macro
132 LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
144 …used ossl_inline const OPENSSL_LHASH *ossl_check_const_##type##_lh_type(const LHASH_OF(type) *lh) \
148 static ossl_unused ossl_inline OPENSSL_LHASH *ossl_check_##type##_lh_type(LHASH_OF(type) *lh) \
164 LHASH_OF(type)
167 LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
168 …static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *),…
171 return (LHASH_OF(type) *) \
174 static ossl_unused ossl_inline void lh_##type##_free(LHASH_OF(type) *lh) \
178 static ossl_unused ossl_inline void lh_##type##_flush(LHASH_OF(type) *lh) \
[all …]
H A Dlhash.h.in130 # define LHASH_OF(type) struct lhash_st_##type macro
134 LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
146 …used ossl_inline const OPENSSL_LHASH *ossl_check_const_##type##_lh_type(const LHASH_OF(type) *lh) \
150 static ossl_unused ossl_inline OPENSSL_LHASH *ossl_check_##type##_lh_type(LHASH_OF(type) *lh) \
166 LHASH_OF(type)
169 LHASH_OF(type) { union lh_##type##_dummy { void* d1; unsigned long d2; int d3; } dummy; }; \
170 …static ossl_unused ossl_inline LHASH_OF(type) *lh_##type##_new(unsigned long (*hfn)(const type *),…
173 return (LHASH_OF(type) *) \
176 static ossl_unused ossl_inline void lh_##type##_free(LHASH_OF(type) *lh) \
180 static ossl_unused ossl_inline void lh_##type##_flush(LHASH_OF(type) *lh) \
[all …]
H A Dconf.h68 #define lh_CONF_VALUE_new(hfn, cmp) ((LHASH_OF(CONF_VALUE) *)OPENSSL_LH_new(ossl_check_CONF_VALUE_l…
111 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
112 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file,
115 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
118 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp,
120 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
122 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group,
124 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group,
126 void CONF_free(LHASH_OF(CONF_VALUE) *conf);
128 int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out);
[all …]
H A Dconf.h.in74 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash);
75 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file,
78 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp,
81 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp,
83 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf,
85 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group,
87 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group,
89 void CONF_free(LHASH_OF(CONF_VALUE) *conf);
91 int CONF_dump_fp(LHASH_OF(CONF_VALUE) *conf, FILE *out);
93 int CONF_dump_bio(LHASH_OF(CONF_VALUE) *conf, BIO *out);
H A Dconftypes.h37 LHASH_OF(CONF_VALUE) *data;
H A Dtxt_db.h42 LHASH_OF(OPENSSL_STRING) **index;
H A Dx509v3.h.in636 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf,
639 X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
641 int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
643 int X509V3_EXT_REQ_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
645 int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
653 void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash);
H A Dx509v3.h900 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf,
903 X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
905 int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
907 int X509V3_EXT_REQ_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
909 int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx,
917 void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash);
/freebsd/crypto/openssl/crypto/conf/
H A Dconf_lib.c26 void CONF_set_nconf(CONF *conf, LHASH_OF(CONF_VALUE) *hash) in CONF_set_nconf()
46 LHASH_OF(CONF_VALUE) *CONF_load(LHASH_OF(CONF_VALUE) *conf, const char *file, in LHASH_OF() function
49 LHASH_OF(CONF_VALUE) *ltmp; in LHASH_OF()
69 LHASH_OF(CONF_VALUE) *CONF_load_fp(LHASH_OF(CONF_VALUE) *conf, FILE *fp, in LHASH_OF() function
73 LHASH_OF(CONF_VALUE) *ltmp; in LHASH_OF()
84 LHASH_OF(CONF_VALUE) *CONF_load_bio(LHASH_OF(CONF_VALUE) *conf, BIO *bp, in LHASH_OF() function
98 STACK_OF(CONF_VALUE) *CONF_get_section(LHASH_OF(CONF_VALUE) *conf, in STACK_OF()
111 char *CONF_get_string(LHASH_OF(CONF_VALUE) *conf, const char *group, in CONF_get_string()
124 long CONF_get_number(LHASH_OF(CONF_VALUE) *conf, const char *group, in CONF_get_number()
143 void CONF_free(LHASH_OF(CONF_VALUE) *conf) in CONF_free()
[all …]
H A Dconf_api.c20 static void value_free_hash(const CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf);
132 typedef LHASH_OF(CONF_VALUE) LH_CONF_VALUE;
158 static void value_free_hash(const CONF_VALUE *a, LHASH_OF(CONF_VALUE) *conf) in value_free_hash()
/freebsd/crypto/openssl/doc/man3/
H A DOPENSSL_LH_COMPFUNC.pod27 LHASH_OF(TYPE) *lh_TYPE_new(OPENSSL_LH_HASHFUNC hash, OPENSSL_LH_COMPFUNC compare);
28 void lh_TYPE_free(LHASH_OF(TYPE) *table);
29 void lh_TYPE_flush(LHASH_OF(TYPE) *table);
31 TYPE *lh_TYPE_insert(LHASH_OF(TYPE) *table, TYPE *data);
32 TYPE *lh_TYPE_delete(LHASH_OF(TYPE) *table, TYPE *data);
33 TYPE *lh_TYPE_retrieve(LHASH_OF(TYPE) *table, TYPE *data);
35 void lh_TYPE_doall(LHASH_OF(TYPE) *table, OPENSSL_LH_DOALL_FUNC func);
36 void lh_TYPE_doall_arg(LHASH_OF(TYPE) *table, OPENSSL_LH_DOALL_FUNCARG func,
43 int lh_TYPE_error(LHASH_OF(TYPE) *table);
76 B<lh_I<TYPE>_new>() creates a new B<LHASH_OF>(B<I<TYPE>>) structure to store
[all …]
H A DSSL_CTX_sessions.pod11 LHASH_OF(SSL_SESSION) *SSL_CTX_sessions(SSL_CTX *ctx);
/freebsd/crypto/openssl/apps/
H A Dopenssl.c38 static LHASH_OF(FUNCTION) *prog_init(void);
39 static int do_cmd(LHASH_OF(FUNCTION) *prog, int argc, char *argv[]);
239 LHASH_OF(FUNCTION) *prog = NULL; in main()
395 static int do_cmd(LHASH_OF(FUNCTION) *prog, int argc, char *argv[]) in do_cmd()
459 static LHASH_OF(FUNCTION) *prog_init(void) in LHASH_OF() function
461 static LHASH_OF(FUNCTION) *ret = NULL; in LHASH_OF()
/freebsd/crypto/openssl/crypto/property/
H A Ddefn_cache.c52 LHASH_OF(PROPERTY_DEFN_ELEM) *property_defns = vproperty_defns; in property_defns_free()
74 LHASH_OF(PROPERTY_DEFN_ELEM) *property_defns; in ossl_prop_defn_get()
100 LHASH_OF(PROPERTY_DEFN_ELEM) *property_defns; in ossl_prop_defn_set()
H A Dproperty_string.c35 typedef LHASH_OF(PROPERTY_STRING) PROP_TABLE;
H A Dproperty.c60 LHASH_OF(QUERY) *cache;
90 LHASH_OF(QUERY) *cache;
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_conf.c480 X509_EXTENSION *X509V3_EXT_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_conf()
495 X509_EXTENSION *X509V3_EXT_conf_nid(LHASH_OF(CONF_VALUE) *conf, in X509V3_EXT_conf_nid()
527 void X509V3_set_conf_lhash(X509V3_CTX *ctx, LHASH_OF(CONF_VALUE) *lhash) in X509V3_set_conf_lhash()
537 int X509V3_EXT_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_add_conf()
554 int X509V3_EXT_CRL_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_CRL_add_conf()
571 int X509V3_EXT_REQ_add_conf(LHASH_OF(CONF_VALUE) *conf, X509V3_CTX *ctx, in X509V3_EXT_REQ_add_conf()
/freebsd/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c132 LHASH_OF(OPENSSL_STRING) *lh; in TXT_DB_get_by_index()
151 LHASH_OF(OPENSSL_STRING) *idx; in TXT_DB_create_index()
160 if ((idx = (LHASH_OF(OPENSSL_STRING) *)OPENSSL_LH_new(hash, cmp)) == NULL) { in TXT_DB_create_index()
/freebsd/crypto/openssl/test/
H A Dlhash_test.c94 LHASH_OF(int) *h = lh_int_new(&int_hash, &int_cmp); in test_int_lhash()
190 LHASH_OF(int) *h = lh_int_new(&stress_hash, &int_cmp); in test_stress()
/freebsd/crypto/openssl/crypto/engine/
H A Deng_table.c32 LHASH_OF(ENGINE_PILE) piles;
67 LHASH_OF(ENGINE_PILE) *lh; in int_table_check()
/freebsd/crypto/openssl/util/
H A Dmissingmacro.txt83 LHASH_OF(3)
H A Dmissingmacro111.txt122 LHASH_OF(3)
/freebsd/crypto/openssl/crypto/store/
H A Dstore_register.c153 static LHASH_OF(OSSL_STORE_LOADER) *loader_register = NULL;
/freebsd/crypto/openssl/crypto/objects/
H A Do_names.c28 static LHASH_OF(OBJ_NAME) *names_lh = NULL;
/freebsd/crypto/openssl/crypto/
H A Dcore_namemap.c37 LHASH_OF(NAMENUM_ENTRY) *namenum; /* Name->number mapping */

12