Searched refs:psk_identity (Results 1 – 9 of 9) sorted by relevance
/external/boringssl/src/ssl/ |
D | ssl_asn1.c | 264 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()
|
D | s3_srvr.c | 1485 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()
|
D | s3_clnt.c | 1612 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()
|
D | ssl_session.c | 202 OPENSSL_free(session->psk_identity); in SSL_SESSION_free()
|
D | ssl_lib.c | 2128 return ssl->session->psk_identity; in SSL_get_psk_identity()
|
/external/boringssl/src/ssl/test/ |
D | test_config.h | 56 std::string psk_identity; member
|
D | bssl_shim.cc | 470 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()
|
D | test_config.cc | 118 { "-psk-identity", &TestConfig::psk_identity },
|
/external/boringssl/src/include/openssl/ |
D | ssl.h | 3368 char *psk_identity; member
|