Lines Matching refs:s3
152 tls12_key_block_free(s->s3->hs.tls12.key_block); in tls1_cleanup_key_block()
153 s->s3->hs.tls12.key_block = NULL; in tls1_cleanup_key_block()
294 s->s3->server_random, SSL3_RANDOM_SIZE, in tls1_generate_key_block()
295 s->s3->client_random, SSL3_RANDOM_SIZE, in tls1_generate_key_block()
306 tls12_key_block_client_write(s->s3->hs.tls12.key_block, in tls1_change_cipher_state()
309 tls12_key_block_server_write(s->s3->hs.tls12.key_block, in tls1_change_cipher_state()
357 if (s->s3->hs.tls12.key_block != NULL) in tls1_setup_key_block()
360 if (s->s3->hs.cipher == NULL) in tls1_setup_key_block()
363 if ((s->s3->hs.cipher->algorithm_mac & SSL_AEAD) != 0) { in tls1_setup_key_block()
389 s->s3->hs.tls12.key_block = key_block; in tls1_setup_key_block()
398 s->s3->need_empty_fragments = 1; in tls1_setup_key_block()
400 if (s->s3->hs.cipher != NULL) { in tls1_setup_key_block()
401 if (s->s3->hs.cipher->algorithm_enc == SSL_eNULL) in tls1_setup_key_block()
402 s->s3->need_empty_fragments = 0; in tls1_setup_key_block()
405 if (s->s3->hs.cipher->algorithm_enc == SSL_RC4) in tls1_setup_key_block()
406 s->s3->need_empty_fragments = 0; in tls1_setup_key_block()