Home
last modified time | relevance | path

Searched refs:ip (Results 1 – 25 of 37) sorted by relevance

12

/openssl/crypto/
H A Dex_data.c34 EX_CALLBACKS *ip; in get_and_lock() local
58 return ip; in get_and_lock()
115 EX_CALLBACKS *ip; in ossl_crypto_free_ex_index_ex() local
124 if (ip == NULL) in ossl_crypto_free_ex_index_ex()
158 EX_CALLBACKS *ip; in ossl_crypto_get_ex_new_index_ex() local
165 if (ip == NULL) in ossl_crypto_get_ex_new_index_ex()
226 EX_CALLBACKS *ip; in ossl_crypto_new_ex_data_ex() local
233 if (ip == NULL) in ossl_crypto_new_ex_data_ex()
294 if (ip == NULL) in CRYPTO_dup_ex_data()
381 if (ip == NULL) in CRYPTO_free_ex_data()
[all …]
/openssl/test/
H A Dx509_internal_test.c154 ASN1_OCTET_STRING *ip; in test_a2i_ipaddress() local
157 ip = a2i_IPADDRESS(a2i_ipaddress_tests[idx].ipasc); in test_a2i_ipaddress()
159 if (!TEST_ptr_null(ip)) { in test_a2i_ipaddress()
164 if (!TEST_ptr(ip) in test_a2i_ipaddress()
165 || !TEST_int_eq(ASN1_STRING_length(ip), len) in test_a2i_ipaddress()
166 || !TEST_mem_eq(ASN1_STRING_get0_data(ip), len, in test_a2i_ipaddress()
171 ASN1_OCTET_STRING_free(ip); in test_a2i_ipaddress()
/openssl/crypto/x509/
H A Dx509_vpm.c104 OPENSSL_free(param->ip); in X509_VERIFY_PARAM_free()
211 if (test_x509_verify_param_copy(ip, NULL)) { in X509_VERIFY_PARAM_inherit()
212 if (!X509_VERIFY_PARAM_set1_ip(dest, src->ip, src->iplen)) in X509_VERIFY_PARAM_inherit()
445 if (param == NULL || param->ip == NULL) { in int_X509_VERIFY_PARAM_get0_ip()
451 return param->ip; in int_X509_VERIFY_PARAM_get0_ip()
457 unsigned char *ip = int_X509_VERIFY_PARAM_get0_ip(param, &iplen); in X509_VERIFY_PARAM_get1_ip_asc() local
459 return ip == NULL ? NULL : ossl_ipaddr_to_asc(ip, iplen); in X509_VERIFY_PARAM_get1_ip_asc()
463 const unsigned char *ip, size_t iplen) in X509_VERIFY_PARAM_set1_ip() argument
469 return int_x509_param_set1((char **)&param->ip, &param->iplen, in X509_VERIFY_PARAM_set1_ip()
470 (char *)ip, iplen); in X509_VERIFY_PARAM_set1_ip()
H A Dv3_ncons.c34 static int print_nc_ipadd(BIO *bp, ASN1_OCTET_STRING *ip);
44 static int nc_ip(ASN1_OCTET_STRING *ip, ASN1_OCTET_STRING *base);
229 print_nc_ipadd(bp, tree->base->d.ip); in do_i2r_name_constraints()
236 static int print_nc_ipadd(BIO *bp, ASN1_OCTET_STRING *ip) in print_nc_ipadd() argument
239 int len1 = ip->length >= 16 ? 16 : ip->length >= 4 ? 4 : ip->length; in print_nc_ipadd()
240 int len2 = ip->length - len1; in print_nc_ipadd()
241 char *ip1 = ossl_ipaddr_to_asc(ip->data, len1); in print_nc_ipadd()
242 char *ip2 = ossl_ipaddr_to_asc(ip->data + len1, len2); in print_nc_ipadd()
832 static int nc_ip(ASN1_OCTET_STRING *ip, ASN1_OCTET_STRING *base) in nc_ip() argument
836 hostptr = ip->data; in nc_ip()
[all …]
H A Dv3_genn.c152 result = ASN1_OCTET_STRING_cmp(a->d.ip, b->d.ip); in GENERAL_NAME_cmp()
203 a->d.ip = value; in GENERAL_NAME_set0_value()
236 return a->d.ip; in GENERAL_NAME_get0_value()
H A Dv3_san.c192 tmp = ossl_ipaddr_to_asc(gen->d.ip->data, gen->d.ip->length); in STACK_OF()
286 tmp = ossl_ipaddr_to_asc(gen->d.ip->data, gen->d.ip->length); in GENERAL_NAME_print()
550 gen->d.ip = a2i_IPADDRESS_NC(value); in a2i_GENERAL_NAME()
552 gen->d.ip = a2i_IPADDRESS(value); in a2i_GENERAL_NAME()
553 if (gen->d.ip == NULL) { in a2i_GENERAL_NAME()
H A Dx509_local.h37 unsigned char *ip; /* If not NULL IP address to match */ member
/openssl/crypto/bio/
H A Dbss_fd.c147 int *ip; in fd_ctrl() local
168 ip = (int *)ptr; in fd_ctrl()
169 if (ip != NULL) in fd_ctrl()
170 *ip = b->num; in fd_ctrl()
H A Dbss_sock.c179 int *ip; in sock_ctrl() local
201 ip = (int *)ptr; in sock_ctrl()
202 if (ip != NULL) in sock_ctrl()
203 *ip = b->num; in sock_ctrl()
H A Dbss_acpt.c403 int *ip; in acpt_ctrl() local
479 ip = (int *)ptr; in acpt_ctrl()
480 if (ip != NULL) in acpt_ctrl()
481 *ip = data->accept_sock; in acpt_ctrl()
H A Dbf_buff.c241 int r, i, *ip; in buffer_ctrl() local
305 ip = (int *)ptr; in buffer_ctrl()
306 if (*ip == 0) { in buffer_ctrl()
H A Dbio_sock.c45 int BIO_get_host_ip(const char *str, unsigned char *ip) in BIO_get_host_ip() argument
64 ret = BIO_ADDR_rawaddress(BIO_ADDRINFO_address(res), ip, &l); in BIO_get_host_ip()
H A Dbss_conn.c454 int *ip; in conn_ctrl() local
650 ip = (int *)ptr; in conn_ctrl()
651 if (ip != NULL) in conn_ctrl()
652 *ip = b->num; in conn_ctrl()
H A Dbss_dgram.c550 int *ip; in dgram_ctrl() local
595 ip = (int *)ptr; in dgram_ctrl()
596 if (ip != NULL) in dgram_ctrl()
597 *ip = b->num; in dgram_ctrl()
/openssl/doc/internal/man3/
H A Dossl_cmp_mock_srv_new.pod54 to be returned in cp/ip/kup messages.
59 to be added to the extraCerts in a cp/ip/kup message.
64 returned in the caPubs field an ip message and in a genp of infoType caCerts.
/openssl/test/recipes/80-test_cmp_http_data/
H A Dtest_commands.csv127 …out ir+certConf rspout ip+pkiConf, -section,, -cmd,ir,,-reqout,_RESULT_DIR/ir.der _RESULT_DIR/cert…
132 1,rspin, -section,, -cmd,ir,,BLANK,,,-rspin,_RESULT_DIR/ip.der _RESULT_DIR/pkiConf.der,,BLANK,,BLANK
133 0,rspin too few files - server must reject, -section,, -cmd,ir,,BLANK,,,-rspin,_RESULT_DIR/ip.der,,…
134 0,rspin too few files - no server, -section,, -cmd,ir,,BLANK,,,-rspin,_RESULT_DIR/ip.der,,BLANK,,BL…
139 1,reqin ip and rspin - no newkey but -popo -1, -section,, -cmd,ir,,-reqin,_RESULT_DIR/ir2.der,,-rs…
/openssl/crypto/comp/
H A Dc_zlib.c626 int ret, *ip; in bio_zlib_ctrl() local
653 ip = ptr; in bio_zlib_ctrl()
654 if (*ip == 0) in bio_zlib_ctrl()
H A Dc_brotli.c702 int ret = 0, *ip; in bio_brotli_ctrl() local
729 ip = ptr; in bio_brotli_ctrl()
730 if (*ip == 0) in bio_brotli_ctrl()
H A Dc_zstd.c747 int ret = 0, *ip; in bio_zstd_ctrl() local
775 ip = ptr; in bio_zstd_ctrl()
776 if (*ip == 0) in bio_zstd_ctrl()
/openssl/crypto/cmp/
H A Dcmp_vfy.c351 ossl_cmp_certrepmessage_get0_certresponse(msg->body->value.ip, in check_cert_path_3gpp()
603 STACK_OF(X509) *certs = msg->body->value.ip->caPubs; in OSSL_CMP_validate_msg()
861 STACK_OF(X509) *certs = msg->body->value.ip->caPubs; in ossl_cmp_msg_check_update()
H A Dcmp_client.c67 OSSL_CMP_CERTREPMESSAGE *crepmsg = rep->body->value.ip; in unprotected_exception()
128 crepmsg = resp->body->value.ip; /* same for cp and kup */ in is_crep_with_waiting()
677 crepmsg = (*resp)->body->value.ip; /* same for cp and kup */ in cert_response()
H A Dcmp_msg.c197 if ((msg->body->value.ip = OSSL_CMP_CERTREPMESSAGE_new()) == NULL) in ossl_cmp_msg_create()
460 repMsg = msg->body->value.ip; /* value.ip is same for cp and kup */ in ossl_cmp_certrep_new()
/openssl/test/recipes/04-test_pem_reading_data/
H A Ddsa-threecolumn.pem158 9ip
/openssl/doc/man3/
H A DX509_VERIFY_PARAM_set_flags.pod69 const unsigned char *ip, size_t iplen);
203 X509_VERIFY_PARAM_set1_ip() sets the expected IP address to B<ip>.
204 The B<ip> argument is in binary format, in network byte-order and
/openssl/crypto/des/asm/
H A Ddes_enc.m4616 ! parameter 3 left ip
617 ! parameter 4 right ip
1438 ! parameter 3 left ip
1439 ! parameter 4 right ip
1640 ! parameter 3 left ip
1641 ! parameter 4 right ip

Completed in 94 milliseconds

12