Lines Matching refs:psksession
850 SSL_SESSION_free(s->psksession); in tls_construct_ctos_early_data()
851 s->psksession = psksess; in tls_construct_ctos_early_data()
1048 || (s->session->ext.ticklen == 0 && s->psksession == NULL)) in tls_construct_ctos_psk()
1131 if (!dores && s->psksession == NULL) in tls_construct_ctos_psk()
1134 if (s->psksession != NULL) { in tls_construct_ctos_psk()
1135 mdpsk = ssl_md(sctx, s->psksession->cipher->algorithm2); in tls_construct_ctos_psk()
1178 if (s->psksession != NULL) { in tls_construct_ctos_psk()
1193 || (s->psksession != NULL in tls_construct_ctos_psk()
1216 if (s->psksession != NULL in tls_construct_ctos_psk()
1218 pskbinder, s->psksession, 1, 1) != 1) { in tls_construct_ctos_psk()
2062 if (identity == 0 && (s->psksession == NULL || s->ext.tick_identity == 2)) { in tls_parse_stoc_psk()
2064 SSL_SESSION_free(s->psksession); in tls_parse_stoc_psk()
2065 s->psksession = NULL; in tls_parse_stoc_psk()
2069 if (s->psksession == NULL) { in tls_parse_stoc_psk()
2083 || s->psksession->ext.max_early_data == 0) in tls_parse_stoc_psk()
2084 memcpy(s->early_secret, s->psksession->early_secret, EVP_MAX_MD_SIZE); in tls_parse_stoc_psk()
2087 s->session = s->psksession; in tls_parse_stoc_psk()
2088 s->psksession = NULL; in tls_parse_stoc_psk()