Lines Matching refs:algorithm
139 int algorithm;
157 if (__opieparsechallenge(challenge, &algorithm, &sequence, &seed, &exts))
167 if (i = opiekeycrunch(algorithm, &key, seed, secret))
181 opiehash(&key, algorithm);
186 if (opiekeycrunch(algorithm, &newkey, newseed, secret))
190 opiehash(&newkey, algorithm);
194 if (snprintf(buf, sizeof(buf), ":%s 499 %s:", algids[algorithm],
250 opiehash(&key, algorithm);
257 if (snprintf(cmd, sizeof(cmd), "S= %d %d %s %s\n", algorithm, sequence,
282 if ((cmd[0] != 'S') || (cmd[1] != '+') || (cmd[2] != ' ') || (strtoul(&cmd[3], &c, 10) != algorithm) || (strtoul(c + 1, &c, 10) != sequence) || strncmp(++c, seed, i) || (*(c + i) != '\n')) {
290 opiehash(&key, algorithm);
297 if ((snprintf(cmd, sizeof(cmd), "s= %d %d %s\n", algorithm, sequence,
322 if ((cmd[0] != 's') || (cmd[2] != ' ') || (strtoul(&cmd[3], &c, 10) != algorithm) || (strtoul(c + 1, &c, 10) != sequence) || strncmp(++c, seed, i)) {
379 opiehash(&key, algorithm);