Searched refs:psk_identity (Results 1 – 10 of 10) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_txt.c | 174 BIO_printf(bp, "%s", x->psk_identity ? x->psk_identity : "None") <= 0) { in SSL_SESSION_print()
|
D | ssl_asn1.c | 246 if (in->psk_identity) { in SSL_SESSION_to_bytes_full() 249 !CBB_add_bytes(&child2, (const uint8_t *)in->psk_identity, in SSL_SESSION_to_bytes_full() 250 strlen(in->psk_identity))) { in SSL_SESSION_to_bytes_full() 449 !d2i_SSL_SESSION_get_string(&session, &ret->psk_identity, in d2i_SSL_SESSION()
|
D | s3_srvr.c | 1626 CBS psk_identity; in ssl3_get_client_key_exchange() local 1630 if (!CBS_get_u16_length_prefixed(&client_key_exchange, &psk_identity) || in ssl3_get_client_key_exchange() 1644 if (CBS_len(&psk_identity) > PSK_MAX_IDENTITY_LEN || in ssl3_get_client_key_exchange() 1645 CBS_contains_zero_byte(&psk_identity)) { in ssl3_get_client_key_exchange() 1652 if (!CBS_strdup(&psk_identity, &s->session->psk_identity)) { in ssl3_get_client_key_exchange() 1661 s->psk_server_callback(s, s->session->psk_identity, psk, sizeof(psk)); in ssl3_get_client_key_exchange()
|
D | s3_clnt.c | 1670 OPENSSL_free(s->session->psk_identity); in ssl3_send_client_key_exchange() 1671 s->session->psk_identity = BUF_strdup(identity); in ssl3_send_client_key_exchange() 1672 if (s->session->psk_identity == NULL) { in ssl3_send_client_key_exchange()
|
D | ssl_sess.c | 634 OPENSSL_free(session->psk_identity); in SSL_SESSION_free()
|
D | ssl_lib.c | 2486 return s->session->psk_identity; in SSL_get_psk_identity()
|
/external/boringssl/src/ssl/test/ |
D | bssl_shim.cc | 253 if (strcmp(hint ? hint : "", config->psk_identity.c_str()) != 0) { in PskClientCallback() 259 if (config->psk_identity.size() >= max_identity_len || in PskClientCallback() 265 BUF_strlcpy(out_identity, config->psk_identity.c_str(), in PskClientCallback() 275 if (strcmp(identity, config->psk_identity.c_str()) != 0) { in PskServerCallback() 624 if (!config->psk_identity.empty() && in DoExchange() 625 !SSL_use_psk_identity_hint(ssl.get(), config->psk_identity.c_str())) { in DoExchange()
|
D | test_config.h | 56 std::string psk_identity; member
|
D | test_config.cc | 101 { "-psk-identity", &TestConfig::psk_identity },
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 643 char *psk_identity; member
|