Lines Matching refs:max_out
1393 size_t max_out) { in SSL_get_tls_unique() argument
1395 OPENSSL_memset(out, 0, max_out); in SSL_get_tls_unique()
1419 if (finished_len > max_out) { in SSL_get_tls_unique()
1420 *out_len = max_out; in SSL_get_tls_unique()
2143 size_t SSL_get_tls_channel_id(SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_tls_channel_id() argument
2148 (max_out < 64) ? max_out : 64); in SSL_get_tls_channel_id()
2582 size_t SSL_get_client_random(const SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_client_random() argument
2583 if (max_out == 0) { in SSL_get_client_random()
2586 if (max_out > sizeof(ssl->s3->client_random)) { in SSL_get_client_random()
2587 max_out = sizeof(ssl->s3->client_random); in SSL_get_client_random()
2589 OPENSSL_memcpy(out, ssl->s3->client_random, max_out); in SSL_get_client_random()
2590 return max_out; in SSL_get_client_random()
2593 size_t SSL_get_server_random(const SSL *ssl, uint8_t *out, size_t max_out) { in SSL_get_server_random() argument
2594 if (max_out == 0) { in SSL_get_server_random()
2597 if (max_out > sizeof(ssl->s3->server_random)) { in SSL_get_server_random()
2598 max_out = sizeof(ssl->s3->server_random); in SSL_get_server_random()
2600 OPENSSL_memcpy(out, ssl->s3->server_random, max_out); in SSL_get_server_random()
2601 return max_out; in SSL_get_server_random()