Searched refs:rawlen (Results 1 – 3 of 3) sorted by relevance
955 u_int rawlen; in clnt_vc_soupcall() local1077 rawlen = m_length(ct->ct_raw, NULL); in clnt_vc_soupcall()1086 if (rawlen < sizeof(uint32_t)) in clnt_vc_soupcall()1094 rawlen -= sizeof(uint32_t); in clnt_vc_soupcall()1100 if (rawlen == 0) in clnt_vc_soupcall()1102 if (rawlen <= ct->ct_record_resid) { in clnt_vc_soupcall()1109 ct->ct_record_resid -= rawlen; in clnt_vc_soupcall()1110 rawlen = 0; in clnt_vc_soupcall()1121 rawlen -= ct->ct_record_resid; in clnt_vc_soupcall()
173 assert(#t == 10 and rawlen(t) == 3)174 assert(rawlen"abc" == 3)175 assert(rawlen(string.rep('a', 1000)) == 1000)
704 size_t rawlen, hmaclen, hrrlen, ciphlen; in tls_parse_ctos_cookie() local719 rawlen = PACKET_remaining(&raw); in tls_parse_ctos_cookie()720 if (rawlen < SHA256_DIGEST_LENGTH in tls_parse_ctos_cookie()721 || !PACKET_forward(&raw, rawlen - SHA256_DIGEST_LENGTH)) { in tls_parse_ctos_cookie()744 rawlen - SHA256_DIGEST_LENGTH) <= 0 in tls_parse_ctos_cookie()871 || !WPACKET_sub_memcpy_u16(&hrrpkt, data, rawlen) in tls_parse_ctos_cookie()