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

/freebsd-9.3-release/contrib/opie/libopie/
H A Drandomchallenge.c39 char buf[OPIE_SEED_MAX+1];
H A Dnewseed.c49 if ((i = strlen(seed)) > OPIE_SEED_MAX)
50 i = OPIE_SEED_MAX;
85 if (snprintf(seed, OPIE_SEED_MAX+1, "%s%04d", utsname.nodename,
86 (rand() % 9999) + 1) >= OPIE_SEED_MAX+1)
H A Dparsechallenge.c66 if ((i > OPIE_SEED_MAX) || (i < OPIE_SEED_MIN))
H A Dgenerator.c147 char cmd[1+1+1+1+4+1+OPIE_SEED_MAX+1+4+1+4+1+4+1+4+1];
174 char newseed[OPIE_SEED_MAX + 1];
177 char buf[OPIE_SEED_MAX + 48 + 1];
/freebsd-9.3-release/contrib/opie/
H A Dopie.h70 #define OPIE_SEED_MAX 16 macro
76 #define OPIE_CHALLENGE_MAX (4+OPIE_HASHNAME_MAX+1+4+1+OPIE_SEED_MAX)
79 #define OPIE_RESPONSE_MAX (9+1+19+1+9+OPIE_SEED_MAX+1+19+1+19+1+19)
H A Dopiepasswd.c19 Modified by cmetz for OPIE 2.32. Use OPIE_SEED_MAX instead of
120 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];
H A Dopiekey.c140 char *seed, newseed[OPIE_SEED_MAX + 1];
233 if (i > OPIE_SEED_MAX) {
234 fprintf(stderr, "Seeds must be less than %d characters long.\n", OPIE_SEED_MAX);
294 char buf[OPIE_SEED_MAX + 48 + 1];
H A Dopieauto.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);

Completed in 81 milliseconds