Home
last modified time | relevance | path

Searched refs:psk_identity_hint (Results 1 – 12 of 12) sorted by relevance

/external/openssl/ssl/
Dssl_asn1.c114 ASN1_OCTET_STRING psk_identity_hint; member
257 if (in->psk_identity_hint) in i2d_SSL_SESSION()
259 a.psk_identity_hint.length=strlen(in->psk_identity_hint); in i2d_SSL_SESSION()
260 a.psk_identity_hint.type=V_ASN1_OCTET_STRING; in i2d_SSL_SESSION()
261 a.psk_identity_hint.data=(unsigned char *)(in->psk_identity_hint); in i2d_SSL_SESSION()
305 if (in->psk_identity_hint) in i2d_SSL_SESSION()
306 M_ASN1_I2D_len_EXP_opt(&(a.psk_identity_hint), i2d_ASN1_OCTET_STRING,7,v7); in i2d_SSL_SESSION()
339 if (in->psk_identity_hint) in i2d_SSL_SESSION()
340 M_ASN1_I2D_put_EXP_opt(&(a.psk_identity_hint), i2d_ASN1_OCTET_STRING,7,v7); in i2d_SSL_SESSION()
545 ret->psk_identity_hint = BUF_strndup((char *)os.data, os.length); in d2i_SSL_SESSION()
[all …]
Dssl_txt.c188 if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) goto err; in SSL_SESSION_print()
Ds3_clnt.c1273 if (s->ctx->psk_identity_hint) in ssl3_get_key_exchange()
1274 OPENSSL_free(s->ctx->psk_identity_hint); in ssl3_get_key_exchange()
1275 s->ctx->psk_identity_hint = NULL; in ssl3_get_key_exchange()
1348 if (s->ctx->psk_identity_hint != NULL) in ssl3_get_key_exchange()
1349 OPENSSL_free(s->ctx->psk_identity_hint); in ssl3_get_key_exchange()
1350 s->ctx->psk_identity_hint = BUF_strdup(tmp_id_hint); in ssl3_get_key_exchange()
1351 if (s->ctx->psk_identity_hint == NULL) in ssl3_get_key_exchange()
2650 psk_len = s->psk_client_callback(s, s->ctx->psk_identity_hint, in ssl3_send_client_key_exchange()
2675 if (s->session->psk_identity_hint != NULL) in ssl3_send_client_key_exchange()
2676 OPENSSL_free(s->session->psk_identity_hint); in ssl3_send_client_key_exchange()
[all …]
Dd1_clnt.c1261 psk_len = s->psk_client_callback(s, s->ctx->psk_identity_hint, in dtls1_send_client_key_exchange()
1286 if (s->session->psk_identity_hint != NULL) in dtls1_send_client_key_exchange()
1287 OPENSSL_free(s->session->psk_identity_hint); in dtls1_send_client_key_exchange()
1288 s->session->psk_identity_hint = BUF_strdup(s->ctx->psk_identity_hint); in dtls1_send_client_key_exchange()
1289 if (s->ctx->psk_identity_hint != NULL && in dtls1_send_client_key_exchange()
1290 s->session->psk_identity_hint == NULL) in dtls1_send_client_key_exchange()
Dssl_lib.c1802 ret->psk_identity_hint=NULL; in IMPLEMENT_LHASH_HASH_FN()
1935 if (a->psk_identity_hint) in SSL_CTX_free()
1936 OPENSSL_free(a->psk_identity_hint); in SSL_CTX_free()
3108 if (ctx->psk_identity_hint != NULL) in SSL_CTX_use_psk_identity_hint()
3109 OPENSSL_free(ctx->psk_identity_hint); in SSL_CTX_use_psk_identity_hint()
3112 ctx->psk_identity_hint = BUF_strdup(identity_hint); in SSL_CTX_use_psk_identity_hint()
3113 if (ctx->psk_identity_hint == NULL) in SSL_CTX_use_psk_identity_hint()
3117 ctx->psk_identity_hint = NULL; in SSL_CTX_use_psk_identity_hint()
3134 if (s->session->psk_identity_hint != NULL) in SSL_use_psk_identity_hint()
3135 OPENSSL_free(s->session->psk_identity_hint); in SSL_use_psk_identity_hint()
[all …]
Ds3_srvr.c411 || ((alg_k & SSL_kPSK) && s->ctx->psk_identity_hint) in IMPLEMENT_ssl3_meth_func()
1713 n+=2+strlen(s->ctx->psk_identity_hint); in ssl3_send_server_key_exchange()
1790 s2n(strlen(s->ctx->psk_identity_hint), p); in ssl3_send_server_key_exchange()
1791 strncpy((char *)p, s->ctx->psk_identity_hint, strlen(s->ctx->psk_identity_hint)); in ssl3_send_server_key_exchange()
1792 p+=strlen(s->ctx->psk_identity_hint); in ssl3_send_server_key_exchange()
2615 if (s->session->psk_identity_hint != NULL) in ssl3_get_client_key_exchange()
2616 OPENSSL_free(s->session->psk_identity_hint); in ssl3_get_client_key_exchange()
2617 s->session->psk_identity_hint = BUF_strdup(s->ctx->psk_identity_hint); in ssl3_get_client_key_exchange()
2618 if (s->ctx->psk_identity_hint != NULL && in ssl3_get_client_key_exchange()
2619 s->session->psk_identity_hint == NULL) in ssl3_get_client_key_exchange()
Dd1_srvr.c395 || ((alg_k & SSL_kPSK) && s->ctx->psk_identity_hint) in IMPLEMENT_dtls1_meth_func()
1132 n+=2+strlen(s->ctx->psk_identity_hint); in dtls1_send_server_key_exchange()
1208 s2n(strlen(s->ctx->psk_identity_hint), p); in dtls1_send_server_key_exchange()
1209 strncpy((char *)p, s->ctx->psk_identity_hint, strlen(s->ctx->psk_identity_hint)); in dtls1_send_server_key_exchange()
1210 p+=strlen(s->ctx->psk_identity_hint); in dtls1_send_server_key_exchange()
Dssl_sess.c218 ss->psk_identity_hint=NULL; in SSL_SESSION_new()
734 if (ss->psk_identity_hint != NULL) in SSL_SESSION_free()
735 OPENSSL_free(ss->psk_identity_hint); in SSL_SESSION_free()
Dssl.h467 char *psk_identity_hint; member
882 char *psk_identity_hint; member
/external/openssl/apps/
Ds_server.c898 static char *psk_identity_hint=NULL; in MAIN() local
1121 psk_identity_hint= *(++argv); in MAIN()
1690 if (!SSL_CTX_use_psk_identity_hint(ctx, psk_identity_hint)) in MAIN()
/external/openssl/include/openssl/
Dssl.h467 char *psk_identity_hint; member
882 char *psk_identity_hint; member
/external/openssl/patches/
Dnpn.patch1101 ret->psk_identity_hint=NULL;