Home
last modified time | relevance | path

Searched refs:addr (Results 1 – 25 of 59) sorted by relevance

123

/openssl/include/openssl/
H A Dparams.h31 # define OSSL_PARAM_int(key, addr) \ argument
33 # define OSSL_PARAM_uint(key, addr) \ argument
36 # define OSSL_PARAM_long(key, addr) \ argument
38 # define OSSL_PARAM_ulong(key, addr) \ argument
41 # define OSSL_PARAM_int32(key, addr) \ argument
43 # define OSSL_PARAM_uint32(key, addr) \ argument
46 # define OSSL_PARAM_int64(key, addr) \ argument
48 # define OSSL_PARAM_uint64(key, addr) \ argument
51 # define OSSL_PARAM_size_t(key, addr) \ argument
53 # define OSSL_PARAM_time_t(key, addr) \ argument
[all …]
H A Dcrypto.h.in109 # define OPENSSL_realloc(addr, num) \ argument
110 CRYPTO_realloc(addr, num, OPENSSL_FILE, OPENSSL_LINE)
111 # define OPENSSL_clear_realloc(addr, old_num, num) \ argument
113 # define OPENSSL_clear_free(addr, num) \ argument
114 CRYPTO_clear_free(addr, num, OPENSSL_FILE, OPENSSL_LINE)
115 # define OPENSSL_free(addr) \ argument
116 CRYPTO_free(addr, OPENSSL_FILE, OPENSSL_LINE)
127 # define OPENSSL_secure_free(addr) \ argument
128 CRYPTO_secure_free(addr, OPENSSL_FILE, OPENSSL_LINE)
129 # define OPENSSL_secure_clear_free(addr, num) \ argument
[all …]
/openssl/test/
H A Dv3ext.c176 IPAddrBlocks *addr = NULL; in test_addr_ranges() local
183 if (!TEST_ptr(addr)) in test_addr_ranges()
215 addr = NULL; in test_addr_ranges()
232 IPAddrBlocks *addr = NULL; in test_addr_fam_len() local
241 if (!TEST_ptr(addr)) in test_addr_fam_len()
446 && TEST_true(X509v3_addr_subset(addr[0], addr[0])) in test_addr_subset()
447 && TEST_true(X509v3_addr_subset(addr[0], addr[1])) in test_addr_subset()
448 && TEST_true(X509v3_addr_subset(addr[0], addr[2])) in test_addr_subset()
449 && TEST_true(X509v3_addr_subset(addr[1], addr[2])) in test_addr_subset()
451 && TEST_false(X509v3_addr_subset(addr[1], addr[0])) in test_addr_subset()
[all …]
H A Dbio_addr_test.c27 BIO_ADDR *addr; in make_dummy_addr() local
69 addr = BIO_ADDR_new(); in make_dummy_addr()
70 if (!TEST_ptr(addr)) in make_dummy_addr()
73 if (!TEST_true(BIO_ADDR_rawmake(addr, family, where, wherelen, 1000))) { in make_dummy_addr()
74 BIO_ADDR_free(addr); in make_dummy_addr()
78 return addr; in make_dummy_addr()
H A Dbio_tfo_test.c217 void *addr; in test_fd_tfo() local
247 addr = &((struct sockaddr_in *)ai->ai_addr)->sin_addr; in test_fd_tfo()
253 addr = &((struct sockaddr_in6 *)ai->ai_addr)->sin6_addr; in test_fd_tfo()
263 || !TEST_true(BIO_ADDR_rawmake(baddr, ai->ai_family, addr, addrlen, port))) in test_fd_tfo()
280 addr = &((struct sockaddr_in *)&sstorage)->sin_addr; in test_fd_tfo()
285 addr = &((struct sockaddr_in6 *)&sstorage)->sin6_addr; in test_fd_tfo()
292 if(!TEST_true(BIO_ADDR_rawmake(baddr, sstorage.ss_family, addr, addrlen, port))) in test_fd_tfo()
/openssl/demos/sslecho/
H A Dmain.c40 struct sockaddr_in addr; in create_socket() local
49 addr.sin_family = AF_INET; in create_socket()
50 addr.sin_port = htons(server_port); in create_socket()
51 addr.sin_addr.s_addr = INADDR_ANY; in create_socket()
60 if (bind(s, (struct sockaddr*) &addr, sizeof(addr)) < 0) { in create_socket()
157 struct sockaddr_in addr; in main() local
159 int addr_len = sizeof(addr); in main()
161 unsigned int addr_len = sizeof(addr); in main()
282 addr.sin_family = AF_INET; in main()
284 addr.sin_port = htons(server_port); in main()
[all …]
/openssl/crypto/x509/
H A Dv3_addr.c136 unsigned char addr[ADDR_RAW_BUF_LEN]; in i2r_address() local
145 BIO_printf(out, "%d.%d.%d.%d", addr[0], addr[1], addr[2], addr[3]); in i2r_address()
150 for (n = 16; n > 1 && addr[n - 1] == 0x00 && addr[n - 2] == 0x00; in i2r_address()
153 BIO_printf(out, "%x%s", (addr[i] << 8) | addr[i + 1], in i2r_address()
208 const IPAddrBlocks *addr = ext; in i2r_IPAddrBlocks() local
726 if (addr == NULL) in X509v3_addr_is_canonical()
928 sk_IPAddressFamily_sort(addr); in X509v3_addr_canonize()
943 IPAddrBlocks *addr = NULL; in v2i_IPAddrBlocks() local
1094 if (!X509v3_addr_canonize(addr)) in v2i_IPAddrBlocks()
1096 return addr; in v2i_IPAddrBlocks()
[all …]
/openssl/crypto/perlasm/
H A Dx86masm.pl46 { my($size,$addr,$reg1,$reg2,$idx)=@_;
53 $addr =~ s/^\s+//;
55 $addr =~ s/^([^\+\-0-9][^\+\-]*)/&::islabel($1) or "$nmdecor$1"/ige;
57 $addr="($addr)" if ($addr =~ /^.+[\-\+].+$/);
59 if (($addr ne "") && ($addr ne 0))
60 { if ($addr !~ /^-/) { $ret .= "$addr"; }
61 else { $post=$addr; }
H A Dx86nasm.pl43 { my($size,$addr,$reg1,$reg2,$idx)=@_;
55 $addr =~ s/^\s+//;
57 $addr =~ s/^([^\+\-0-9][^\+\-]*)/::islabel($1) or "$nmdecor$1"/ige;
59 $addr="($addr)" if ($addr =~ /^.+[\-\+].+$/);
61 if (($addr ne "") && ($addr ne 0))
62 { if ($addr !~ /^-/) { $ret .= "$addr+"; }
63 else { $post=$addr; }
H A Dx86gas.pl77 { my($addr,$reg1,$reg2,$idx)=@_;
82 $addr =~ s/^\s+//;
84 $addr =~ s/^([^\+\-0-9][^\+\-]*)/&::islabel($1) or "$nmdecor$1"/ige;
89 $ret .= $addr if (($addr ne "") && ($addr ne 0));
H A Driscv.pm248 my $addr = shift;
260 sb $val, $off7($addr)
262 sb $tmp, $off6($addr)
264 sb $tmp, $off5($addr)
266 sb $tmp, $off4($addr)
268 sb $tmp, $off3($addr)
270 sb $tmp, $off2($addr)
272 sb $tmp, $off1($addr)
274 sb $tmp, $off0($addr)
/openssl/crypto/bio/
H A Dbio_sock2.c81 int BIO_connect(int sock, const BIO_ADDR *addr, int options) in BIO_connect() argument
148 sae.sae_dstaddr = BIO_ADDR_sockaddr(addr); in BIO_connect()
149 sae.sae_dstaddrlen = BIO_ADDR_sockaddr_size(addr); in BIO_connect()
175 if (connect(sock, BIO_ADDR_sockaddr(addr), in BIO_connect()
176 BIO_ADDR_sockaddr_size(addr)) == -1) { in BIO_connect()
212 int BIO_bind(int sock, const BIO_ADDR *addr, int options) in BIO_bind() argument
239 if (bind(sock, BIO_ADDR_sockaddr(addr), BIO_ADDR_sockaddr_size(addr)) != 0) { in BIO_bind()
332 if (BIO_ADDR_family(addr) == AF_INET6) { in BIO_listen()
348 if (!BIO_bind(sock, addr, options)) in BIO_listen()
421 BIO_ADDR *addr = addr_ == NULL ? &locaddr : addr_; in BIO_accept_ex() local
[all …]
/openssl/crypto/rand/
H A Drand_egd.c112 struct sockaddr_un addr; in RAND_query_egd_bytes() local
120 memset(&addr, 0, sizeof(addr)); in RAND_query_egd_bytes()
121 addr.sun_family = AF_UNIX; in RAND_query_egd_bytes()
122 if (strlen(path) >= sizeof(addr.sun_path)) in RAND_query_egd_bytes()
124 strcpy(addr.sun_path, path); in RAND_query_egd_bytes()
137 if (connect(fd, (struct sockaddr *)&addr, i) == 0) in RAND_query_egd_bytes()
/openssl/crypto/dso/
H A Ddso_dl.c25 static int dl_pathbyaddr(void *addr, char *path, int sz);
241 static int dl_pathbyaddr(void *addr, char *path, int sz) in dl_pathbyaddr() argument
246 if (addr == NULL) { in dl_pathbyaddr()
253 addr = t.p; in dl_pathbyaddr()
257 if (((size_t)addr >= inf.tstart && (size_t)addr < inf.tend) || in dl_pathbyaddr()
258 ((size_t)addr >= inf.dstart && (size_t)addr < inf.dend)) { in dl_pathbyaddr()
H A Ddso_dlfcn.c47 static int dlfcn_pathbyaddr(void *addr, char *path, int sz);
336 uintptr_t addr = (uintptr_t)ptr; in dladdr() local
361 if (((addr >= (uintptr_t)this_ldi->ldinfo_textorg) in dladdr()
362 && (addr < ((uintptr_t)this_ldi->ldinfo_textorg + in dladdr()
364 || ((addr >= (uintptr_t)this_ldi->ldinfo_dataorg) in dladdr()
365 && (addr < ((uintptr_t)this_ldi->ldinfo_dataorg + in dladdr()
401 static int dlfcn_pathbyaddr(void *addr, char *path, int sz) in dlfcn_pathbyaddr() argument
407 if (addr == NULL) { in dlfcn_pathbyaddr()
414 addr = t.p; in dlfcn_pathbyaddr()
417 if (dladdr(addr, &dli)) { in dlfcn_pathbyaddr()
H A Ddso_lib.c291 int DSO_pathbyaddr(void *addr, char *path, int sz) in DSO_pathbyaddr() argument
299 return (*meth->pathbyaddr) (addr, path, sz); in DSO_pathbyaddr()
302 DSO *DSO_dsobyaddr(void *addr, int flags) in DSO_dsobyaddr() argument
306 int len = DSO_pathbyaddr(addr, NULL, 0); in DSO_dsobyaddr()
313 && DSO_pathbyaddr(addr, filename, len) == len) in DSO_dsobyaddr()
H A Ddso_win32.c67 static int win32_pathbyaddr(void *addr, char *path, int sz);
489 static int win32_pathbyaddr(void *addr, char *path, int sz) in win32_pathbyaddr() argument
498 if (addr == NULL) { in win32_pathbyaddr()
505 addr = t.p; in win32_pathbyaddr()
553 if ((size_t) addr >= (size_t) me32.modBaseAddr && in win32_pathbyaddr()
554 (size_t) addr < (size_t) (me32.modBaseAddr + me32.modBaseSize)) { in win32_pathbyaddr()
/openssl/crypto/poly1305/asm/
H A Dpoly1305-x86.pl913 my $addr = shift;
915 &pmuludq ($D0,&$addr(8)); # h1*s4
917 &pmuludq ($D1,&$addr(1)); # h0*r1
920 &pmuludq ($T2,&$addr(2)); # h0*r2
923 &pmuludq ($T0,&$addr(3)); # h0*r3
926 &pmuludq ($T1,&$addr(4)); # h0*r4
930 &pmuludq ($T2,&$addr(1)); # h1*r1
933 &pmuludq ($T0,&$addr(2)); # h1*r2
936 &pmuludq ($T1,&$addr(3)); # h1*r3
939 &pmuludq ($T2,&$addr(7)); # h2*s3
[all …]
/openssl/demos/http3/
H A Dossl-nghttp3-demo.c87 const char *addr; in main() local
95 addr = argv[1]; in main()
113 if ((conn = OSSL_DEMO_H3_CONN_new_for_addr(ctx, addr, &callbacks, in main()
123 make_nv(&nva[num_nv++], ":authority", addr); in main()
/openssl/crypto/async/arch/
H A Dasync_posix.c25 static void async_stack_free(void *addr);
87 static void async_stack_free(void *addr) in async_stack_free() argument
89 OPENSSL_free(addr); in async_stack_free()
/openssl/doc/man3/
H A DBIO_connect.pod13 int BIO_bind(int sock, const BIO_ADDR *addr, int options);
14 int BIO_connect(int sock, const BIO_ADDR *addr, int options);
15 int BIO_listen(int sock, const BIO_ADDR *addr, int options);
30 B<addr>. Connection B<options> may be zero or any combination of
35 given by B<addr>. Connection B<options> may be zero or any
90 BIO_connect(sock, addr, BIO_SOCK_KEEPALIVE | BIO_SOCK_NONBLOCK);
H A DSSL_set1_initial_peer_addr.pod11 int SSL_set1_initial_peer_addr(SSL *s, const BIO_ADDR *addr);
18 connection attempt is first made. I<addr> must point to a B<BIO_ADDR>
37 structure pointed to by I<addr> may be freed by the caller after this function
/openssl/include/internal/
H A Ddso.h145 int DSO_pathbyaddr(void *addr, char *path, int sz);
151 DSO *DSO_dsobyaddr(void *addr, int flags);
/openssl/crypto/
H A Dmem.c382 void CRYPTO_mem_debug_malloc(void *addr, size_t num, int flag, in CRYPTO_mem_debug_malloc() argument
385 (void)addr; (void)num; (void)flag; (void)file; (void)line; in CRYPTO_mem_debug_malloc()
394 void CRYPTO_mem_debug_free(void *addr, int flag, in CRYPTO_mem_debug_free() argument
397 (void)addr; (void)flag; (void)file; (void)line; in CRYPTO_mem_debug_free()
/openssl/apps/lib/
H A Ds_socket.c227 if ((info.addr = BIO_ADDR_new()) != NULL in get_sock_info_address()
230 *hostname = BIO_ADDR_hostname_string(info.addr, 1); in get_sock_info_address()
232 *service = BIO_ADDR_service_string(info.addr, 1); in get_sock_info_address()
234 BIO_ADDR_free(info.addr); in get_sock_info_address()

Completed in 62 milliseconds

123