Home
last modified time | relevance | path

Searched refs:OPIE_SEED_MAX (Results 1 – 8 of 8) sorted by relevance

/NextBSD/contrib/opie/libopie/
HDnewseed.c54 if ((i = strlen(seed)) > OPIE_SEED_MAX)
55 i = OPIE_SEED_MAX;
90 if (snprintf(seed, OPIE_SEED_MAX+1, "%s%04d", utsname.nodename,
91 (rand() % 9999) + 1) >= OPIE_SEED_MAX+1)
HDgenerator.c148 char cmd[1+1+1+1+4+1+OPIE_SEED_MAX+1+4+1+4+1+4+1+4+1];
175 char newseed[OPIE_SEED_MAX + 1];
178 char buf[OPIE_SEED_MAX + 48 + 1];
HDrandomchallenge.c42 char buf[OPIE_SEED_MAX+1];
HDparsechallenge.c68 if ((i > OPIE_SEED_MAX) || (i < OPIE_SEED_MIN))
/NextBSD/contrib/opie/
HDopiepasswd.c120 char seed[OPIE_SEED_MAX+1];
164 if ((i > OPIE_SEED_MAX) || (i < OPIE_SEED_MIN)) {
166 OPIE_SEED_MIN, OPIE_SEED_MAX);
209 if (i > OPIE_SEED_MAX) {
210 fprintf(stderr, "Seeds must be less than %d characters long.", OPIE_SEED_MAX);
243 char oseed[OPIE_SEED_MAX + 1];
278 char nseed[OPIE_SEED_MAX + 1];
HDopie.h70 #define OPIE_SEED_MAX 16 macro
76 #define OPIE_CHALLENGE_MAX (4+OPIE_HASHNAME_MAX+1+4+1+OPIE_SEED_MAX+1+3)
79 #define OPIE_RESPONSE_MAX (9+1+19+1+9+OPIE_SEED_MAX+1+19+1+19+1+19)
HDopiekey.c141 char *seed, newseed[OPIE_SEED_MAX + 1];
234 if (i > OPIE_SEED_MAX) {
235 fprintf(stderr, "Seeds must be less than %d characters long.\n", OPIE_SEED_MAX);
295 char buf[OPIE_SEED_MAX + 48 + 1];
HDopieauto.c50 char cmd[1+1+1+1+4+1+OPIE_SEED_MAX+1+4+1+4+1+4+1+4+1];
56 char seed[OPIE_SEED_MAX+1];
174 opiestrncpy((*c)->seed, seed, OPIE_SEED_MAX); in doreq()