Home
last modified time | relevance | path

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

/external/openscreen/cast/receiver/channel/
Ddevice_auth_namespace_handler.cc112 std::unique_ptr<AuthResponse> auth_response(new AuthResponse()); in OnMessage() local
113 auth_response->set_client_auth_certificate(device_creds.certs[0]); in OnMessage()
116 auth_response->add_intermediate_certificate(*it); in OnMessage()
118 auth_response->set_signature_algorithm(::cast::channel::RSASSA_PKCS1v15); in OnMessage()
119 auth_response->set_hash_algorithm(hash_alg); in OnMessage()
123 auth_response->set_sender_nonce(sender_nonce); in OnMessage()
126 auth_response->set_crl(device_creds.serialized_crl); in OnMessage()
141 auth_response->set_signature(std::move(signature.value())); in OnMessage()
144 response_auth_message.set_allocated_response(auth_response.release()); in OnMessage()
Ddevice_auth_namespace_handler_unittest.cc110 const AuthResponse& auth_response = auth_message.response(); in TEST_F() local
112 EXPECT_EQ(expected_auth_response.signature(), auth_response.signature()); in TEST_F()
114 auth_response.client_auth_certificate()); in TEST_F()
116 auth_response.signature_algorithm()); in TEST_F()
118 auth_response.sender_nonce()); in TEST_F()
120 auth_response.hash_algorithm()); in TEST_F()
121 EXPECT_EQ(expected_auth_response.crl(), auth_response.crl()); in TEST_F()
123 auth_response.intermediate_certificate(), in TEST_F()
173 const AuthResponse& auth_response = auth_message.response(); in TEST_F() local
176 EXPECT_NE(expected_auth_response.signature(), auth_response.signature()); in TEST_F()
/external/openscreen/cast/sender/channel/
Dcast_auth_util_unittest.cc178 AuthResponse auth_response = in TEST_F() local
183 VerifyCredentialsForTest(auth_response, signed_data, in TEST_F()
191 AuthResponse auth_response = in TEST_F() local
193 MangleString(auth_response.mutable_intermediate_certificate(0)); in TEST_F()
195 VerifyCredentials(auth_response, signed_data); in TEST_F()
202 AuthResponse auth_response = in TEST_F() local
204 MangleString(auth_response.mutable_client_auth_certificate()); in TEST_F()
206 VerifyCredentials(auth_response, signed_data); in TEST_F()
213 AuthResponse auth_response = in TEST_F() local
215 MangleString(auth_response.mutable_signature()); in TEST_F()
[all …]
/external/wpa_supplicant_8/src/eap_peer/
Dmschapv2.c41 u8 *nt_response, u8 *auth_response, in mschapv2_derive_response() argument
72 auth_response)) in mschapv2_derive_response()
86 auth_response)) in mschapv2_derive_response()
92 auth_response, MSCHAPV2_AUTH_RESPONSE_LEN); in mschapv2_derive_response()
112 int mschapv2_verify_auth_response(const u8 *auth_response, in mschapv2_verify_auth_response() argument
120 os_memcmp_const(auth_response, recv_response, in mschapv2_verify_auth_response()
Dmschapv2.h23 u8 *nt_response, u8 *auth_response,
25 int mschapv2_verify_auth_response(const u8 *auth_response,
Deap_mschapv2.c79 u8 auth_response[MSCHAPV2_AUTH_RESPONSE_LEN]; member
208 data->auth_response, data->master_key)) { in eap_mschapv2_challenge_reply()
356 mschapv2_verify_auth_response(data->auth_response, pos, len)) { in eap_mschapv2_success()
609 cp->nt_response, data->auth_response); in eap_mschapv2_change_password()
Deap_ttls.c51 u8 auth_response[MSCHAPV2_AUTH_RESPONSE_LEN]; member
574 peer_challenge, pos, data->auth_response, in eap_ttls_phase2_request_mschapv2()
1208 mschapv2_verify_auth_response(data->auth_response, in eap_ttls_process_phase2_mschapv2()
/external/ppp/pppd/
Dchap_ms.c331 unsigned char auth_response[MS_AUTH_RESPONSE_LENGTH]; member
343 unsigned char *auth_response) in chapms2_add_to_response_cache() argument
351 memcpy(chapms2_response_cache[i].auth_response, in chapms2_add_to_response_cache()
352 auth_response, MS_AUTH_RESPONSE_LENGTH); in chapms2_add_to_response_cache()
362 unsigned char *auth_response) in chapms2_find_in_response_cache() argument
372 && (!auth_response in chapms2_find_in_response_cache()
373 || memcmp(auth_response, in chapms2_find_in_response_cache()
374 chapms2_response_cache[i].auth_response, in chapms2_find_in_response_cache()
389 unsigned char auth_response[MS_AUTH_RESPONSE_LENGTH+1]; in chapms2_make_response() local
404 our_name, secret, secret_len, response, auth_response, in chapms2_make_response()
[all …]
/external/wpa_supplicant_8/src/eap_server/
Deap_server_mschapv2.c50 u8 auth_response[20]; member
149 ms_len = sizeof(*ms) + 2 + 2 * sizeof(data->auth_response) + 1 + 2 + in eap_mschapv2_build_success_req()
169 wpabuf_put(req, sizeof(data->auth_response) * 2), in eap_mschapv2_build_success_req()
170 sizeof(data->auth_response) * 2 + 1, in eap_mschapv2_build_success_req()
171 data->auth_response, sizeof(data->auth_response)); in eap_mschapv2_build_success_req()
432 data->auth_response) < 0 || in eap_mschapv2_process_response()