Home
last modified time | relevance | path

Searched refs:finished_len (Results 1 – 2 of 2) sorted by relevance

/external/boringssl/src/ssl/
Ds3_both.c223 int al, finished_len, ok; in ssl3_get_finished() local
251 finished_len = s->s3->tmp.peer_finish_md_len; in ssl3_get_finished()
253 if (finished_len != message_len) { in ssl3_get_finished()
259 if (CRYPTO_memcmp(p, s->s3->tmp.peer_finish_md, finished_len) != 0) { in ssl3_get_finished()
267 assert(finished_len <= EVP_MAX_MD_SIZE); in ssl3_get_finished()
268 memcpy(s->s3->previous_client_finished, s->s3->tmp.peer_finish_md, finished_len); in ssl3_get_finished()
269 s->s3->previous_client_finished_len = finished_len; in ssl3_get_finished()
271 assert(finished_len <= EVP_MAX_MD_SIZE); in ssl3_get_finished()
272 memcpy(s->s3->previous_server_finished, s->s3->tmp.peer_finish_md, finished_len); in ssl3_get_finished()
273 s->s3->previous_server_finished_len = finished_len; in ssl3_get_finished()
Dssl_lib.c2934 size_t finished_len = ssl->s3->previous_client_finished_len; in SSL_get_tls_unique() local
2941 finished_len = ssl->s3->previous_server_finished_len; in SSL_get_tls_unique()
2949 *out_len = finished_len; in SSL_get_tls_unique()
2950 if (finished_len > max_out) { in SSL_get_tls_unique()