Lines Matching refs:psksession
813 SSL_SESSION_free(s->psksession); in tls_construct_ctos_early_data()
814 s->psksession = psksess; in tls_construct_ctos_early_data()
1010 || (s->session->ext.ticklen == 0 && s->psksession == NULL)) in tls_construct_ctos_psk()
1092 if (!dores && s->psksession == NULL) in tls_construct_ctos_psk()
1095 if (s->psksession != NULL) { in tls_construct_ctos_psk()
1096 mdpsk = ssl_md(s->psksession->cipher->algorithm2); in tls_construct_ctos_psk()
1139 if (s->psksession != NULL) { in tls_construct_ctos_psk()
1155 || (s->psksession != NULL in tls_construct_ctos_psk()
1179 if (s->psksession != NULL in tls_construct_ctos_psk()
1181 pskbinder, s->psksession, 1, 1) != 1) { in tls_construct_ctos_psk()
1979 if (identity == 0 && (s->psksession == NULL || s->ext.tick_identity == 2)) { in tls_parse_stoc_psk()
1981 SSL_SESSION_free(s->psksession); in tls_parse_stoc_psk()
1982 s->psksession = NULL; in tls_parse_stoc_psk()
1986 if (s->psksession == NULL) { in tls_parse_stoc_psk()
2001 || s->psksession->ext.max_early_data == 0) in tls_parse_stoc_psk()
2002 memcpy(s->early_secret, s->psksession->early_secret, EVP_MAX_MD_SIZE); in tls_parse_stoc_psk()
2005 s->session = s->psksession; in tls_parse_stoc_psk()
2006 s->psksession = NULL; in tls_parse_stoc_psk()