Home
last modified time | relevance | path

Searched refs:opt (Results 1 – 25 of 43) sorted by relevance

12

/openssl/crypto/asn1/
H A Dtasn_dec.c49 const ASN1_TEMPLATE *tt, char opt,
60 int tag, int aclass, char opt,
209 if ((tag != -1) || opt) { in asn1_item_embed_d2i()
218 tag, aclass, opt, ctx); in asn1_item_embed_d2i()
242 if (opt) in asn1_item_embed_d2i()
251 if (opt) in asn1_item_embed_d2i()
319 if (opt) { in asn1_item_embed_d2i()
347 &p, len, tag, aclass, opt, ctx); in asn1_item_embed_d2i()
729 if (opt) { in asn1_d2i_ex_primitive()
750 &p, inlen, tag, aclass, opt, ctx); in asn1_d2i_ex_primitive()
[all …]
/openssl/apps/
H A Dprogs.pl17 my $opt = shift @ARGV;
19 unless ($opt eq '-H' || $opt eq '-C');
46 if ($opt eq '-H') {
76 if ($opt eq '-C') {
H A Dcmp.c2531 if (end == opt) in prev_item()
2534 while (beg > opt) { in prev_item()
2549 while (beg > opt) { in prev_item()
2602 const OPTIONS *opt; in read_config() local
2612 opt->name != NULL; i++, opt++) in read_config()
2621 opt->name != NULL; i++, opt++) { in read_config()
2636 switch (opt->valtype) { in read_config()
2668 opt->valtype, opt->name); in read_config()
2680 if (opt->valtype == '-') { in read_config()
2700 switch (opt->valtype) { in read_config()
[all …]
H A Dpkeyutl.c365 const char *opt = sk_OPENSSL_STRING_value(pkeyopts, i); in pkeyutl_main() local
367 if (pkey_ctrl_string(ctx, opt) <= 0) { in pkeyutl_main()
369 prog, opt); in pkeyutl_main()
379 char *opt = sk_OPENSSL_STRING_value(pkeyopts_passin, i); in pkeyutl_main() local
380 char *passin = strchr(opt, ':'); in pkeyutl_main()
388 BIO_snprintf(passwd_buf, sizeof(passwd_buf), "Enter %s: ", opt); in pkeyutl_main()
411 BIO_printf(bio_err, "failed to get '%s'\n", opt); in pkeyutl_main()
416 if (EVP_PKEY_CTX_ctrl_str(ctx, opt, passwd) <= 0) { in pkeyutl_main()
418 prog, opt); in pkeyutl_main()
H A Dverify.c262 char *opt = sk_OPENSSL_STRING_value(opts, i); in check() local
263 if (x509_ctrl_string(x, opt) <= 0) { in check()
264 BIO_printf(bio_err, "parameter error \"%s\"\n", opt); in check()
/openssl/apps/lib/
H A Dopt.c707 int opt_verify(int opt, X509_VERIFY_PARAM *vpm) in opt_verify() argument
716 OPENSSL_assert(opt > OPT_V__FIRST); in opt_verify()
717 OPENSSL_assert(opt < OPT_V__LAST); in opt_verify()
719 switch ((enum range)opt) { in opt_verify()
1067 char *opt = *opt_rest(); in opt_check_rest_arg() local
1069 if (opt == NULL || *opt == '\0') { in opt_check_rest_arg()
1076 opt = argv[opt_index + 1]; in opt_check_rest_arg()
1077 if (opt == NULL || *opt == '\0') in opt_check_rest_arg()
1079 opt_printf_stderr("%s: Extra argument after %s: \"%s\"\n", prog, expected, opt); in opt_check_rest_arg()
1083 opt_printf_stderr("%s: Extra option: \"%s\"\n", prog, opt); in opt_check_rest_arg()
[all …]
H A Dapp_provider.c68 int opt_provider(int opt) in opt_provider() argument
73 switch ((enum prov_range)opt) { in opt_provider()
H A Dapp_rand.c102 int opt_rand(int opt) in opt_rand() argument
104 switch ((enum r_range)opt) { in opt_rand()
H A Dapps.c696 while (*opt != ',' && !isspace(_UC(*opt)) && *opt != '\0') in next_item()
697 opt++; in next_item()
698 if (*opt != '\0') { in next_item()
700 *opt++ = '\0'; in next_item()
702 while (isspace(_UC(*opt))) in next_item()
703 opt++; in next_item()
705 return *opt == '\0' ? NULL : opt; /* NULL indicates end of input */ in next_item()
2251 if (pkey_ctrl_string(pkctx, opt) <= 0) { in do_pkey_ctx_init()
2271 if (x509_ctrl_string(x, opt) <= 0) { in do_x509_init()
3411 char *opt = "", *stmp, *vtmp = NULL; in app_params_new_from_opts() local
[all …]
H A Dbuild.info11 $LIBAPPSSRC=apps.c apps_ui.c log.c opt.c fmt.c s_cb.c s_socket.c app_rand.c \
/openssl/test/recipes/
H A D15-test_ecparam.t39 my $opt = shift; # Additional option
43 ok(run(app(['openssl', $app, '-noout', $opt, '-in', $_])));
45 ok(!run(app(['openssl', $app, '-noout', $opt, '-in', $_])));
/openssl/fuzz/
H A Dserver.c536 uint8_t opt; in FuzzerTestOneInput() local
623 opt = (uint8_t)buf[len-1]; in FuzzerTestOneInput()
628 if ((opt & 0x01) != 0) { in FuzzerTestOneInput()
/openssl/crypto/bio/
H A Dbio_sock.c335 int opt; in BIO_set_tcp_ndelay() local
338 opt = SOL_TCP; in BIO_set_tcp_ndelay()
341 opt = IPPROTO_TCP; in BIO_set_tcp_ndelay()
345 ret = setsockopt(s, opt, TCP_NODELAY, (char *)&on, sizeof(on)); in BIO_set_tcp_ndelay()
/openssl/demos/bio/
H A Ddescrip.mms16 IF "$(SHARED)" .EQS. "TRUE" THEN DEFINE OPT []shared.opt
17 IF "$(SHARED)" .NES. "TRUE" THEN DEFINE OPT []static.opt
/openssl/.github/workflows/
H A Drun-checker-ci.yml22 opt: [
51 run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }}
H A Drun-checker-merge.yml20 opt: [
51 run: CC=clang ./config --banner=Configured --strict-warnings ${{ matrix.opt }}
H A Dstatic-analysis-on-prem.yml24 run: echo ${{ secrets.COVERITY_LICENSE }} | base64 -d > /opt/coverity-analysis/bin/license.dat
/openssl/util/
H A Dfind-doc-nits1106 my $opt;
1108 $opt = $1;
1110 $opt = $1;
1114 $opt = $1 if $opt =~ /I<(.*)/;
/openssl/doc/man3/
H A DOSSL_PARAM_allocate_from_text.pod163 char *opt = "<unknown>";
169 opt = sk_OPENSSL_STRING_value(opts, (int)params_n);
170 if ((stmp = OPENSSL_strdup(opt)) == NULL
190 BIO_printf(bio_err, "MAC parameter error '%s'\n", opt);
H A DASN1_EXTERN_FUNCS.pod15 const ASN1_ITEM *it, int tag, int aclass, char opt,
18 const ASN1_ITEM *it, int tag, int aclass, char opt,
99 is considered optional in this context then I<opt> will be nonzero. Otherwise
/openssl/Configurations/platform/
H A DVMS.pm34 sub opt { return $_[0]->optname($_[1]) . $_[0]->optext() } subroutine
/openssl/crypto/cmp/
H A Dcmp_ctx.c873 int OSSL_CMP_CTX_set_option(OSSL_CMP_CTX *ctx, int opt, int val) in DEFINE_set1_ASN1_OCTET_STRING()
882 switch (opt) { in DEFINE_set1_ASN1_OCTET_STRING()
898 switch (opt) { in DEFINE_set1_ASN1_OCTET_STRING()
988 int OSSL_CMP_CTX_get_option(const OSSL_CMP_CTX *ctx, int opt) in OSSL_CMP_CTX_get_option() argument
995 switch (opt) { in OSSL_CMP_CTX_get_option()
/openssl/crypto/x509/
H A Dx_name.c29 int tag, int aclass, char opt, ASN1_TLC *ctx);
144 char opt, ASN1_TLC *ctx) in x509_name_ex_d2i() argument
170 tag, aclass, opt, ctx); in x509_name_ex_d2i()
/openssl/include/openssl/
H A Dbio.h.in89 # define BIO_CTRL_RESET 1/* opt - rewind/zero etc */
90 # define BIO_CTRL_EOF 2/* opt - are we at the eof */
91 # define BIO_CTRL_INFO 3/* opt - extra tit-bits */
94 # define BIO_CTRL_PUSH 6/* opt - internal, used to signify change */
95 # define BIO_CTRL_POP 7/* opt - internal, used to signify change */
98 # define BIO_CTRL_PENDING 10/* opt - is their more data buffered */
99 # define BIO_CTRL_FLUSH 11/* opt - 'flush' buffered output */
101 # define BIO_CTRL_WPENDING 13/* opt - number of bytes still to write */
102 # define BIO_CTRL_SET_CALLBACK 14/* opt - set callback function */
103 # define BIO_CTRL_GET_CALLBACK 15/* opt - set callback function */
/openssl/doc/man1/
H A Dopenssl-pkeyutl.pod.in37 [B<-pkeyopt> I<opt>:I<value>]
38 [B<-pkeyopt_passin> I<opt>[:I<passarg>]]
232 =item B<-pkeyopt> I<opt>:I<value>
234 Public key options specified as opt:value. See NOTES below for more details.
236 =item B<-pkeyopt_passin> I<opt>[:I<passarg>]
238 Allows reading a public key option I<opt> from stdin or a password source.
239 If only I<opt> is specified, the user will be prompted to enter a password on

Completed in 62 milliseconds

12