Searched refs:rawlen (Results 1 – 3 of 3) sorted by relevance
955 u_int rawlen; in clnt_vc_soupcall() local1080 rawlen = m_length(ct->ct_raw, NULL); in clnt_vc_soupcall()1089 if (rawlen < sizeof(uint32_t)) in clnt_vc_soupcall()1097 rawlen -= sizeof(uint32_t); in clnt_vc_soupcall()1103 if (rawlen == 0) in clnt_vc_soupcall()1105 if (rawlen <= ct->ct_record_resid) { in clnt_vc_soupcall()1112 ct->ct_record_resid -= rawlen; in clnt_vc_soupcall()1113 rawlen = 0; in clnt_vc_soupcall()1124 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)
743 size_t rawlen, hmaclen, hrrlen, ciphlen; in tls_parse_ctos_cookie() local759 rawlen = PACKET_remaining(&raw); in tls_parse_ctos_cookie()760 if (rawlen < SHA256_DIGEST_LENGTH in tls_parse_ctos_cookie()761 || !PACKET_forward(&raw, rawlen - SHA256_DIGEST_LENGTH)) { in tls_parse_ctos_cookie()785 rawlen - SHA256_DIGEST_LENGTH) <= 0 in tls_parse_ctos_cookie()925 || !WPACKET_sub_memcpy_u16(&hrrpkt, data, rawlen) in tls_parse_ctos_cookie()