Lines Matching refs:elliptic_curve_len
253 size_t elliptic_curve_len = 0; local
279 elliptic_curve_len += 2;
282 if( end < p || (size_t)( end - p ) < 6 + elliptic_curve_len )
288 elliptic_curve_len = 0;
298 elliptic_curve_list[elliptic_curve_len++] = info->tls_id >> 8;
299 elliptic_curve_list[elliptic_curve_len++] = info->tls_id & 0xFF;
302 if( elliptic_curve_len == 0 )
308 *p++ = (unsigned char)( ( ( elliptic_curve_len + 2 ) >> 8 ) & 0xFF );
309 *p++ = (unsigned char)( ( ( elliptic_curve_len + 2 ) ) & 0xFF );
311 *p++ = (unsigned char)( ( ( elliptic_curve_len ) >> 8 ) & 0xFF );
312 *p++ = (unsigned char)( ( ( elliptic_curve_len ) ) & 0xFF );
314 *olen = 6 + elliptic_curve_len;