Lines Matching defs:challenge
95 static Block challenge = { 0 };
204 * the challenge, and verify it when the response comes back.
212 des_ecb_encrypt(&session_key, &challenge, sched, 0);
214 * Increment the challenge by 1, and encrypt it for
219 x = (unsigned int)challenge[i] + 1;
220 challenge[i] = x; /* ignore overflow */
224 des_ecb_encrypt(&challenge, &challenge, sched, 1);
304 * Take the received encrypted challenge, and encrypt
314 * Now decrypt the received encrypted challenge,
317 des_ecb_encrypt(&datablock, &challenge, sched, 0);
320 t = (unsigned int)challenge[r] + 1;
321 challenge[r] = t; /* ignore overflow */
325 des_ecb_encrypt(&challenge, &challenge, sched, 1);
326 Data(ap, KRB_RESPONSE, challenge, sizeof(challenge));
360 * Send over the encrypted challenge.
380 * Verify that the response to the challenge is correct.
383 (0 != memcmp((void *)data, (void *)challenge,
384 sizeof(challenge))))
387 printf("[ Kerberos V4 challenge failed!!! ]\r\n");
392 printf("[ Kerberos V4 challenge successful ]\r\n");