Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Dssl_asn1.c264 if (in->psk_identity) { in SSL_SESSION_to_bytes_full()
267 !CBB_add_bytes(&child2, (const uint8_t *)in->psk_identity, in SSL_SESSION_to_bytes_full()
268 strlen(in->psk_identity))) { in SSL_SESSION_to_bytes_full()
590 !SSL_SESSION_parse_string(&session, &ret->psk_identity, in SSL_SESSION_parse()
Ds3_srvr.c1485 CBS psk_identity; in ssl3_get_client_key_exchange() local
1489 if (!CBS_get_u16_length_prefixed(&client_key_exchange, &psk_identity) || in ssl3_get_client_key_exchange()
1502 if (CBS_len(&psk_identity) > PSK_MAX_IDENTITY_LEN || in ssl3_get_client_key_exchange()
1503 CBS_contains_zero_byte(&psk_identity)) { in ssl3_get_client_key_exchange()
1509 if (!CBS_strdup(&psk_identity, &ssl->session->psk_identity)) { in ssl3_get_client_key_exchange()
1516 psk_len = ssl->psk_server_callback(ssl, ssl->session->psk_identity, psk, in ssl3_get_client_key_exchange()
Ds3_clnt.c1612 OPENSSL_free(ssl->session->psk_identity); in ssl3_send_client_key_exchange()
1613 ssl->session->psk_identity = BUF_strdup(identity); in ssl3_send_client_key_exchange()
1614 if (ssl->session->psk_identity == NULL) { in ssl3_send_client_key_exchange()
Dssl_session.c202 OPENSSL_free(session->psk_identity); in SSL_SESSION_free()
Dssl_lib.c2128 return ssl->session->psk_identity; in SSL_get_psk_identity()
/external/boringssl/src/ssl/test/
Dtest_config.h56 std::string psk_identity; member
Dbssl_shim.cc470 if (strcmp(hint ? hint : "", config->psk_identity.c_str()) != 0) { in PskClientCallback()
476 if (config->psk_identity.size() >= max_identity_len || in PskClientCallback()
482 BUF_strlcpy(out_identity, config->psk_identity.c_str(), in PskClientCallback()
492 if (strcmp(identity, config->psk_identity.c_str()) != 0) { in PskServerCallback()
1204 if (!config->psk_identity.empty() && in DoExchange()
1205 !SSL_use_psk_identity_hint(ssl.get(), config->psk_identity.c_str())) { in DoExchange()
Dtest_config.cc118 { "-psk-identity", &TestConfig::psk_identity },
/external/boringssl/src/include/openssl/
Dssl.h3368 char *psk_identity; member