• Home
  • Raw
  • Download

Lines Matching refs:challenge

71 	BIGNUM *challenge;  in try_agent_authentication()  local
78 if ((challenge = BN_new()) == NULL) in try_agent_authentication()
110 packet_get_bignum(challenge); in try_agent_authentication()
116 if (!ssh_decrypt_challenge(auth, key, challenge, session_id, 1, response)) { in try_agent_authentication()
141 BN_clear_free(challenge); in try_agent_authentication()
151 BN_clear_free(challenge); in try_agent_authentication()
161 respond_to_rsa_challenge(BIGNUM * challenge, RSA * prv) in respond_to_rsa_challenge() argument
169 if (rsa_private_decrypt(challenge, challenge, prv) <= 0) in respond_to_rsa_challenge()
175 len = BN_num_bytes(challenge); in respond_to_rsa_challenge()
181 BN_bn2bin(challenge, buf + sizeof(buf) - len); in respond_to_rsa_challenge()
208 BIGNUM *challenge; in try_rsa_authentication() local
242 if ((challenge = BN_new()) == NULL) in try_rsa_authentication()
244 packet_get_bignum(challenge); in try_rsa_authentication()
295 BN_clear_free(challenge); in try_rsa_authentication()
300 respond_to_rsa_challenge(challenge, private->rsa); in try_rsa_authentication()
307 BN_clear_free(challenge); in try_rsa_authentication()
329 BIGNUM *challenge; in try_rhosts_rsa_authentication() local
356 if ((challenge = BN_new()) == NULL) in try_rhosts_rsa_authentication()
358 packet_get_bignum(challenge); in try_rhosts_rsa_authentication()
364 respond_to_rsa_challenge(challenge, host_key->rsa); in try_rhosts_rsa_authentication()
367 BN_clear_free(challenge); in try_rhosts_rsa_authentication()
391 char *challenge, *response; in try_challenge_response_authentication() local
411 challenge = packet_get_string(&clen); in try_challenge_response_authentication()
413 snprintf(prompt, sizeof prompt, "%s%s", challenge, in try_challenge_response_authentication()
414 strchr(challenge, '\n') ? "" : "\nResponse: "); in try_challenge_response_authentication()
415 xfree(challenge); in try_challenge_response_authentication()