Home
last modified time | relevance | path

Searched refs:chklen (Results 1 – 4 of 4) sorted by relevance

/third_party/openssl/crypto/x509v3/
Dv3_utl.c863 static int do_x509_check(X509 *x, const char *chk, size_t chklen, in do_x509_check() argument
884 if (chklen > 1 && chk[0] == '.') in do_x509_check()
896 if (chklen == 0) in do_x509_check()
897 chklen = strlen(chk); in do_x509_check()
916 chk, chklen, peername)) != 0) in do_x509_check()
938 chk, chklen, peername)) != 0) in do_x509_check()
944 int X509_check_host(X509 *x, const char *chk, size_t chklen, in X509_check_host() argument
954 if (chklen == 0) in X509_check_host()
955 chklen = strlen(chk); in X509_check_host()
956 else if (memchr(chk, '\0', chklen > 1 ? chklen - 1 : chklen)) in X509_check_host()
[all …]
/third_party/lwip/src/core/
Dudp.c336 u16_t chklen = lwip_ntohs(udphdr->len); in udp_input() local
337 if (chklen < sizeof(struct udp_hdr)) { in udp_input()
338 if (chklen == 0) { in udp_input()
341 chklen = p->tot_len; in udp_input()
349 p->tot_len, chklen, in udp_input()
806 u16_t chklen, chklen_hdr; in udp_sendto_if_src_chksum() local
809 chklen_hdr = chklen = pcb->chksum_len_tx; in udp_sendto_if_src_chksum()
810 if ((chklen < sizeof(struct udp_hdr)) || (chklen > q->tot_len)) { in udp_sendto_if_src_chksum()
811 if (chklen != 0) { in udp_sendto_if_src_chksum()
812 … LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP LITE pcb->chksum_len is illegal: %"U16_F"\n", chklen)); in udp_sendto_if_src_chksum()
[all …]
Dinet_chksum.c404 u16_t chklen; in inet_cksum_pseudo_partial_base() local
410 chklen = q->len; in inet_cksum_pseudo_partial_base()
411 if (chklen > chksum_len) { in inet_cksum_pseudo_partial_base()
412 chklen = chksum_len; in inet_cksum_pseudo_partial_base()
414 acc += LWIP_CHKSUM(q->payload, chklen); in inet_cksum_pseudo_partial_base()
415 chksum_len = (u16_t)(chksum_len - chklen); in inet_cksum_pseudo_partial_base()
/third_party/openssl/include/openssl/
Dx509v3.h708 int X509_check_host(X509 *x, const char *chk, size_t chklen,
710 int X509_check_email(X509 *x, const char *chk, size_t chklen,
712 int X509_check_ip(X509 *x, const unsigned char *chk, size_t chklen,