Lines Matching defs:ciph_len
892 size_t msg_len, ciph_len, sess_len, comp_len, ext_len;
1255 ciph_len = MBEDTLS_GET_UINT16_BE(buf, ciph_offset);
1257 if (ciph_len < 2 ||
1258 ciph_len + 2 + ciph_offset + 1 > msg_len || /* 1 for comp. alg. len */
1259 (ciph_len % 2) != 0) {
1267 buf + ciph_offset + 2, ciph_len);
1275 comp_offset = ciph_offset + 2 + ciph_len;
1528 for (i = 0, p = buf + ciph_offset + 2; i < ciph_len; i += 2, p += 2) {
1601 for (j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2) {
1621 for (j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2) {