Home
last modified time | relevance | path

Searched refs:iplen (Results 1 – 8 of 8) sorted by relevance

/third_party/openssl/crypto/x509/
Dx509_vpm.c214 if (!X509_VERIFY_PARAM_set1_ip(dest, src->ip, src->iplen)) in X509_VERIFY_PARAM_inherit()
449 *plen = param->iplen; in int_X509_VERIFY_PARAM_get0_ip()
455 size_t iplen; in X509_VERIFY_PARAM_get1_ip_asc() local
456 unsigned char *ip = int_X509_VERIFY_PARAM_get0_ip(param, &iplen); in X509_VERIFY_PARAM_get1_ip_asc()
458 return ip == NULL ? NULL : ossl_ipaddr_to_asc(ip, iplen); in X509_VERIFY_PARAM_get1_ip_asc()
462 const unsigned char *ip, size_t iplen) in X509_VERIFY_PARAM_set1_ip() argument
464 if (iplen != 0 && iplen != 4 && iplen != 16) { in X509_VERIFY_PARAM_set1_ip()
468 return int_x509_param_set1((char **)&param->ip, &param->iplen, in X509_VERIFY_PARAM_set1_ip()
469 (char *)ip, iplen); in X509_VERIFY_PARAM_set1_ip()
475 size_t iplen = (size_t)ossl_a2i_ipadd(ipout, ipasc); in X509_VERIFY_PARAM_set1_ip_asc() local
[all …]
Dv3_utl.c1028 size_t iplen; in X509_check_ip_asc() local
1032 iplen = (size_t)ossl_a2i_ipadd(ipout, ipasc); in X509_check_ip_asc()
1033 if (iplen == 0) in X509_check_ip_asc()
1035 return do_x509_check(x, (char *)ipout, iplen, flags, GEN_IPADD, NULL); in X509_check_ip_asc()
1077 int iplen; in a2i_IPADDRESS() local
1081 iplen = ossl_a2i_ipadd(ipout, ipasc); in a2i_IPADDRESS()
1083 if (!iplen) in a2i_IPADDRESS()
1089 if (!ASN1_OCTET_STRING_set(ret, ipout, iplen)) { in a2i_IPADDRESS()
Dx509_local.h38 size_t iplen; /* Length of IP address */ member
Dx509_vfy.c802 if (vpm->ip != NULL && X509_check_ip(x, vpm->ip, vpm->iplen, 0) <= 0) { in check_id()
/third_party/rust/crates/rust-openssl/openssl-sys/src/handwritten/
Dx509_vfy.rs124 iplen: size_t, in X509_VERIFY_PARAM_set1_ip()
/third_party/openssl/doc/man3/
DX509_VERIFY_PARAM_set_flags.pod69 const unsigned char *ip, size_t iplen);
204 B<iplen> must be set to 4 for IPv4 and 16 for IPv6. When an IP
/third_party/openssl/ohos_lite/include/openssl/
Dx509_vfy.h571 const unsigned char *ip, size_t iplen);
/third_party/openssl/include/openssl/
Dx509_vfy.h.in739 const unsigned char *ip, size_t iplen);