Searched refs:psk_identity (Results 1 – 11 of 11) sorted by relevance
/openssl/ssl/ |
H A D | ssl_asn1.c | 37 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 D | ssl_txt.c | 89 if (BIO_printf(bp, "%s", x->psk_identity ? x->psk_identity : "None") <= 0) in SSL_SESSION_print()
|
H A D | ssl_sess.c | 155 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 D | ssl_local.h | 503 char *psk_identity; member
|
H A D | ssl_lib.c | 5725 return sc->session->psk_identity; in SSL_get_psk_identity()
|
/openssl/apps/ |
H A D | s_server.c | 124 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 D | s_client.c | 138 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 D | statem_srvr.c | 2904 PACKET psk_identity; in tls_process_cke_psk_preamble() local 2906 if (!PACKET_get_length_prefixed_2(pkt, &psk_identity)) { in tls_process_cke_psk_preamble() 2910 if (PACKET_remaining(&psk_identity) > PSK_MAX_IDENTITY_LEN) { in tls_process_cke_psk_preamble() 2919 if (!PACKET_strndup(&psk_identity, &s->session->psk_identity)) { in tls_process_cke_psk_preamble() 2925 s->session->psk_identity, in tls_process_cke_psk_preamble()
|
H A D | statem_clnt.c | 3039 OPENSSL_free(s->session->psk_identity); in tls_construct_cke_psk_preamble() 3040 s->session->psk_identity = tmpidentity; in tls_construct_cke_psk_preamble()
|
/openssl/doc/man1/ |
H A D | openssl-s_server.pod.in | 119 [B<-psk_identity> I<val>] 719 =item B<-psk_identity> I<val>
|
H A D | openssl-s_client.pod.in | 73 [B<-psk_identity> I<identity>] 536 =item B<-psk_identity> I<identity>
|
Completed in 84 milliseconds