/external/openssl/ssl/ |
D | ssl_asn1.c | 114 ASN1_OCTET_STRING psk_identity_hint; member 263 if (in->psk_identity_hint) in i2d_SSL_SESSION() 265 a.psk_identity_hint.length=strlen(in->psk_identity_hint); in i2d_SSL_SESSION() 266 a.psk_identity_hint.type=V_ASN1_OCTET_STRING; in i2d_SSL_SESSION() 267 a.psk_identity_hint.data=(unsigned char *)(in->psk_identity_hint); in i2d_SSL_SESSION() 319 if (in->psk_identity_hint) in i2d_SSL_SESSION() 320 M_ASN1_I2D_len_EXP_opt(&(a.psk_identity_hint), i2d_ASN1_OCTET_STRING,7,v7); in i2d_SSL_SESSION() 357 if (in->psk_identity_hint) in i2d_SSL_SESSION() 358 M_ASN1_I2D_put_EXP_opt(&(a.psk_identity_hint), i2d_ASN1_OCTET_STRING,7,v7); in i2d_SSL_SESSION() 567 ret->psk_identity_hint = BUF_strndup((char *)os.data, os.length); in d2i_SSL_SESSION() [all …]
|
D | ssl_txt.c | 192 if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) goto err; in SSL_SESSION_print()
|
D | d1_clnt.c | 1435 psk_len = s->psk_client_callback(s, s->ctx->psk_identity_hint, in dtls1_send_client_key_exchange() 1460 if (s->session->psk_identity_hint != NULL) in dtls1_send_client_key_exchange() 1461 OPENSSL_free(s->session->psk_identity_hint); in dtls1_send_client_key_exchange() 1462 s->session->psk_identity_hint = BUF_strdup(s->ctx->psk_identity_hint); in dtls1_send_client_key_exchange() 1463 if (s->ctx->psk_identity_hint != NULL && in dtls1_send_client_key_exchange() 1464 s->session->psk_identity_hint == NULL) in dtls1_send_client_key_exchange()
|
D | s3_clnt.c | 1385 if (s->ctx->psk_identity_hint) in ssl3_get_key_exchange() 1386 OPENSSL_free(s->ctx->psk_identity_hint); in ssl3_get_key_exchange() 1387 s->ctx->psk_identity_hint = NULL; in ssl3_get_key_exchange() 1460 if (s->ctx->psk_identity_hint != NULL) in ssl3_get_key_exchange() 1461 OPENSSL_free(s->ctx->psk_identity_hint); in ssl3_get_key_exchange() 1462 s->ctx->psk_identity_hint = BUF_strdup(tmp_id_hint); in ssl3_get_key_exchange() 1463 if (s->ctx->psk_identity_hint == NULL) in ssl3_get_key_exchange() 2911 psk_len = s->psk_client_callback(s, s->ctx->psk_identity_hint, in ssl3_send_client_key_exchange() 2936 if (s->session->psk_identity_hint != NULL) in ssl3_send_client_key_exchange() 2937 OPENSSL_free(s->session->psk_identity_hint); in ssl3_send_client_key_exchange() [all …]
|
D | ssl_lib.c | 1936 ret->psk_identity_hint=NULL; in IMPLEMENT_LHASH_HASH_FN() 2077 if (a->psk_identity_hint) in SSL_CTX_free() 2078 OPENSSL_free(a->psk_identity_hint); in SSL_CTX_free() 3288 if (ctx->psk_identity_hint != NULL) in SSL_CTX_use_psk_identity_hint() 3289 OPENSSL_free(ctx->psk_identity_hint); in SSL_CTX_use_psk_identity_hint() 3292 ctx->psk_identity_hint = BUF_strdup(identity_hint); in SSL_CTX_use_psk_identity_hint() 3293 if (ctx->psk_identity_hint == NULL) in SSL_CTX_use_psk_identity_hint() 3297 ctx->psk_identity_hint = NULL; in SSL_CTX_use_psk_identity_hint() 3314 if (s->session->psk_identity_hint != NULL) in SSL_use_psk_identity_hint() 3315 OPENSSL_free(s->session->psk_identity_hint); in SSL_use_psk_identity_hint() [all …]
|
D | s3_srvr.c | 478 || ((alg_k & SSL_kPSK) && s->ctx->psk_identity_hint) in IMPLEMENT_ssl3_meth_func() 1840 n+=2+strlen(s->ctx->psk_identity_hint); in ssl3_send_server_key_exchange() 1948 s2n(strlen(s->ctx->psk_identity_hint), p); in ssl3_send_server_key_exchange() 1949 strncpy((char *)p, s->ctx->psk_identity_hint, strlen(s->ctx->psk_identity_hint)); in ssl3_send_server_key_exchange() 1950 p+=strlen(s->ctx->psk_identity_hint); in ssl3_send_server_key_exchange() 2782 if (s->session->psk_identity_hint != NULL) in ssl3_get_client_key_exchange() 2783 OPENSSL_free(s->session->psk_identity_hint); in ssl3_get_client_key_exchange() 2784 s->session->psk_identity_hint = BUF_strdup(s->ctx->psk_identity_hint); in ssl3_get_client_key_exchange() 2785 if (s->ctx->psk_identity_hint != NULL && in ssl3_get_client_key_exchange() 2786 s->session->psk_identity_hint == NULL) in ssl3_get_client_key_exchange()
|
D | d1_srvr.c | 473 || ((alg_k & SSL_kPSK) && s->ctx->psk_identity_hint) in IMPLEMENT_dtls1_meth_func() 1280 n+=2+strlen(s->ctx->psk_identity_hint); in dtls1_send_server_key_exchange() 1356 s2n(strlen(s->ctx->psk_identity_hint), p); in dtls1_send_server_key_exchange() 1357 strncpy((char *)p, s->ctx->psk_identity_hint, strlen(s->ctx->psk_identity_hint)); in dtls1_send_server_key_exchange() 1358 p+=strlen(s->ctx->psk_identity_hint); in dtls1_send_server_key_exchange()
|
D | ssl_sess.c | 218 ss->psk_identity_hint=NULL; in SSL_SESSION_new() 779 if (ss->psk_identity_hint != NULL) in SSL_SESSION_free() 780 OPENSSL_free(ss->psk_identity_hint); in SSL_SESSION_free()
|
D | ssl.h | 493 char *psk_identity_hint; member 944 char *psk_identity_hint; member
|
/external/chromium_org/third_party/openssl/openssl/ssl/ |
D | ssl_asn1.c | 114 ASN1_OCTET_STRING psk_identity_hint; member 263 if (in->psk_identity_hint) in i2d_SSL_SESSION() 265 a.psk_identity_hint.length=strlen(in->psk_identity_hint); in i2d_SSL_SESSION() 266 a.psk_identity_hint.type=V_ASN1_OCTET_STRING; in i2d_SSL_SESSION() 267 a.psk_identity_hint.data=(unsigned char *)(in->psk_identity_hint); in i2d_SSL_SESSION() 319 if (in->psk_identity_hint) in i2d_SSL_SESSION() 320 M_ASN1_I2D_len_EXP_opt(&(a.psk_identity_hint), i2d_ASN1_OCTET_STRING,7,v7); in i2d_SSL_SESSION() 357 if (in->psk_identity_hint) in i2d_SSL_SESSION() 358 M_ASN1_I2D_put_EXP_opt(&(a.psk_identity_hint), i2d_ASN1_OCTET_STRING,7,v7); in i2d_SSL_SESSION() 567 ret->psk_identity_hint = BUF_strndup((char *)os.data, os.length); in d2i_SSL_SESSION() [all …]
|
D | ssl_txt.c | 192 if (BIO_printf(bp, "%s", x->psk_identity_hint ? x->psk_identity_hint : "None") <= 0) goto err; in SSL_SESSION_print()
|
D | d1_clnt.c | 1435 psk_len = s->psk_client_callback(s, s->ctx->psk_identity_hint, in dtls1_send_client_key_exchange() 1460 if (s->session->psk_identity_hint != NULL) in dtls1_send_client_key_exchange() 1461 OPENSSL_free(s->session->psk_identity_hint); in dtls1_send_client_key_exchange() 1462 s->session->psk_identity_hint = BUF_strdup(s->ctx->psk_identity_hint); in dtls1_send_client_key_exchange() 1463 if (s->ctx->psk_identity_hint != NULL && in dtls1_send_client_key_exchange() 1464 s->session->psk_identity_hint == NULL) in dtls1_send_client_key_exchange()
|
D | ssl_lib.c | 1851 ret->psk_identity_hint=NULL; in IMPLEMENT_LHASH_HASH_FN() 1992 if (a->psk_identity_hint) in SSL_CTX_free() 1993 OPENSSL_free(a->psk_identity_hint); in SSL_CTX_free() 3208 if (ctx->psk_identity_hint != NULL) in SSL_CTX_use_psk_identity_hint() 3209 OPENSSL_free(ctx->psk_identity_hint); in SSL_CTX_use_psk_identity_hint() 3212 ctx->psk_identity_hint = BUF_strdup(identity_hint); in SSL_CTX_use_psk_identity_hint() 3213 if (ctx->psk_identity_hint == NULL) in SSL_CTX_use_psk_identity_hint() 3217 ctx->psk_identity_hint = NULL; in SSL_CTX_use_psk_identity_hint() 3234 if (s->session->psk_identity_hint != NULL) in SSL_use_psk_identity_hint() 3235 OPENSSL_free(s->session->psk_identity_hint); in SSL_use_psk_identity_hint() [all …]
|
D | s3_clnt.c | 1386 if (s->ctx->psk_identity_hint) in ssl3_get_key_exchange() 1387 OPENSSL_free(s->ctx->psk_identity_hint); in ssl3_get_key_exchange() 1388 s->ctx->psk_identity_hint = NULL; in ssl3_get_key_exchange() 1461 if (s->ctx->psk_identity_hint != NULL) in ssl3_get_key_exchange() 1462 OPENSSL_free(s->ctx->psk_identity_hint); in ssl3_get_key_exchange() 1463 s->ctx->psk_identity_hint = BUF_strdup(tmp_id_hint); in ssl3_get_key_exchange() 1464 if (s->ctx->psk_identity_hint == NULL) in ssl3_get_key_exchange() 2918 psk_len = s->psk_client_callback(s, s->ctx->psk_identity_hint, in ssl3_send_client_key_exchange() 2943 if (s->session->psk_identity_hint != NULL) in ssl3_send_client_key_exchange() 2944 OPENSSL_free(s->session->psk_identity_hint); in ssl3_send_client_key_exchange() [all …]
|
D | s3_srvr.c | 478 || ((alg_k & SSL_kPSK) && s->ctx->psk_identity_hint) in IMPLEMENT_ssl3_meth_func() 1841 n+=2+strlen(s->ctx->psk_identity_hint); in ssl3_send_server_key_exchange() 1949 s2n(strlen(s->ctx->psk_identity_hint), p); in ssl3_send_server_key_exchange() 1950 strncpy((char *)p, s->ctx->psk_identity_hint, strlen(s->ctx->psk_identity_hint)); in ssl3_send_server_key_exchange() 1951 p+=strlen(s->ctx->psk_identity_hint); in ssl3_send_server_key_exchange() 2783 if (s->session->psk_identity_hint != NULL) in ssl3_get_client_key_exchange() 2784 OPENSSL_free(s->session->psk_identity_hint); in ssl3_get_client_key_exchange() 2785 s->session->psk_identity_hint = BUF_strdup(s->ctx->psk_identity_hint); in ssl3_get_client_key_exchange() 2786 if (s->ctx->psk_identity_hint != NULL && in ssl3_get_client_key_exchange() 2787 s->session->psk_identity_hint == NULL) in ssl3_get_client_key_exchange()
|
D | d1_srvr.c | 473 || ((alg_k & SSL_kPSK) && s->ctx->psk_identity_hint) in IMPLEMENT_dtls1_meth_func() 1280 n+=2+strlen(s->ctx->psk_identity_hint); in dtls1_send_server_key_exchange() 1356 s2n(strlen(s->ctx->psk_identity_hint), p); in dtls1_send_server_key_exchange() 1357 strncpy((char *)p, s->ctx->psk_identity_hint, strlen(s->ctx->psk_identity_hint)); in dtls1_send_server_key_exchange() 1358 p+=strlen(s->ctx->psk_identity_hint); in dtls1_send_server_key_exchange()
|
D | ssl_sess.c | 218 ss->psk_identity_hint=NULL; in SSL_SESSION_new() 779 if (ss->psk_identity_hint != NULL) in SSL_SESSION_free() 780 OPENSSL_free(ss->psk_identity_hint); in SSL_SESSION_free()
|
D | ssl.h | 496 char *psk_identity_hint; member 953 char *psk_identity_hint; member
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
D | s_server.c | 970 static char *psk_identity_hint=NULL; in MAIN() local 1191 psk_identity_hint= *(++argv); in MAIN() 1805 if (!SSL_CTX_use_psk_identity_hint(ctx, psk_identity_hint)) in MAIN()
|
/external/openssl/apps/ |
D | s_server.c | 970 static char *psk_identity_hint=NULL; in MAIN() local 1191 psk_identity_hint= *(++argv); in MAIN() 1805 if (!SSL_CTX_use_psk_identity_hint(ctx, psk_identity_hint)) in MAIN()
|
/external/chromium_org/third_party/openssl/openssl/include/openssl/ |
D | ssl.h | 496 char *psk_identity_hint; member 953 char *psk_identity_hint; member
|
/external/openssl/include/openssl/ |
D | ssl.h | 493 char *psk_identity_hint; member 944 char *psk_identity_hint; member
|