Lines Matching refs:iplen
214 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 **)¶m->ip, ¶m->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
477 if (iplen == 0) in X509_VERIFY_PARAM_set1_ip_asc()
479 return X509_VERIFY_PARAM_set1_ip(param, ipout, iplen); in X509_VERIFY_PARAM_set1_ip_asc()