Searched refs:psk_identity_hint (Results 1 – 9 of 9) sorted by relevance
/openssl/ssl/ |
H A D | ssl_asn1.c | 36 ASN1_OCTET_STRING *psk_identity_hint; member 65 ASN1_EXP_OPT(SSL_SESSION_ASN1, psk_identity_hint, ASN1_OCTET_STRING, 7), 127 ASN1_OCTET_STRING psk_identity, psk_identity_hint; in i2d_SSL_SESSION() local 195 ssl_session_sinit(&as.psk_identity_hint, &psk_identity_hint, in i2d_SSL_SESSION() 196 in->psk_identity_hint); in i2d_SSL_SESSION() 363 if (!ssl_session_strndup(&ret->psk_identity_hint, as->psk_identity_hint)) in d2i_SSL_SESSION_ex()
|
H A D | ssl_txt.c | 94 (bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) in SSL_SESSION_print()
|
H A D | ssl_sess.c | 154 dest->psk_identity_hint = NULL; in ssl_session_dup_intern() 207 if (src->psk_identity_hint) { in ssl_session_dup_intern() 208 dest->psk_identity_hint = OPENSSL_strdup(src->psk_identity_hint); in ssl_session_dup_intern() 209 if (dest->psk_identity_hint == NULL) in ssl_session_dup_intern() 862 OPENSSL_free(ss->psk_identity_hint); in SSL_SESSION_free()
|
H A D | ssl_cert.c | 219 if (cert->psk_identity_hint) { in ssl_cert_dup() 220 ret->psk_identity_hint = OPENSSL_strdup(cert->psk_identity_hint); in ssl_cert_dup() 221 if (ret->psk_identity_hint == NULL) in ssl_cert_dup() 287 OPENSSL_free(c->psk_identity_hint); in ssl_cert_free()
|
H A D | ssl_lib.c | 5677 OPENSSL_free(ctx->cert->psk_identity_hint); in SSL_CTX_use_psk_identity_hint() 5679 ctx->cert->psk_identity_hint = OPENSSL_strdup(identity_hint); in SSL_CTX_use_psk_identity_hint() 5680 if (ctx->cert->psk_identity_hint == NULL) in SSL_CTX_use_psk_identity_hint() 5683 ctx->cert->psk_identity_hint = NULL; in SSL_CTX_use_psk_identity_hint() 5698 OPENSSL_free(sc->cert->psk_identity_hint); in SSL_use_psk_identity_hint() 5700 sc->cert->psk_identity_hint = OPENSSL_strdup(identity_hint); in SSL_use_psk_identity_hint() 5701 if (sc->cert->psk_identity_hint == NULL) in SSL_use_psk_identity_hint() 5704 sc->cert->psk_identity_hint = NULL; in SSL_use_psk_identity_hint() 5715 return sc->session->psk_identity_hint; in SSL_get_psk_identity_hint()
|
H A D | ssl_local.h | 502 char *psk_identity_hint; member 2107 char *psk_identity_hint; member
|
/openssl/ssl/statem/ |
H A D | statem_clnt.c | 2167 PACKET psk_identity_hint; in tls_process_ske_psk_preamble() local 2171 if (!PACKET_get_length_prefixed_2(pkt, &psk_identity_hint)) { in tls_process_ske_psk_preamble() 2182 if (PACKET_remaining(&psk_identity_hint) > PSK_MAX_IDENTITY_LEN) { in tls_process_ske_psk_preamble() 2187 if (PACKET_remaining(&psk_identity_hint) == 0) { in tls_process_ske_psk_preamble() 2188 OPENSSL_free(s->session->psk_identity_hint); in tls_process_ske_psk_preamble() 2189 s->session->psk_identity_hint = NULL; in tls_process_ske_psk_preamble() 2190 } else if (!PACKET_strndup(&psk_identity_hint, in tls_process_ske_psk_preamble() 2191 &s->session->psk_identity_hint)) { in tls_process_ske_psk_preamble() 3009 s->session->psk_identity_hint, in tls_construct_cke_psk_preamble()
|
H A D | statem_srvr.c | 369 && s->cert->psk_identity_hint) in send_server_key_exchange() 2680 size_t len = (s->cert->psk_identity_hint == NULL) in tls_construct_server_key_exchange() 2681 ? 0 : strlen(s->cert->psk_identity_hint); in tls_construct_server_key_exchange() 2688 || !WPACKET_sub_memcpy_u16(pkt, s->cert->psk_identity_hint, in tls_construct_server_key_exchange()
|
/openssl/apps/ |
H A D | s_server.c | 1061 char *psk_identity_hint = NULL; in s_server_main() local 1477 psk_identity_hint = opt_arg(); in s_server_main() 2210 if (psk_identity_hint != NULL) { in s_server_main() 2214 if (!SSL_CTX_use_psk_identity_hint(ctx, psk_identity_hint)) { in s_server_main()
|
Completed in 76 milliseconds