Home
last modified time | relevance | path

Searched refs:psk_identity (Results 1 – 11 of 11) sorted by relevance

/openssl/ssl/
H A Dssl_asn1.c37 ASN1_OCTET_STRING *psk_identity; member
66 ASN1_EXP_OPT(SSL_SESSION_ASN1, psk_identity, ASN1_OCTET_STRING, 8),
127 ASN1_OCTET_STRING psk_identity, psk_identity_hint; in i2d_SSL_SESSION() local
197 ssl_session_sinit(&as.psk_identity, &psk_identity, in->psk_identity); in i2d_SSL_SESSION()
365 if (!ssl_session_strndup(&ret->psk_identity, as->psk_identity)) in d2i_SSL_SESSION_ex()
H A Dssl_txt.c89 if (BIO_printf(bp, "%s", x->psk_identity ? x->psk_identity : "None") <= 0) in SSL_SESSION_print()
H A Dssl_sess.c155 dest->psk_identity = NULL; in ssl_session_dup_intern()
212 if (src->psk_identity) { in ssl_session_dup_intern()
213 dest->psk_identity = OPENSSL_strdup(src->psk_identity); in ssl_session_dup_intern()
214 if (dest->psk_identity == NULL) in ssl_session_dup_intern()
863 OPENSSL_free(ss->psk_identity); in SSL_SESSION_free()
H A Dssl_local.h503 char *psk_identity; member
H A Dssl_lib.c5720 return sc->session->psk_identity; in SSL_get_psk_identity()
/openssl/apps/
H A Ds_server.c124 static char *psk_identity = "Client_identity"; variable
159 if (strcmp(identity, psk_identity) != 0) { in psk_server_cb()
161 " (got '%s' expected '%s')\n", identity, psk_identity); in psk_server_cb()
205 if (strlen(psk_identity) != identity_len in psk_find_session_cb()
206 || memcmp(psk_identity, identity, identity_len) != 0) { in psk_find_session_cb()
1473 psk_identity = opt_arg(); in s_server_main()
H A Ds_client.c138 static char *psk_identity = "Client_identity"; variable
164 ret = BIO_snprintf(identity, max_identity_len, "%s", psk_identity); in psk_client_cb()
254 *id = (unsigned char *)psk_identity; in psk_use_session_cb()
255 *idlen = strlen(psk_identity); in psk_use_session_cb()
1237 psk_identity = opt_arg(); in s_client_main()
/openssl/ssl/statem/
H A Dstatem_srvr.c2901 PACKET psk_identity; in tls_process_cke_psk_preamble() local
2903 if (!PACKET_get_length_prefixed_2(pkt, &psk_identity)) { in tls_process_cke_psk_preamble()
2907 if (PACKET_remaining(&psk_identity) > PSK_MAX_IDENTITY_LEN) { in tls_process_cke_psk_preamble()
2916 if (!PACKET_strndup(&psk_identity, &s->session->psk_identity)) { in tls_process_cke_psk_preamble()
2922 s->session->psk_identity, in tls_process_cke_psk_preamble()
H A Dstatem_clnt.c3038 OPENSSL_free(s->session->psk_identity); in tls_construct_cke_psk_preamble()
3039 s->session->psk_identity = tmpidentity; in tls_construct_cke_psk_preamble()
/openssl/doc/man1/
H A Dopenssl-s_server.pod.in119 [B<-psk_identity> I<val>]
719 =item B<-psk_identity> I<val>
H A Dopenssl-s_client.pod.in73 [B<-psk_identity> I<identity>]
536 =item B<-psk_identity> I<identity>

Completed in 116 milliseconds