Searched refs:ciph_len (Results 1 – 2 of 2) sorted by relevance
| /optee_os/lib/libmbedtls/mbedtls/library/ |
| H A D | ssl_ticket.c | 313 size_t clear_len, ciph_len; in mbedtls_ssl_ticket_write() local 364 &ciph_len)) != PSA_SUCCESS) { in mbedtls_ssl_ticket_write() 374 state, (size_t) (end - state), &ciph_len, in mbedtls_ssl_ticket_write() 380 if (ciph_len != clear_len + TICKET_AUTH_TAG_BYTES) { in mbedtls_ssl_ticket_write() 385 *tlen = TICKET_MIN_LEN + ciph_len - TICKET_AUTH_TAG_BYTES; in mbedtls_ssl_ticket_write()
|
| H A D | ssl_tls12_server.c | 894 size_t msg_len, ciph_len, sess_len, comp_len, ext_len; in ssl_parse_client_hello() local 1235 ciph_len = MBEDTLS_GET_UINT16_BE(buf, ciph_offset); in ssl_parse_client_hello() 1237 if (ciph_len < 2 || in ssl_parse_client_hello() 1238 ciph_len + 2 + ciph_offset + 1 > msg_len || /* 1 for comp. alg. len */ in ssl_parse_client_hello() 1239 (ciph_len % 2) != 0) { in ssl_parse_client_hello() 1247 buf + ciph_offset + 2, ciph_len); in ssl_parse_client_hello() 1255 comp_offset = ciph_offset + 2 + ciph_len; in ssl_parse_client_hello() 1508 for (i = 0, p = buf + ciph_offset + 2; i < ciph_len; i += 2, p += 2) { in ssl_parse_client_hello() 1581 for (j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2) { in ssl_parse_client_hello() 1601 for (j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2) { in ssl_parse_client_hello()
|