Searched refs:psk_identity (Results 1 – 8 of 8) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_asn1.cc | 246 if (in->psk_identity) { in SSL_SESSION_to_bytes_full() 249 (const uint8_t *)in->psk_identity.get(), in SSL_SESSION_to_bytes_full() 250 strlen(in->psk_identity.get()))) { in SSL_SESSION_to_bytes_full() 604 if (!SSL_SESSION_parse_string(&session, &ret->psk_identity, in SSL_SESSION_parse()
|
D | handshake_server.cc | 1164 CBS psk_identity; in do_read_client_key_exchange() local 1168 if (!CBS_get_u16_length_prefixed(&client_key_exchange, &psk_identity) || in do_read_client_key_exchange() 1175 if (CBS_len(&psk_identity) > PSK_MAX_IDENTITY_LEN || in do_read_client_key_exchange() 1176 CBS_contains_zero_byte(&psk_identity)) { in do_read_client_key_exchange() 1182 if (!CBS_strdup(&psk_identity, &raw)) { in do_read_client_key_exchange() 1187 hs->new_session->psk_identity.reset(raw); in do_read_client_key_exchange() 1305 ssl, hs->new_session->psk_identity.get(), psk, sizeof(psk)); in do_read_client_key_exchange()
|
D | ssl_session.cc | 210 if (session->psk_identity != nullptr) { in SSL_SESSION_dup() 211 new_session->psk_identity.reset(BUF_strdup(session->psk_identity.get())); in SSL_SESSION_dup() 212 if (new_session->psk_identity == nullptr) { in SSL_SESSION_dup()
|
D | handshake_client.cc | 1294 hs->new_session->psk_identity.reset(BUF_strdup(identity)); in do_send_client_key_exchange() 1295 if (hs->new_session->psk_identity == nullptr) { in do_send_client_key_exchange()
|
D | internal.h | 3299 bssl::UniquePtr<char> psk_identity;
|
D | ssl_lib.cc | 2579 return session->psk_identity.get(); in SSL_get_psk_identity()
|
/external/boringssl/src/ssl/test/ |
D | test_config.cc | 171 { "-psk-identity", &TestConfig::psk_identity }, 1360 if (config->psk_identity.empty()) { in PskClientCallback() 1366 strcmp(hint, config->psk_identity.c_str()) != 0) { in PskClientCallback() 1372 if (config->psk_identity.size() >= max_identity_len || in PskClientCallback() 1378 BUF_strlcpy(out_identity, config->psk_identity.c_str(), max_identity_len); in PskClientCallback() 1387 if (strcmp(identity, config->psk_identity.c_str()) != 0) { in PskServerCallback() 1555 if (!psk_identity.empty() && in NewSSL() 1556 !SSL_use_psk_identity_hint(ssl.get(), psk_identity.c_str())) { in NewSSL()
|
D | test_config.h | 74 std::string psk_identity; member
|