Searched refs:ciph_len (Results 1 – 3 of 3) sorted by relevance
/mbedtls-latest/library/ |
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()
|
D | ssl_tls12_server.c | 894 size_t msg_len, ciph_len, sess_len, comp_len, ext_len; in ssl_parse_client_hello() local 1257 ciph_len = MBEDTLS_GET_UINT16_BE(buf, ciph_offset); in ssl_parse_client_hello() 1259 if (ciph_len < 2 || in ssl_parse_client_hello() 1260 ciph_len + 2 + ciph_offset + 1 > msg_len || /* 1 for comp. alg. len */ in ssl_parse_client_hello() 1261 (ciph_len % 2) != 0) { in ssl_parse_client_hello() 1269 buf + ciph_offset + 2, ciph_len); in ssl_parse_client_hello() 1277 comp_offset = ciph_offset + 2 + ciph_len; in ssl_parse_client_hello() 1530 for (i = 0, p = buf + ciph_offset + 2; i < ciph_len; i += 2, p += 2) { in ssl_parse_client_hello() 1603 for (j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2) { in ssl_parse_client_hello() 1623 for (j = 0, p = buf + ciph_offset + 2; j < ciph_len; j += 2, p += 2) { in ssl_parse_client_hello()
|
/mbedtls-latest/tests/suites/ |
D | test_suite_pk.function | 1724 size_t sig_len, ciph_len, test_len; 1784 ciph, &ciph_len, sizeof(ciph), 1786 TEST_ASSERT(mbedtls_pk_decrypt(&alt, ciph, ciph_len, 1794 ciph, &ciph_len, sizeof(ciph),
|