Lines Matching refs:psksession
811 SSL_SESSION_free(s->psksession); in tls_construct_ctos_early_data()
812 s->psksession = psksess; in tls_construct_ctos_early_data()
1000 || (s->session->ext.ticklen == 0 && s->psksession == NULL)) in tls_construct_ctos_psk()
1080 if (!dores && s->psksession == NULL) in tls_construct_ctos_psk()
1083 if (s->psksession != NULL) { in tls_construct_ctos_psk()
1084 mdpsk = ssl_md(s->ctx, s->psksession->cipher->algorithm2); in tls_construct_ctos_psk()
1123 if (s->psksession != NULL) { in tls_construct_ctos_psk()
1138 || (s->psksession != NULL in tls_construct_ctos_psk()
1161 if (s->psksession != NULL in tls_construct_ctos_psk()
1163 pskbinder, s->psksession, 1, 1) != 1) { in tls_construct_ctos_psk()
1974 if (identity == 0 && (s->psksession == NULL || s->ext.tick_identity == 2)) { in tls_parse_stoc_psk()
1976 SSL_SESSION_free(s->psksession); in tls_parse_stoc_psk()
1977 s->psksession = NULL; in tls_parse_stoc_psk()
1981 if (s->psksession == NULL) { in tls_parse_stoc_psk()
1995 || s->psksession->ext.max_early_data == 0) in tls_parse_stoc_psk()
1996 memcpy(s->early_secret, s->psksession->early_secret, EVP_MAX_MD_SIZE); in tls_parse_stoc_psk()
1999 s->session = s->psksession; in tls_parse_stoc_psk()
2000 s->psksession = NULL; in tls_parse_stoc_psk()