Home
last modified time | relevance | path

Searched refs:OPENSSL_STRING (Results 1 – 25 of 44) sorted by relevance

12

/src/crypto/openssl/include/openssl/
H A Dtxt_db.h36 typedef OPENSSL_STRING *OPENSSL_PSTRING;
37 DEFINE_SPECIAL_STACK_OF(OPENSSL_PSTRING, OPENSSL_STRING)
42 LHASH_OF(OPENSSL_STRING) **index;
43 int (**qual)(OPENSSL_STRING *);
47 OPENSSL_STRING *arg_row;
52 int TXT_DB_create_index(TXT_DB *db, int field, int (*qual)(OPENSSL_STRING *),
55 OPENSSL_STRING *TXT_DB_get_by_index(TXT_DB *db, int idx,
56 OPENSSL_STRING *value);
57 int TXT_DB_insert(TXT_DB *db, OPENSSL_STRING *value);
H A Dsafestack.h197 typedef char *OPENSSL_STRING; typedef
208 SKM_DEFINE_STACK_OF_INTERNAL(OPENSSL_STRING, char, char)
211 #define sk_OPENSSL_STRING_new(cmp) ((STACK_OF(OPENSSL_STRING) *)OPENSSL_sk_new(ossl_check_OPENSSL_S…
212 #define sk_OPENSSL_STRING_new_null() ((STACK_OF(OPENSSL_STRING) *)OPENSSL_sk_new_null())
213 #define sk_OPENSSL_STRING_new_reserve(cmp, n) ((STACK_OF(OPENSSL_STRING) *)OPENSSL_sk_new_reserve(o…
231 #define sk_OPENSSL_STRING_dup(sk) ((STACK_OF(OPENSSL_STRING) *)OPENSSL_sk_dup(ossl_check_const_OPEN…
232 #define sk_OPENSSL_STRING_deep_copy(sk, copyfunc, freefunc) ((STACK_OF(OPENSSL_STRING) *)OPENSSL_sk…
H A Dlhash.h380 DEFINE_LHASH_OF_INTERNAL(OPENSSL_STRING);
381 #define lh_OPENSSL_STRING_new(hfn, cmp) ((LHASH_OF(OPENSSL_STRING) *)OPENSSL_LH_set_thunks(OPENSSL_…
384 #define lh_OPENSSL_STRING_insert(lh, ptr) ((OPENSSL_STRING *)OPENSSL_LH_insert(ossl_check_OPENSSL_S…
385 #define lh_OPENSSL_STRING_delete(lh, ptr) ((OPENSSL_STRING *)OPENSSL_LH_delete(ossl_check_OPENSSL_S…
386 #define lh_OPENSSL_STRING_retrieve(lh, ptr) ((OPENSSL_STRING *)OPENSSL_LH_retrieve(ossl_check_OPENS…
/src/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c28 OPENSSL_STRING *pp; in TXT_DB_read()
127 OPENSSL_STRING *TXT_DB_get_by_index(TXT_DB *db, int idx, in TXT_DB_get_by_index()
128 OPENSSL_STRING *value) in TXT_DB_get_by_index()
130 OPENSSL_STRING *ret; in TXT_DB_get_by_index()
131 LHASH_OF(OPENSSL_STRING) *lh; in TXT_DB_get_by_index()
147 int TXT_DB_create_index(TXT_DB *db, int field, int (*qual)(OPENSSL_STRING *), in TXT_DB_create_index() argument
150 LHASH_OF(OPENSSL_STRING) *idx; in TXT_DB_create_index()
151 OPENSSL_STRING *r, *k; in TXT_DB_create_index()
159 if ((idx = (LHASH_OF(OPENSSL_STRING) *)OPENSSL_LH_new(hash, cmp)) == NULL) { in TXT_DB_create_index()
234 int TXT_DB_insert(TXT_DB *db, OPENSSL_STRING *row) in TXT_DB_insert()
[all …]
/src/crypto/openssl/apps/include/
H A Dapps.h123 STACK_OF(OPENSSL_STRING) *vfyopts, const char *desc);
248 index_name_cmp((const OPENSSL_CSTRING *)CHECKED_PTR_OF(OPENSSL_STRING, a), \
249 (const OPENSSL_CSTRING *)CHECKED_PTR_OF(OPENSSL_STRING, b))
265 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx);
266 int do_X509_verify(X509 *x, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *vfyopts);
268 STACK_OF(OPENSSL_STRING) *sigopts);
270 STACK_OF(OPENSSL_STRING) *vfyopts);
272 STACK_OF(OPENSSL_STRING) *sigopts);
347 OSSL_PARAM *app_params_new_from_opts(STACK_OF(OPENSSL_STRING) *opts,
H A Ds_apps.h76 int config_ctx(SSL_CONF_CTX *cctx, STACK_OF(OPENSSL_STRING) *str, SSL_CTX *ctx);
/src/crypto/openssl/crypto/x509/
H A Dv3_utl.c27 static STACK_OF(OPENSSL_STRING) *get_email(const X509_NAME *name,
29 static void str_free(OPENSSL_STRING str);
30 static int append_ia5(STACK_OF(OPENSSL_STRING) **sk,
448 STACK_OF(OPENSSL_STRING) *X509_get1_email(X509 *x) in STACK_OF() argument
451 STACK_OF(OPENSSL_STRING) *ret; in STACK_OF()
459 STACK_OF(OPENSSL_STRING) *X509_get1_ocsp(X509 *x) in STACK_OF() argument
462 STACK_OF(OPENSSL_STRING) *ret = NULL; in STACK_OF()
481 STACK_OF(OPENSSL_STRING) *X509_REQ_get1_email(X509_REQ *x) in STACK_OF() argument
485 STACK_OF(OPENSSL_STRING) *ret; in STACK_OF()
495 static STACK_OF(OPENSSL_STRING) *get_email(const X509_NAME *name, in STACK_OF() argument
[all …]
H A Dx509_local.h32 STACK_OF(OPENSSL_STRING) *hosts; /* Set of acceptable names */
/src/crypto/openssl/apps/
H A Dengine.c164 STACK_OF(OPENSSL_STRING) *cmds = NULL; in util_verbose()
246 static void util_do_cmds(ENGINE *e, STACK_OF(OPENSSL_STRING) *cmds, in util_do_cmds()
310 STACK_OF(OPENSSL_STRING) *pre_cmds = sk_OPENSSL_STRING_new_null(); in engine_main()
311 STACK_OF(OPENSSL_STRING) *post_cmds = sk_OPENSSL_STRING_new_null(); in engine_main()
H A Dca.c96 STACK_OF(OPENSSL_STRING) *sigopts,
97 STACK_OF(OPENSSL_STRING) *vfyopts,
108 STACK_OF(OPENSSL_STRING) *sigopts,
109 STACK_OF(OPENSSL_STRING) *vfyopts,
118 STACK_OF(OPENSSL_STRING) *sigopts,
126 const char *dgst, STACK_OF(OPENSSL_STRING) *sigopts,
322 STACK_OF(OPENSSL_STRING) *sigopts = NULL, *vfyopts = NULL; in ca_main()
1376 STACK_OF(OPENSSL_STRING) *sigopts, in certify()
1377 STACK_OF(OPENSSL_STRING) *vfyopts, in certify()
1434 STACK_OF(OPENSSL_STRING) *sigopts, in certify_cert()
[all …]
H A Dcms.c27 static CMS_ReceiptRequest *make_receipt_request(STACK_OF(OPENSSL_STRING) *rr_to, int rr_allorfirst,
28 STACK_OF(OPENSSL_STRING) *rr_from);
30 STACK_OF(OPENSSL_STRING) *param);
58 STACK_OF(OPENSSL_STRING) *param;
353 STACK_OF(OPENSSL_STRING) *rr_to = NULL, *rr_from = NULL; in cms_main()
354 STACK_OF(OPENSSL_STRING) *sksigners = NULL, *skkeys = NULL; in cms_main()
1496 static STACK_OF(GENERAL_NAMES) *make_names_stack(STACK_OF(OPENSSL_STRING) *ns) in STACK_OF()
1530 static CMS_ReceiptRequest *make_receipt_request(STACK_OF(OPENSSL_STRING) *rr_to, int rr_allorfirst, in make_receipt_request()
1531 STACK_OF(OPENSSL_STRING) *rr_from) in make_receipt_request()
1558 STACK_OF(OPENSSL_STRING) *param) in cms_set_pkey_param()
H A Dverify.c25 STACK_OF(OPENSSL_STRING) *opts);
95 STACK_OF(OPENSSL_STRING) *vfyopts = NULL; in verify_main()
262 STACK_OF(OPENSSL_STRING) *opts) in check()
H A Dkdf.c56 static char *alloc_kdf_algorithm_name(STACK_OF(OPENSSL_STRING) **optp, in alloc_kdf_algorithm_name()
79 STACK_OF(OPENSSL_STRING) *opts = NULL; in kdf_main()
H A Dmac.c59 static char *alloc_mac_algorithm_name(STACK_OF(OPENSSL_STRING) **optp, in alloc_mac_algorithm_name()
85 STACK_OF(OPENSSL_STRING) *opts = NULL; in mac_main()
H A Dreq.c222 static unsigned long ext_name_hash(const OPENSSL_STRING *a) in ext_name_hash()
227 static int ext_name_cmp(const OPENSSL_STRING *a, const OPENSSL_STRING *b) in ext_name_cmp()
232 static void exts_cleanup(OPENSSL_STRING *x) in exts_cleanup()
241 static int duplicated(LHASH_OF(OPENSSL_STRING) *addexts, char *kv) in duplicated()
270 p = (char *)lh_OPENSSL_STRING_insert(addexts, (OPENSSL_STRING *)kv); in duplicated()
290 STACK_OF(OPENSSL_STRING) *pkeyopts = NULL, *sigopts = NULL, *vfyopts = NULL; in req_main()
291 LHASH_OF(OPENSSL_STRING) *addexts = NULL; in req_main()
H A Docsp.c60 STACK_OF(OPENSSL_STRING) *names,
66 STACK_OF(OPENSSL_STRING) *sigopts,
258 STACK_OF(OPENSSL_STRING) *rsign_sigopts = NULL; in ocsp_main()
267 STACK_OF(OPENSSL_STRING) *reqnames = NULL; in ocsp_main()
1013 STACK_OF(OPENSSL_STRING) *names, in print_ocsp_summary()
1077 STACK_OF(OPENSSL_STRING) *sigopts, in make_ocsp_response()
H A Dskeyutl.c47 STACK_OF(OPENSSL_STRING) *skeyopts = NULL; in skeyutl_main()
H A Dcrl2pkcs7.c59 STACK_OF(OPENSSL_STRING) *certflst = NULL; in crl2pkcs7_main()
H A Dasn1parse.c77 STACK_OF(OPENSSL_STRING) *osk = NULL; in asn1parse_main()
H A Dpkeyutl.c171 STACK_OF(OPENSSL_STRING) *pkeyopts = NULL; in pkeyutl_main()
172 STACK_OF(OPENSSL_STRING) *pkeyopts_passin = NULL; in pkeyutl_main()
/src/crypto/openssl/apps/lib/
H A Dapp_rand.c18 static STACK_OF(OPENSSL_STRING) *randfiles; in STACK_OF() argument
H A Dapps.c510 STACK_OF(OPENSSL_STRING) *vfyopts, const char *desc) in load_csr_autofmt()
2204 static int do_pkey_ctx_init(EVP_PKEY_CTX *pkctx, STACK_OF(OPENSSL_STRING) *opts) in do_pkey_ctx_init()
2224 static int do_x509_init(X509 *x, STACK_OF(OPENSSL_STRING) *opts) in do_x509_init()
2244 static int do_x509_req_init(X509_REQ *x, STACK_OF(OPENSSL_STRING) *opts) in do_x509_req_init()
2265 const char *md, STACK_OF(OPENSSL_STRING) *sigopts) in do_sign_init()
2327 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx) in do_X509_sign()
2361 STACK_OF(OPENSSL_STRING) *sigopts) in do_X509_REQ_sign()
2374 STACK_OF(OPENSSL_STRING) *sigopts) in do_X509_CRL_sign()
2389 int do_X509_verify(X509 *x, EVP_PKEY *pkey, STACK_OF(OPENSSL_STRING) *vfyopts) in do_X509_verify()
2405 STACK_OF(OPENSSL_STRING) *vfyopts) in do_X509_REQ_verify()
[all …]
/src/crypto/openssl/test/
H A Devp_test.c201 static int ctrladd(STACK_OF(OPENSSL_STRING) *controls, const char *value) in ctrladd()
222 static void ctrlfree(STACK_OF(OPENSSL_STRING) *controls) in ctrlfree()
245 static int ctrl2params(EVP_TEST *t, STACK_OF(OPENSSL_STRING) *controls, in ctrl2params()
905 STACK_OF(OPENSSL_STRING) *init_controls; /* collection of controls */
1599 STACK_OF(OPENSSL_STRING) *controls;
2133 STACK_OF(OPENSSL_STRING) *init_ctrls;
2458 STACK_OF(OPENSSL_STRING) *init_controls; /* collection of controls */
2459 STACK_OF(OPENSSL_STRING) *controls; /* collection of controls */
2607 static int pkey_add_control(EVP_TEST *t, STACK_OF(OPENSSL_STRING) *controls, in pkey_add_control()
3536 STACK_OF(OPENSSL_STRING) *init_controls; /* collection of controls */
[all …]
H A Devp_libctx_test.c41 static STACK_OF(OPENSSL_STRING) *cipher_names = NULL;
672 STACK_OF(OPENSSL_STRING) *names = cipher_names_list; in collect_cipher_names()
/src/crypto/openssl/crypto/engine/
H A Deng_dyn.c114 STACK_OF(OPENSSL_STRING) *dirs;

12