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

/freebsd-10.1-release/crypto/openssl/ssl/
H A Dssl_asn1.c113 ASN1_OCTET_STRING psk_identity_hint; member in struct:ssl_session_asn1_st
252 if (in->psk_identity_hint) {
253 a.psk_identity_hint.length = strlen(in->psk_identity_hint);
254 a.psk_identity_hint.type = V_ASN1_OCTET_STRING;
255 a.psk_identity_hint.data = (unsigned char *)(in->psk_identity_hint);
309 if (in->psk_identity_hint)
310 M_ASN1_I2D_len_EXP_opt(&(a.psk_identity_hint), i2d_ASN1_OCTET_STRING,
351 if (in->psk_identity_hint)
[all...]
H A Dssl_txt.c198 (bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0)
H A Dssl_sess.c221 ss->psk_identity_hint = NULL;
249 dest->psk_identity_hint = NULL;
279 if (src->psk_identity_hint) {
280 dest->psk_identity_hint = BUF_strdup(src->psk_identity_hint);
281 if (dest->psk_identity_hint == NULL) {
918 if (ss->psk_identity_hint != NULL)
919 OPENSSL_free(ss->psk_identity_hint);
H A Dssl_lib.c1850 ret->psk_identity_hint = NULL;
2000 if (a->psk_identity_hint)
2001 OPENSSL_free(a->psk_identity_hint);
3171 if (ctx->psk_identity_hint != NULL)
3172 OPENSSL_free(ctx->psk_identity_hint);
3174 ctx->psk_identity_hint = BUF_strdup(identity_hint);
3175 if (ctx->psk_identity_hint == NULL)
3178 ctx->psk_identity_hint = NULL;
3194 if (s->session->psk_identity_hint != NULL)
3195 OPENSSL_free(s->session->psk_identity_hint);
[all...]
H A Dd1_clnt.c1440 psk_len = s->psk_client_callback(s, s->ctx->psk_identity_hint,
1463 if (s->session->psk_identity_hint != NULL)
1464 OPENSSL_free(s->session->psk_identity_hint);
1465 s->session->psk_identity_hint =
1466 BUF_strdup(s->ctx->psk_identity_hint);
1467 if (s->ctx->psk_identity_hint != NULL
1468 && s->session->psk_identity_hint == NULL) {
H A Ds3_srvr.c474 || ((alg_k & SSL_kPSK) && s->ctx->psk_identity_hint)
1876 n += 2 + strlen(s->ctx->psk_identity_hint);
1969 s2n(strlen(s->ctx->psk_identity_hint), p);
1970 strncpy((char *)p, s->ctx->psk_identity_hint,
1971 strlen(s->ctx->psk_identity_hint));
1972 p += strlen(s->ctx->psk_identity_hint);
2801 if (s->session->psk_identity_hint != NULL)
2802 OPENSSL_free(s->session->psk_identity_hint);
2803 s->session->psk_identity_hint = BUF_strdup(s->ctx->psk_identity_hint);
[all...]
H A Ds3_clnt.c1348 if (s->ctx->psk_identity_hint)
1349 OPENSSL_free(s->ctx->psk_identity_hint);
1350 s->ctx->psk_identity_hint = NULL;
1415 s->session->psk_identity_hint = BUF_strndup((char *)p, i);
1416 if (s->session->psk_identity_hint == NULL) {
2954 psk_len = s->psk_client_callback(s, s->session->psk_identity_hint,
2983 if (s->session->psk_identity_hint != NULL)
2984 OPENSSL_free(s->session->psk_identity_hint);
2985 s->session->psk_identity_hint =
2986 BUF_strdup(s->ctx->psk_identity_hint);
[all...]
H A Dd1_srvr.c475 || ((alg_k & SSL_kPSK) && s->ctx->psk_identity_hint)
1317 n += 2 + strlen(s->ctx->psk_identity_hint);
1384 s2n(strlen(s->ctx->psk_identity_hint), p);
1385 strncpy((char *)p, s->ctx->psk_identity_hint,
1386 strlen(s->ctx->psk_identity_hint));
1387 p += strlen(s->ctx->psk_identity_hint);
H A Dssl.h498 char *psk_identity_hint; member in struct:ssl_session_st
999 char *psk_identity_hint; member in struct:ssl_ctx_st
/freebsd-10.1-release/crypto/openssl/apps/
H A Ds_server.c1052 static char *psk_identity_hint = NULL; local
1253 psk_identity_hint = *(++argv);
1810 if (!SSL_CTX_use_psk_identity_hint(ctx, psk_identity_hint)) {

Completed in 219 milliseconds