Home
last modified time | relevance | path

Searched refs:psk_identity (Results 1 – 10 of 10) sorted by relevance

/external/boringssl/src/ssl/
Dssl_txt.c174 BIO_printf(bp, "%s", x->psk_identity ? x->psk_identity : "None") <= 0) { in SSL_SESSION_print()
Dssl_asn1.c246 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()
Ds3_srvr.c1626 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()
Ds3_clnt.c1670 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()
Dssl_sess.c634 OPENSSL_free(session->psk_identity); in SSL_SESSION_free()
Dssl_lib.c2486 return s->session->psk_identity; in SSL_get_psk_identity()
/external/boringssl/src/ssl/test/
Dbssl_shim.cc253 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()
Dtest_config.h56 std::string psk_identity; member
Dtest_config.cc101 { "-psk-identity", &TestConfig::psk_identity },
/external/boringssl/src/include/openssl/
Dssl.h643 char *psk_identity; member