Home
last modified time | relevance | path

Searched refs:arg (Results 1 – 25 of 361) sorted by relevance

12345678910>>...15

/openssl/crypto/asn1/
H A Da_strex.c41 if (!arg) in send_bio_chars()
51 if (!arg) in send_fp_chars()
84 if (!io_ch(arg, tmphex, 6)) in do_esc_char()
102 if (!io_ch(arg, "\\", 1)) in do_esc_char()
125 if (!io_ch(arg, &chtmp, 1)) in do_esc_char()
141 void *arg) in do_buf() argument
241 if (arg) { in do_hex_dump()
271 if (!io_ch(arg, "#", 1)) in do_dump()
350 if (!io_ch(arg, tagname, outlen) || !io_ch(arg, ":", 1)) in do_print_ex()
399 if (!arg) in do_print_ex()
[all …]
H A Da_mbstr.c18 void *arg);
19 static int in_utf8(unsigned long value, void *arg);
210 void *arg) in traverse_string() argument
236 ret = rfunc(value, arg); in traverse_string()
254 nchar = arg; in in_utf8()
268 outlen = arg; in out_utf8()
298 *((unsigned long *)arg) = types; in type_str()
307 p = arg; in cpy_asc()
319 p = arg; in cpy_bmp()
332 p = arg; in cpy_univ()
[all …]
H A Dasn1_gen.c243 tag_exp_arg *arg = bitstr; in asn1_cb() local
273 arg->utype = utype; in asn1_cb()
274 arg->str = vstart; in asn1_cb()
287 if (arg->imp_tag != -1) { in asn1_cb()
291 if (!parse_tagging(vstart, vlen, &arg->imp_tag, &arg->imp_class)) in asn1_cb()
478 exp_tmp = &arg->exp_list[arg->exp_count++]; in append_exp()
484 if (arg->imp_tag != -1) { in append_exp()
485 exp_tmp->exp_tag = arg->imp_tag; in append_exp()
487 arg->imp_tag = -1; in append_exp()
488 arg->imp_class = -1; in append_exp()
[all …]
/openssl/crypto/evp/
H A Dnames.c198 void *arg; member
205 struct doall_cipher *dc = arg; in do_all_cipher_fn()
207 dc->fn(NULL, nm->name, nm->data, dc->arg); in do_all_cipher_fn()
214 void *arg) in EVP_CIPHER_do_all() argument
222 dc.arg = arg; in EVP_CIPHER_do_all()
236 dc.arg = arg; in EVP_CIPHER_do_all_sorted()
241 void *arg; member
248 struct doall_md *dc = arg; in do_all_md_fn()
257 void *arg) in EVP_MD_do_all() argument
265 dc.arg = arg; in EVP_MD_do_all()
[all …]
H A De_aria.c279 if ((arg > EVP_MAX_IV_LENGTH) && (arg > gctx->ivlen)) { in aria_gcm_ctrl()
289 if (arg <= 0 || arg > 16 || EVP_CIPHER_CTX_is_encrypting(c)) in aria_gcm_ctrl()
313 if ((arg < 4) || (gctx->ivlen - arg) < 8) in aria_gcm_ctrl()
315 if (arg) in aria_gcm_ctrl()
318 && RAND_bytes(gctx->iv + arg, gctx->ivlen - arg) <= 0) in aria_gcm_ctrl()
327 if (arg <= 0 || arg > gctx->ivlen) in aria_gcm_ctrl()
329 memcpy(ptr, gctx->iv + gctx->ivlen - arg, arg); in aria_gcm_ctrl()
342 memcpy(gctx->iv + gctx->ivlen - arg, ptr, arg); in aria_gcm_ctrl()
591 arg = 15 - arg; in aria_ccm_ctrl()
594 if (arg < 2 || arg > 8) in aria_ccm_ctrl()
[all …]
H A De_aes.c1485 if (arg <= 0 || arg > 16 || enc) in s390x_aes_gcm_ctrl()
1530 if (arg <= 0 || arg > gctx->ivlen) in s390x_aes_gcm_ctrl()
2210 arg = 15 - arg; in s390x_aes_ccm_ctrl()
2214 if (arg < 2 || arg > 8) in s390x_aes_ccm_ctrl()
2221 if ((arg & 1) || arg < 4 || arg > 16) in s390x_aes_ccm_ctrl()
2719 if (arg <= 0 || arg > gctx->ivlen) in aes_gcm_ctrl()
3430 arg = 15 - arg; in aes_ccm_ctrl()
3433 if (arg < 2 || arg > 8) in aes_ccm_ctrl()
3439 if ((arg & 1) || arg < 4 || arg > 16) in aes_ccm_ctrl()
3870 if (arg <= 0 || arg > 15) in aes_ocb_ctrl()
[all …]
/openssl/include/internal/
H A Dquic_fifd.h34 void *arg);
39 void *arg);
44 void *arg);
47 void *arg);
49 QLOG *(*get_qlog_cb)(void *arg);
60 void *arg),
66 void *arg),
71 void *arg),
74 void *arg),
76 QLOG *(*get_qlog_cb)(void *arg),
[all …]
H A Dquic_tls.h33 size_t *consumed, void *arg);
42 void *arg);
44 int (*crypto_release_rcd_cb)(size_t bytes_read, void *arg);
52 void *arg);
63 void *arg);
71 int (*handshake_complete_cb)(void *arg);
80 int (*alert_cb)(void *arg, unsigned char alert_code);
H A Dquic_ackm.h22 OSSL_ACKM *ossl_ackm_new(OSSL_TIME (*now)(void *arg),
31 void *arg),
32 void *arg);
37 void *arg),
38 void *arg);
108 void (*on_lost)(void *arg);
110 void (*on_acked)(void *arg);
115 void (*on_discarded)(void *arg);
/openssl/util/
H A Dck_errf.pl49 my $arg = $ARGV[0];
50 last unless $arg =~ /-.*/;
51 $arg = $1 if $arg =~ /-(-.*)/;
52 if ( $arg eq "-conf" ) {
55 } elsif ( $arg eq "-debug" ) {
57 } elsif ( $arg eq "-internal" ) {
59 } elsif ( $arg eq "-strict" ) {
61 } elsif ( $arg =~ /-*h(elp)?/ ) {
64 } elsif ( $arg =~ /-.*/ ) {
65 die "Unknown option $arg; use -h for help.\n";
H A Dcopy.pl20 my $arg;
23 foreach $arg (@ARGV) {
24 if ($arg eq "-stripcr")
29 if ($arg =~ /^-exclude_re=(.*)$/)
34 $arg =~ s|\\|/|g; # compensate for bug/feature in cygwin glob...
35 $arg = qq("$arg") if ($arg =~ /\s/); # compensate for bug in 5.10...
36 foreach my $f (glob $arg)
H A Dmkerr.pl81 my $arg = $ARGV[0];
82 last unless $arg =~ /-.*/;
83 $arg = $1 if $arg =~ /-(-.*)/;
84 if ( $arg eq "-conf" ) {
87 } elsif ( $arg eq "-debug" ) {
92 } elsif ( $arg eq "-nowrite" ) {
94 } elsif ( $arg eq "-rebuild" ) {
98 } elsif ( $arg eq "-static" ) {
100 } elsif ( $arg eq "-unref" ) {
103 } elsif ( $arg eq "-module" ) {
[all …]
H A Dmkdir-p.pl12 my $arg;
14 foreach $arg (@ARGV) {
15 $arg =~ tr|\\|/|;
16 &do_mkdir_p($arg);
/openssl/test/
H A Dbio_prefix_text.c141 char *arg; in setup() local
163 arg = opt_arg(); in setup()
168 progname, arg); in setup()
187 arg = opt_arg(); in setup()
188 colon = strchr(arg, ':'); in setup()
200 colon = arg; in setup()
206 progname, arg); in setup()
216 progname, arg); in setup()
225 arg = opt_arg(); in setup()
226 colon = strchr(arg, ':'); in setup()
[all …]
/openssl/demos/bio/
H A Dbuild.info1 PROGRAMS{noinst}=client-arg sconnect server-cmod client-conf saccept server-arg server-conf
3 INCLUDE[client-arg]=../../include
4 SOURCE[client-arg]=client-arg.c
5 DEPEND[client-arg]=../../libcrypto ../../libssl
23 INCLUDE[server-arg]=../../include
24 SOURCE[server-arg]=server-arg.c
25 DEPEND[server-arg]=../../libcrypto ../../libssl
H A Ddescrip.mms29 all : client-arg.exe client-conf.exe saccept.exe sconnect.exe -
30 server-arg.exe server-cmod.exe server-conf.exe
32 client-arg.exe : client-arg.obj
36 server-arg.exe : server-arg.obj
41 client-arg.obj : client-arg.c
45 server-arg.obj : server-arg.c
H A DMakefile7 TESTS = client-arg \
11 server-arg \
21 client-arg: client-arg.o
25 server-arg: server-arg.o
/openssl/crypto/perlasm/
H A Dx86gas.pl35 { my($opcode,@arg)=@_;
38 @arg=reverse(@arg);
40 for (@arg)
47 $dst = $arg[$#arg] if ($#arg>=0);
48 $src = $arg[$#arg-1] if ($#arg>=1);
56 { &::emit($opcode,@arg); }
57 else { &::emit($opcode.$suffix,@arg);}
H A Dx86masm.pl21 { my ($opcode,@arg)=@_;
24 for (@arg) { s/(?<![\w\$\.])0x([0-9a-f]+)/0$1h/oi; }
26 if ($opcode =~ /lea/ && @arg[1] =~ s/.*PTR\s+(\(.*\))$/OFFSET $1/) # no []
30 $arg[0] =~ s/\b[A-Z]+WORD\s+PTR/XMMWORD PTR/i if ($arg[-1]=~/\bxmm[0-7]\b/i);
31 $arg[-1] =~ s/\b[A-Z]+WORD\s+PTR/XMMWORD PTR/i if ($arg[0]=~/\bxmm[0-7]\b/i);
34 &::emit($opcode,@arg);
/openssl/apps/lib/
H A Dwin32_init.c101 char *arg; in process_glob() local
122 arg = malloc(udlen + uflen); in process_glob()
123 if (arg == NULL) in process_glob()
128 arg, udlen, NULL, NULL); in process_glob()
131 arg + udlen, uflen, NULL, NULL); in process_glob()
133 newargv[newargc++] = arg; in process_glob()
146 char *arg; in win32_utf8argv() local
267 arg = malloc(ulen + 1); in win32_utf8argv()
268 if (arg == NULL) { in win32_utf8argv()
276 arg[ulen] = '\0'; in win32_utf8argv()
[all …]
/openssl/doc/man1/
H A Dopenssl-storeutl.pod.in18 [B<-passin> I<arg>]
19 [B<-text> I<arg>]
24 [B<-subject> I<arg>]
25 [B<-issuer> I<arg>]
26 [B<-serial> I<arg>]
27 [B<-alias> I<arg>]
28 [B<-fingerprint> I<arg>]
58 =item B<-passin> I<arg>
104 =item B<-issuer> I<arg>
106 =item B<-serial> I<arg>
[all …]
/openssl/crypto/
H A Dinitthread.c40 void *arg; member
89 static int init_thread_deregister(void *arg, int all);
91 static void init_thread_stop(void *arg, THREAD_EVENT_HANDLER **hands);
252 static void ossl_arg_thread_stop(void *arg);
304 static void ossl_arg_thread_stop(void *arg) in ossl_arg_thread_stop() argument
306 ossl_ctx_thread_stop((OSSL_LIB_CTX *)arg); in ossl_arg_thread_stop()
346 if (arg != NULL && curr->arg != arg) { in init_thread_stop()
351 curr->handfn(curr->arg); in init_thread_stop()
367 int ossl_init_thread_start(const void *index, void *arg, in ossl_init_thread_start() argument
373 OSSL_LIB_CTX *ctx = arg; in ossl_init_thread_start()
[all …]
H A Dcore_namemap.c384 void *arg) in get_legacy_evp_names() argument
395 num = ossl_namemap_add_name(arg, num, OBJ_nid2sn(nid)); in get_legacy_evp_names()
396 num = ossl_namemap_add_name(arg, num, OBJ_nid2ln(nid)); in get_legacy_evp_names()
401 num = ossl_namemap_add_name(arg, num, txtoid); in get_legacy_evp_names()
405 num = ossl_namemap_add_name(arg, num, pem_name); in get_legacy_evp_names()
416 static void get_legacy_md_names(const OBJ_NAME *on, void *arg) in get_legacy_md_names() argument
421 get_legacy_evp_names(0, EVP_MD_get_type(md), NULL, arg); in get_legacy_md_names()
425 void *arg) in get_legacy_pkey_meth_names() argument
436 get_legacy_evp_names(0, nid, "DHX", arg); in get_legacy_pkey_meth_names()
439 get_legacy_evp_names(0, nid, pem_name, arg); in get_legacy_pkey_meth_names()
[all …]
/openssl/ssl/quic/
H A Dquic_fifd.c23 void *arg), in ossl_quic_fifd_init() argument
29 void *arg), in ossl_quic_fifd_init()
34 void *arg), in ossl_quic_fifd_init()
37 void *arg), in ossl_quic_fifd_init()
39 QLOG *(*get_qlog_cb)(void *arg), in ossl_quic_fifd_init() argument
67 static void on_acked(void *arg) in on_acked() argument
69 QUIC_TXPIM_PKT *pkt = arg; in on_acked()
123 static void on_lost(void *arg) in on_lost() argument
125 QUIC_TXPIM_PKT *pkt = arg; in on_lost()
232 static void on_discarded(void *arg) in on_discarded() argument
[all …]
/openssl/include/openssl/
H A Dtls1.h301 # define SSL_set_tlsext_debug_arg(ssl, arg) \ argument
302 SSL_ctrl(ssl,SSL_CTRL_SET_TLSEXT_DEBUG_ARG,0,arg)
310 # define SSL_get_tlsext_status_exts(ssl, arg) \ argument
313 # define SSL_set_tlsext_status_exts(ssl, arg) \ argument
316 # define SSL_get_tlsext_status_ids(ssl, arg) \ argument
319 # define SSL_set_tlsext_status_ids(ssl, arg) \ argument
322 # define SSL_get_tlsext_status_ocsp_resp(ssl, arg) \ argument
325 # define SSL_set_tlsext_status_ocsp_resp(ssl, arg, arglen) \ argument
337 # define SSL_CTX_set_tlsext_servername_arg(ctx, arg) \ argument
351 # define SSL_CTX_get_tlsext_status_arg(ssl, arg) \ argument
[all …]

Completed in 57 milliseconds

12345678910>>...15