Home
last modified time | relevance | path

Searched refs:sa (Results 1 – 18 of 18) sorted by relevance

/openssl/crypto/
H A Dsparse_array.c112 if (sa != NULL) { in ossl_sa_free()
121 OPENSSL_free(sa); in ossl_sa_free_leaves()
139 if (sa != NULL) in ossl_sa_doall()
147 if (sa != NULL) in ossl_sa_doall_arg()
153 return sa == NULL ? 0 : sa->nelem; in ossl_sa_num()
161 if (sa == NULL || sa->nelem == 0) in ossl_sa_get()
185 if (sa == NULL) in ossl_sa_set()
192 for (;sa->levels < level; sa->levels++) { in ossl_sa_set()
202 p = sa->nodes; in ossl_sa_set()
211 sa->nelem--; in ossl_sa_set()
[all …]
/openssl/include/crypto/
H A Dsparse_array.h31 ossl_sa_##type##_free(SPARSE_ARRAY_OF(type) *sa) \
33 ossl_sa_free((OPENSSL_SA *)sa); \
38 ossl_sa_free_leaves((OPENSSL_SA *)sa); \
43 return ossl_sa_num((OPENSSL_SA *)sa); \
49 ossl_sa_doall((OPENSSL_SA *)sa, \
57 ossl_sa_doall_arg((OPENSSL_SA *)sa, \
66 ossl_sa_##type##_set(SPARSE_ARRAY_OF(type) *sa, \
80 void ossl_sa_free(OPENSSL_SA *sa);
81 void ossl_sa_free_leaves(OPENSSL_SA *sa);
82 size_t ossl_sa_num(const OPENSSL_SA *sa);
[all …]
/openssl/test/
H A Dsparse_array_test.c39 SPARSE_ARRAY_OF(char) *sa; in test_sparse_array()
43 if (!TEST_ptr(sa = ossl_sa_char_new()) in test_sparse_array()
63 ossl_sa_char_free(sa); in test_sparse_array()
79 SPARSE_ARRAY_OF(char) *sa = NULL; in test_sparse_array_num()
93 ossl_sa_char_free(sa); in test_sparse_array_num()
104 SPARSE_ARRAY_OF(char) *sa;
152 SPARSE_ARRAY_OF(char) *sa = NULL; in test_sparse_array_doall()
155 if (!TEST_ptr(sa = ossl_sa_char_new())) in test_sparse_array_doall()
160 doall_data.sa = NULL; in test_sparse_array_doall()
173 doall_data.sa = sa; in test_sparse_array_doall()
[all …]
H A Dbio_addr_test.c36 } sa; in make_dummy_addr() local
43 where = &(sa.sin.sin_addr); in make_dummy_addr()
44 wherelen = sizeof(sa.sin.sin_addr); in make_dummy_addr()
48 where = &(sa.sin6.sin6_addr); in make_dummy_addr()
49 wherelen = sizeof(sa.sin6.sin6_addr); in make_dummy_addr()
54 where = &(sa.sunaddr.sun_path); in make_dummy_addr()
56 wherelen = sizeof(sa.sunaddr.sun_path) - 1; in make_dummy_addr()
H A Dsanitytest.c29 enum smallchoices { sa, sb, sc }; in test_sanity_enum_size() enumerator
/openssl/doc/internal/man3/
H A DOPENSSL_SA.pod20 void ossl_sa_TYPE_free(const SPARSE_ARRAY_OF(TYPE) *sa);
21 void ossl_sa_TYPE_free_leaves(const SPARSE_ARRAY_OF(TYPE) *sa);
22 size_t ossl_sa_TYPE_num(const SPARSE_ARRAY_OF(TYPE) *sa);
23 void ossl_sa_TYPE_doall(const OPENSSL_SA *sa, void (*leaf)(ossl_uintmax_t,
25 void ossl_sa_TYPE_doall_arg(const OPENSSL_SA *sa,
29 int ossl_sa_TYPE_set(SPARSE_ARRAY_OF(TYPE) *sa, ossl_uintmax_t idx,
49 TYPE *ossl_sa_TYPE_get(SPARSE_ARRAY_OF(TYPE) *sa, ossl_uintmax_t idx);
51 B<ossl_sa_I<TYPE>_num>() returns the number of elements in I<sa> or 0 if I<sa>
64 elements of I<sa>. After this call I<sa> is no longer valid.
67 elements. After this call I<sa> is no longer valid.
[all …]
/openssl/crypto/bio/
H A Dbio_addr.c59 ret->sa.sa_family = AF_UNSPEC; in BIO_ADDR_new()
98 ap->sa.sa_family = AF_UNSPEC; in BIO_ADDR_clear()
107 if (sa->sa_family == AF_INET) { in BIO_ADDR_make()
112 if (sa->sa_family == AF_INET6) { in BIO_ADDR_make()
118 if (sa->sa_family == AF_UNIX) { in BIO_ADDR_make()
167 return ap->sa.sa_family; in BIO_ADDR_family()
206 if (ap->sa.sa_family == AF_INET) in BIO_ADDR_rawport()
209 if (ap->sa.sa_family == AF_INET6) in BIO_ADDR_rawport()
324 if (ap->sa.sa_family == AF_UNIX) in BIO_ADDR_path_string()
337 return &(ap->sa); in BIO_ADDR_sockaddr()
[all …]
H A Dbss_dgram.c367 if (getsockname(b->num, &data->local_addr.sa, &addr_len) < 0) in dgram_update_local_addr()
379 return data->local_addr.sa.sa_family; in dgram_get_sock_family()
624 if (getsockname(b->num, &addr.sa, &addr_len) < 0) { in dgram_ctrl()
628 switch (addr.sa.sa_family) { in dgram_ctrl()
657 if (getsockname(b->num, &addr.sa, &addr_len) < 0) { in dgram_ctrl()
662 switch (addr.sa.sa_family) { in dgram_ctrl()
756 socklen_t xaddr_len = sizeof(xaddr.sa); in dgram_ctrl()
907 switch (data->peer.sa.sa_family) { in dgram_ctrl()
1046 mh->name = msg->peer != NULL ? &msg->peer->sa : NULL; in translate_msg_win()
1084 mh->msg_name = msg->peer != NULL ? &msg->peer->sa : NULL; in translate_msg()
[all …]
H A Dbio_local.h128 int BIO_ADDR_make(BIO_ADDR *ap, const struct sockaddr *sa);
/openssl/demos/bio/
H A Dsaccept.c40 struct sigaction sa; in sigsetup()
45 sa.sa_flags = SA_RESETHAND; in sigsetup()
46 sa.sa_handler = interrupt; in sigsetup()
47 sigemptyset(&sa.sa_mask); in sigsetup()
48 sigaction(SIGINT, &sa, NULL); in sigsetup()
/openssl/engines/
H A De_afalg.c443 struct sockaddr_alg sa; in afalg_create_sk() local
448 memset(&sa, 0, sizeof(sa)); in afalg_create_sk()
449 sa.salg_family = AF_ALG; in afalg_create_sk()
450 OPENSSL_strlcpy((char *) sa.salg_type, ciphertype, sizeof(sa.salg_type)); in afalg_create_sk()
451 OPENSSL_strlcpy((char *) sa.salg_name, ciphername, sizeof(sa.salg_name)); in afalg_create_sk()
460 r = bind(actx->bfd, (struct sockaddr *)&sa, sizeof(sa)); in afalg_create_sk()
/openssl/crypto/ui/
H A Dui_openssl.c581 struct sigaction sa; in pushsig() local
583 memset(&sa, 0, sizeof(sa)); in pushsig()
584 sa.sa_handler = recsig; in pushsig()
609 sigaction(i, &sa, &savsig[i]); in pushsig()
/openssl/include/internal/
H A Dbio_addr.h19 struct sockaddr sa; member
/openssl/ssl/
H A Dtls_srp.c269 BIGNUM *sa, BIGNUM *v, char *info) in SSL_set_srp_server_param() argument
294 if (sa != NULL) { in SSL_set_srp_server_param()
296 if (!BN_copy(sc->srp_ctx.s, sa)) { in SSL_set_srp_server_param()
301 sc->srp_ctx.s = BN_dup(sa); in SSL_set_srp_server_param()
H A Dt1_lib.c1705 const char *sa = lu->name; in SSL_get1_builtin_sigalgs() local
1707 if (sa != NULL) { in SSL_get1_builtin_sigalgs()
1708 if (strlen(sa) + strlen(retval) + 1 >= maxretlen) { in SSL_get1_builtin_sigalgs()
1721 OPENSSL_strlcat(retval, sa, maxretlen); in SSL_get1_builtin_sigalgs()
/openssl/doc/designs/ddd/
H A Dddd-06-mem-uv.c132 struct sockaddr *sa, socklen_t sa_len, in new_conn() argument
158 rc = uv_udp_connect(&conn->udp, sa); in new_conn()
161 rc = uv_tcp_connect(&conn->tcp_connect, &conn->tcp, sa, tcp_connect_done); in new_conn()
/openssl/doc/man3/
H A DSSL_CTX_set_srp_password.pod40 BIGNUM *sa, BIGNUM *v, char *info);
116 the connection B<s>. B<N> and B<g> are the SRP group parameters, B<sa> is the
/openssl/include/openssl/
H A Dssl.h.in1876 BIGNUM *sa, BIGNUM *v, char *info);

Completed in 53 milliseconds