HomeSort by relevance Sort by last modified time
    Searched defs:challenge (Results 1 - 25 of 69) sorted by null

1 2 3

  /external/openssh/
auth-bsdauth.c 55 char *challenge = NULL; local
59 challenge = auth_getitem(authctxt->as, AUTHV_CHALLENGE);
60 if (challenge == NULL) {
66 if (challenge == NULL) {
71 authctxt->style, "auth-ssh", &challenge);
73 challenge = NULL;
74 debug2("bsdauth_query: <%s>", challenge ? challenge : "empty");
77 if (challenge == NULL)
85 (*prompts)[0] = xstrdup(challenge);
    [all...]
auth-skey.c 56 char challenge[1024]; local
59 if (_compat_skeychallenge(&skey, authctxt->user, challenge,
60 sizeof(challenge)) == -1)
69 xasprintf(*prompts, "%s%s", challenge, SKEY_PROMPT);
auth-chall.c 48 char *challenge, *name, *info, **prompts; local
70 challenge = xstrdup(prompts[0]);
78 return (challenge);
auth-rsa.c 73 BIGNUM *challenge; local
76 if ((challenge = BN_new()) == NULL)
78 /* Generate a random challenge. */
79 if (BN_rand(challenge, 256, 0, 0) == 0)
83 if (BN_mod(challenge, challenge, key->rsa->n, ctx) == 0)
87 return challenge;
91 auth_rsa_verify_response(Key *key, BIGNUM *challenge, u_char response[16])
104 /* The response is MD5 of decrypted challenge plus session id. */
105 len = BN_num_bytes(challenge);
133 BIGNUM *challenge, *encrypted_challenge; local
    [all...]
auth1.c 77 SSH_CMSG_AUTH_TIS, "challenge-response",
82 SSH_CMSG_AUTH_TIS_RESPONSE, "challenge-response",
205 char *challenge; local
207 if ((challenge = get_challenge(authctxt)) == NULL)
210 debug("sending challenge '%s'", challenge);
212 packet_put_cstring(challenge);
213 xfree(challenge);
287 * If we started challenge-response authentication but the
288 * next packet is not a response to our challenge, releas
    [all...]
sshconnect1.c 71 BIGNUM *challenge; local
78 if ((challenge = BN_new()) == NULL)
105 /* Otherwise it should have sent a challenge. */
110 packet_get_bignum(challenge);
113 debug("Received RSA challenge from server.");
115 /* Ask the agent to decrypt the challenge. */
116 if (!ssh_decrypt_challenge(auth, key, challenge, session_id, 1, response)) {
122 logit("Authentication agent failed to decrypt challenge.");
126 debug("Sending response to RSA challenge.");
128 /* Send the decrypted challenge back to the server. *
208 BIGNUM *challenge; local
329 BIGNUM *challenge; local
391 char *challenge, *response; local
    [all...]
  /external/chromium/net/http/
http_auth_handler_basic_unittest.cc 35 std::string challenge = "Basic realm=\"Atlantis\""; local
38 challenge, HttpAuth::AUTH_SERVER, origin, BoundNetLog(), &basic));
52 const char* challenge; member in struct:net::__anon4477
55 // The handler is initialized using this challenge. The first
57 // to treat the second challenge as a rejection since it is for
64 // A challenge for a different realm.
72 // challenge should be treated as being for "First" realm.
89 tests[0].challenge, HttpAuth::AUTH_SERVER, origin,
93 std::string challenge(tests[i].challenge);
102 const char* challenge; member in struct:net::__anon4478
178 std::string challenge = tests[i].challenge; local
    [all...]
http_auth_handler_unittest.cc 22 std::string challenge = "Mock asdf"; local
39 challenge.begin(), challenge.end());
http_auth.cc 35 // Choose the challenge whose authentication handler gives the maximum score.
46 << ErrorToString(rv) << " Challenge: " << cur_challenge;
73 std::string challenge; local
76 while (headers->EnumerateHeader(&iter, header_name, &challenge)) {
77 HttpAuth::ChallengeTokenizer props(challenge.begin(), challenge.end());
82 *challenge_used = challenge;
http_auth_handler.h 28 // Initializes the handler using a challenge issued by a server.
29 // |challenge| must be non-NULL and have already tokenized the
32 // for later use, and are not part of the initial challenge.
33 bool InitFromChallenge(HttpAuth::ChallengeTokenizer* challenge,
43 // NTLM+Negotiate it may indicate that another round of challenge+response
46 // be made with a different nonce provided in the challenge.
48 // |challenge| must be non-NULL and have already tokenized the
52 HttpAuth::ChallengeTokenizer* challenge) = 0;
88 // The challenge which was issued when creating the handler.
89 const std::string challenge() const function in class:net::HttpAuthHandler
    [all...]
http_auth_handler_digest_unittest.cc 24 // |challenge|, and generates a response to the challenge which is returned in
30 // of the |challenge|. Otherwise, the scheme and host and port of |request_url|
31 // indicates the origin of the challenge.
35 const std::string& challenge,
44 EXPECT_FALSE(challenge.empty());
54 // Create a handler for a particular challenge.
57 challenge, target, url_origin.GetOrigin(), BoundNetLog(), &handler);
63 // Create a token in response to the challenge.
87 // The challenge string
88 const char* challenge; member in struct:net::__anon4480
374 const char* challenge; member in struct:net::__anon4481
    [all...]
  /external/webkit/Source/WebKit/mac/Panels/
WebAuthenticationPanel.h 48 NSURLAuthenticationChallenge *challenge; variable
  /external/webkit/Source/WebKit2/WebProcess/Authentication/
AuthenticationManager.cpp 86 AuthenticationChallenge challenge = m_challenges.take(challengeID); local
87 ASSERT(!challenge.isNull());
88 AuthenticationClient* coreClient = challenge.authenticationClient();
90 // This authentication challenge comes from a download.
91 Download::receivedCredential(challenge, credential);
96 coreClient->receivedCredential(challenge, credential);
101 AuthenticationChallenge challenge = m_challenges.take(challengeID); local
102 ASSERT(!challenge.isNull());
103 AuthenticationClient* coreClient = challenge.authenticationClient();
105 // This authentication challenge comes from a download
115 AuthenticationChallenge challenge = m_challenges.take(challengeID); local
    [all...]
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_peer/
eap_md5.c 40 const u8 *pos, *challenge, *password; local
61 * CHAP Challenge:
62 * Value-Size (1 octet) | Value(Challenge) | Name(optional)
66 wpa_printf(MSG_INFO, "EAP-MD5: Invalid challenge "
73 challenge = pos;
74 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Challenge",
75 challenge, challenge_len);
77 wpa_printf(MSG_DEBUG, "EAP-MD5: Generating Challenge Response");
95 chap_md5(id, password, password_len, challenge, challenge_len, rpos);
  /external/wpa_supplicant_6/wpa_supplicant/tests/
test_ms_funcs.c 31 u8 challenge[] = { 0xD0, 0x2E, 0x43, 0x86, 0xBC, 0xE9, 0x12, 0x26 }; local
67 if (memcmp(challenge, buf, sizeof(challenge)) != 0) {
  /external/wpa_supplicant_8/src/eap_peer/
eap_md5.c 34 const u8 *pos, *challenge, *password; local
55 * CHAP Challenge:
56 * Value-Size (1 octet) | Value(Challenge) | Name(optional)
60 wpa_printf(MSG_INFO, "EAP-MD5: Invalid challenge "
67 challenge = pos;
68 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Challenge",
69 challenge, challenge_len);
71 wpa_printf(MSG_DEBUG, "EAP-MD5: Generating Challenge Response");
89 if (chap_md5(id, password, password_len, challenge, challenge_len,
  /external/apache-http/src/org/apache/http/impl/auth/
NTLMScheme.java 59 private String challenge; field in class:NTLMScheme
68 this.challenge = null;
92 String challenge = buffer.substringTrimmed(pos, len); local
93 if (challenge.length() == 0) {
99 this.challenge = null;
102 this.challenge = challenge;
129 this.challenge);
  /external/apache-http/src/org/apache/http/impl/client/
AbstractAuthenticationHandler.java 134 Header challenge = challenges.get(id.toLowerCase(Locale.ENGLISH)); local
136 if (challenge != null) {
151 this.log.debug("Challenge for " + id + " authentication scheme not available");
  /external/chromium/net/websockets/
websocket_handshake_handler_unittest.cc 198 std::string challenge; local
200 request_handler.GetRequestInfo(url, &challenge);
219 EXPECT_EQ(expected_challenge, challenge);
245 EXPECT_TRUE(response_handler.ParseResponseInfo(response_info, challenge));
282 std::string challenge; local
284 ASSERT_TRUE(request_handler.GetRequestHeaderBlock(url, &headers, &challenge));
304 EXPECT_EQ(expected_challenge, challenge);
313 EXPECT_TRUE(response_handler.ParseResponseHeaderBlock(headers, challenge));
352 std::string challenge; local
354 ASSERT_TRUE(request_handler.GetRequestHeaderBlock(url, &headers, &challenge));
    [all...]
  /external/libppp/src/
chap.h 53 } challenge; member in struct:chap
  /external/openssl/apps/
spkac.c 92 char *challenge = NULL, *keyfile = NULL; local
132 else if (strcmp(*argv,"-challenge") == 0)
135 challenge= *(++argv);
174 BIO_printf(bio_err," -challenge arg challenge string\n");
203 if(challenge) ASN1_STRING_set(spki->spkac->challenge,
204 challenge, (int)strlen(challenge));
  /external/wpa_supplicant_6/wpa_supplicant/src/eap_server/
eap_md5.c 25 u8 challenge[CHALLENGE_LEN]; member in struct:eap_md5_data
55 if (os_get_random(data->challenge, CHALLENGE_LEN)) {
71 wpabuf_put_data(req, data->challenge, CHALLENGE_LEN);
72 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Challenge", data->challenge,
128 data->challenge, CHALLENGE_LEN, hash);
  /external/wpa_supplicant_8/src/eap_server/
eap_server_md5.c 20 u8 challenge[CHALLENGE_LEN]; member in struct:eap_md5_data
50 if (random_get_bytes(data->challenge, CHALLENGE_LEN)) {
66 wpabuf_put_data(req, data->challenge, CHALLENGE_LEN);
67 wpa_hexdump(MSG_MSGDUMP, "EAP-MD5: Challenge", data->challenge,
123 data->challenge, CHALLENGE_LEN, hash)) {
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
ms_funcs.c 30 * @challenge: 8-octet Challenge (OUT)
34 u8 *challenge)
48 os_memcpy(challenge, hash, 8);
93 * @challenge: 8-octet Challenge (IN)
97 void challenge_response(const u8 *challenge, const u8 *password_hash,
101 des_encrypt(challenge, password_hash, response);
102 des_encrypt(challenge, password_hash + 7, response + 8);
106 des_encrypt(challenge, zpwd, response + 16)
125 u8 challenge[8]; local
150 u8 challenge[8]; local
189 u8 password_hash_hash[16], challenge[8]; local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/net/http/
DefaultHttpClientTest.java 126 String challenge = "Digest realm=\"protected area\", " local
130 digestScheme.processChallenge(new BasicHeader("WWW-Authenticate", challenge));

Completed in 2036 milliseconds

1 2 3