/freebsd/crypto/openssh/ |
H A D | sshsig.c | 737 struct sshsigopt *sigopts = NULL; in parse_principals_key_and_options() local 806 if ((sigopts = sshsigopt_parse(opts, path, linenum, &reason)) == NULL) { in parse_principals_key_and_options() 817 *sigoptsp = sigopts; in parse_principals_key_and_options() 818 sigopts = NULL; /* transferred */ in parse_principals_key_and_options() 827 sshsigopt_free(sigopts); in parse_principals_key_and_options() 898 struct sshsigopt *sigopts = NULL; in check_allowed_keys_line() local 906 principal, &principals, &found_key, &sigopts)) != 0) { in check_allowed_keys_line() 911 if (!sigopts->ca && sshkey_equal(found_key, sign_key)) { in check_allowed_keys_line() 914 } else if (sigopts->ca && sshkey_is_cert(sign_key) && in check_allowed_keys_line() 944 if (sigopts->namespaces != NULL && sig_namespace != NULL && in check_allowed_keys_line() [all …]
|
/freebsd/crypto/openssl/apps/ |
H A D | dgst.c | 99 STACK_OF(OPENSSL_STRING) *sigopts = NULL, *macopts = NULL; in dgst_main() 203 if (!sigopts) in dgst_main() 204 sigopts = sk_OPENSSL_STRING_new_null(); in dgst_main() 205 if (!sigopts || !sk_OPENSSL_STRING_push(sigopts, opt_arg())) in dgst_main() 366 if (sigopts != NULL) { in dgst_main() 367 for (i = 0; i < sk_OPENSSL_STRING_num(sigopts); i++) { in dgst_main() 368 char *sigopt = sk_OPENSSL_STRING_value(sigopts, i); in dgst_main() 470 sk_OPENSSL_STRING_free(sigopts); in dgst_main()
|
H A D | ca.c | 94 STACK_OF(OPENSSL_STRING) *sigopts, 106 STACK_OF(OPENSSL_STRING) *sigopts, 116 STACK_OF(OPENSSL_STRING) *sigopts, 124 const char *dgst, STACK_OF(OPENSSL_STRING) *sigopts, 271 STACK_OF(OPENSSL_STRING) *sigopts = NULL, *vfyopts = NULL; in ca_main() 407 if (sigopts == NULL) in ca_main() 408 sigopts = sk_OPENSSL_STRING_new_null(); in ca_main() 409 if (sigopts == NULL || !sk_OPENSSL_STRING_push(sigopts, opt_arg())) in ca_main() 967 j = certify_spkac(&x, spkac_file, pkey, x509, dgst, sigopts, in ca_main() 988 x509, dgst, sigopts, vfyopts, attribs, in ca_main() [all …]
|
H A D | x509.c | 269 STACK_OF(OPENSSL_STRING) *sigopts = NULL, *vfyopts = NULL; in x509_main() 363 if (!sigopts) in x509_main() 364 sigopts = sk_OPENSSL_STRING_new_null(); in x509_main() 365 if (!sigopts || !sk_OPENSSL_STRING_push(sigopts, opt_arg())) in x509_main() 871 if (!do_X509_REQ_sign(rq, privkey, digest, sigopts)) in x509_main() 888 if (!do_X509_sign(x, privkey, digest, sigopts, &ext_ctx)) in x509_main() 900 if (!do_X509_sign(x, CAkey, digest, sigopts, &ext_ctx)) in x509_main() 1077 sk_OPENSSL_STRING_free(sigopts); in x509_main()
|
H A D | req.c | 241 STACK_OF(OPENSSL_STRING) *pkeyopts = NULL, *sigopts = NULL, *vfyopts = NULL; in req_main() 358 if (!sigopts) in req_main() 359 sigopts = sk_OPENSSL_STRING_new_null(); in req_main() 360 if (!sigopts || !sk_OPENSSL_STRING_push(sigopts, opt_arg())) in req_main() 879 i = do_X509_sign(new_x509, issuer_key, digest, sigopts, &ext_ctx); in req_main() 903 i = do_X509_REQ_sign(req, pkey, digest, sigopts); in req_main() 1046 sk_OPENSSL_STRING_free(sigopts); in req_main()
|
H A D | ocsp.c | 72 STACK_OF(OPENSSL_STRING) *sigopts, 1031 STACK_OF(OPENSSL_STRING) *sigopts, in make_ocsp_response() 1146 for (i = 0; i < sk_OPENSSL_STRING_num(sigopts); i++) { in make_ocsp_response() 1147 char *sigopt = sk_OPENSSL_STRING_value(sigopts, i); in make_ocsp_response() 1028 make_ocsp_response(BIO * err,OCSP_RESPONSE ** resp,OCSP_REQUEST * req,CA_DB * db,STACK_OF (X509)* ca,X509 * rcert,EVP_PKEY * rkey,const EVP_MD * rmd,STACK_OF (OPENSSL_STRING)* sigopts,STACK_OF (X509)* rother,unsigned long flags,int nmin,int ndays,int badsig,const EVP_MD * resp_md) make_ocsp_response() argument
|
/freebsd/crypto/openssl/apps/include/ |
H A D | apps.h | 256 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx); 259 STACK_OF(OPENSSL_STRING) *sigopts); 263 STACK_OF(OPENSSL_STRING) *sigopts);
|
/freebsd/crypto/openssl/apps/lib/ |
H A D | apps.c | 2221 const char *md, STACK_OF(OPENSSL_STRING) *sigopts) in do_sign_init() 2240 && do_pkey_ctx_init(pkctx, sigopts); in do_sign_init() 2273 STACK_OF(OPENSSL_STRING) *sigopts, X509V3_CTX *ext_ctx) in do_X509_sign() 2301 if (mctx != NULL && do_sign_init(mctx, pkey, md, sigopts) > 0) in do_X509_sign() 2310 STACK_OF(OPENSSL_STRING) *sigopts) in do_X509_REQ_sign() 2315 if (do_sign_init(mctx, pkey, md, sigopts) > 0) in do_X509_REQ_sign() 2323 STACK_OF(OPENSSL_STRING) *sigopts) in do_X509_CRL_sign() 2328 if (do_sign_init(mctx, pkey, md, sigopts) > 0) in do_X509_CRL_sign()
|