Searched refs:iplen (Results 1 – 6 of 6) sorted by relevance
/openssl/crypto/x509/ |
H A D | x509_vpm.c | 212 if (!X509_VERIFY_PARAM_set1_ip(dest, src->ip, src->iplen)) in X509_VERIFY_PARAM_inherit() 450 *plen = param->iplen; in int_X509_VERIFY_PARAM_get0_ip() 456 size_t 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 465 if (iplen != 0 && iplen != 4 && iplen != 16) { in X509_VERIFY_PARAM_set1_ip() 469 return int_x509_param_set1((char **)¶m->ip, ¶m->iplen, in X509_VERIFY_PARAM_set1_ip() 470 (char *)ip, iplen); in X509_VERIFY_PARAM_set1_ip() 476 size_t iplen = (size_t)ossl_a2i_ipadd(ipout, ipasc); in X509_VERIFY_PARAM_set1_ip_asc() local 478 if (iplen == 0) in X509_VERIFY_PARAM_set1_ip_asc() [all …]
|
H A D | v3_utl.c | 1056 size_t iplen; in X509_check_ip_asc() local 1060 iplen = (size_t)ossl_a2i_ipadd(ipout, ipasc); in X509_check_ip_asc() 1061 if (iplen == 0) in X509_check_ip_asc() 1063 return do_x509_check(x, (char *)ipout, iplen, flags, GEN_IPADD, NULL); in X509_check_ip_asc() 1105 int iplen; in a2i_IPADDRESS() local 1109 iplen = ossl_a2i_ipadd(ipout, ipasc); in a2i_IPADDRESS() 1111 if (!iplen) in a2i_IPADDRESS() 1117 if (!ASN1_OCTET_STRING_set(ret, ipout, iplen)) { in a2i_IPADDRESS()
|
H A D | x509_local.h | 38 size_t iplen; /* Length of IP address */ member
|
H A D | x509_vfy.c | 900 if (vpm->ip != NULL && X509_check_ip(x, vpm->ip, vpm->iplen, 0) <= 0) { in check_id()
|
/openssl/doc/man3/ |
H A D | X509_VERIFY_PARAM_set_flags.pod | 69 const unsigned char *ip, size_t iplen); 205 B<iplen> must be set to 4 for IPv4 and 16 for IPv6. When an IP
|
/openssl/include/openssl/ |
H A D | x509_vfy.h.in | 747 const unsigned char *ip, size_t iplen);
|
Completed in 25 milliseconds