Searched refs:rawlen (Results 1 – 4 of 4) sorted by relevance
123 uint8_t *rawkey, size_t *rawlen) in ecc_read_pkgkey() argument192 if (datasz > *rawlen) in ecc_read_pkgkey()197 *rawlen = datasz; in ecc_read_pkgkey()204 size_t rawlen) in ecc_extract_signature() argument222 compsz = rawlen / 2; in ecc_extract_signature()243 if (sigoff + datasz > rawlen) in ecc_extract_signature()257 rc = (sigoff == rawlen) ? 0 : 1; in ecc_extract_signature()267 size_t *rawlen) in ecc_extract_pubkey_string() argument286 if (datalen > *rawlen) in ecc_extract_pubkey_string()290 *rawlen = datalen; in ecc_extract_pubkey_string()[all …]
934 u_int rawlen; in clnt_vc_soupcall() local1056 rawlen = m_length(ct->ct_raw, NULL); in clnt_vc_soupcall()1065 if (rawlen < sizeof(uint32_t)) in clnt_vc_soupcall()1073 rawlen -= sizeof(uint32_t); in clnt_vc_soupcall()1079 if (rawlen == 0) in clnt_vc_soupcall()1081 if (rawlen <= ct->ct_record_resid) { in clnt_vc_soupcall()1088 ct->ct_record_resid -= rawlen; in clnt_vc_soupcall()1089 rawlen = 0; in clnt_vc_soupcall()1100 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()