Searched refs:psk_identity_hint (Results 1 - 9 of 9) sorted by relevance

/freebsd-12-stable/crypto/openssl/ssl/
H A Dssl_asn1.c35 ASN1_OCTET_STRING *psk_identity_hint; member in struct:__anon8260
62 ASN1_EXP_OPT(SSL_SESSION_ASN1, psk_identity_hint, ASN1_OCTET_STRING, 7),
122 ASN1_OCTET_STRING psk_identity, psk_identity_hint;
178 ssl_session_sinit(&as.psk_identity_hint, &psk_identity_hint,
179 in->psk_identity_hint);
323 if (!ssl_session_strndup(&ret->psk_identity_hint, as->psk_identity_hint))
H A Dssl_txt.c92 (bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0)
H A Dssl_sess.c121 dest->psk_identity_hint = NULL;
160 if (src->psk_identity_hint) {
161 dest->psk_identity_hint = OPENSSL_strdup(src->psk_identity_hint);
162 if (dest->psk_identity_hint == NULL) {
768 OPENSSL_free(ss->psk_identity_hint);
H A Dssl_cert.c187 if (cert->psk_identity_hint) {
188 ret->psk_identity_hint = OPENSSL_strdup(cert->psk_identity_hint);
189 if (ret->psk_identity_hint == NULL)
246 OPENSSL_free(c->psk_identity_hint);
H A Dssl_lib.c4280 OPENSSL_free(ctx->cert->psk_identity_hint);
4282 ctx->cert->psk_identity_hint = OPENSSL_strdup(identity_hint);
4283 if (ctx->cert->psk_identity_hint == NULL)
4286 ctx->cert->psk_identity_hint = NULL;
4299 OPENSSL_free(s->cert->psk_identity_hint);
4301 s->cert->psk_identity_hint = OPENSSL_strdup(identity_hint);
4302 if (s->cert->psk_identity_hint == NULL)
4305 s->cert->psk_identity_hint = NULL;
4313 return s->session->psk_identity_hint;
H A Dssl_local.h529 char *psk_identity_hint; member in struct:ssl_session_st
1940 char *psk_identity_hint; member in struct:cert_st
/freebsd-12-stable/crypto/openssl/ssl/statem/
H A Dstatem_clnt.c1990 PACKET psk_identity_hint; local
1994 if (!PACKET_get_length_prefixed_2(pkt, &psk_identity_hint)) {
2006 if (PACKET_remaining(&psk_identity_hint) > PSK_MAX_IDENTITY_LEN) {
2013 if (PACKET_remaining(&psk_identity_hint) == 0) {
2014 OPENSSL_free(s->session->psk_identity_hint);
2015 s->session->psk_identity_hint = NULL;
2016 } else if (!PACKET_strndup(&psk_identity_hint,
2017 &s->session->psk_identity_hint)) {
2903 psklen = s->psk_client_callback(s, s->session->psk_identity_hint,
H A Dstatem_srvr.c344 && s->cert->psk_identity_hint)
2678 size_t len = (s->cert->psk_identity_hint == NULL)
2679 ? 0 : strlen(s->cert->psk_identity_hint);
2686 || !WPACKET_sub_memcpy_u16(pkt, s->cert->psk_identity_hint,
/freebsd-12-stable/crypto/openssl/apps/
H A Ds_server.c1022 char *psk_identity_hint = NULL; local
1404 psk_identity_hint = opt_arg();
2042 if (!SSL_CTX_use_psk_identity_hint(ctx, psk_identity_hint)) {

Completed in 152 milliseconds