/freebsd-10.1-release/contrib/opie/libopie/ |
H A D | lookup.c | 16 #include "opie.h" 18 int opielookup FUNCTION((opie, principal), struct opie *opie AND char *principal) 22 memset(opie, 0, sizeof(struct opie)); 23 opie->opie_principal = principal; 25 if (i = __opiereadrec(opie)) 28 return (opie->opie_flags & __OPIE_FLAGS_RW) ? 0 : 2;
|
H A D | readrec.c | 42 #include "opie.h" 44 static int parserec FUNCTION((opie), struct opie *opie) argument 48 if (!(c2 = strchr(opie->opie_principal = opie->opie_buf, ' '))) 62 opie->opie_n = strtoul(c, &c3, 10); 64 if (*c3 || (opie->opie_n <= 0) || (opie->opie_n > 9999)) 68 if (!(c2 = strchr(opie 94 __opiereadrec(opie), struct opie *opie argument [all...] |
H A D | writerec.c | 38 #include "opie.h" 42 int __opiewriterec FUNCTION((opie), struct opie *opie) argument 54 if (!(opie->opie_flags & __OPIE_FLAGS_READ)) { 55 struct opie opie2; 56 i = opielookup(&opie2, opie->opie_principal); 57 opie->opie_flags = opie2.opie_flags; 58 opie->opie_recstart = opie2.opie_recstart; 61 for (c = opie [all...] |
H A D | getsequence.c | 22 #include "opie.h" 24 int opiegetsequence FUNCTION((stateblock), struct opie *stateblock)
|
H A D | passwd.c | 24 #include "opie.h" 26 int opiepasswd FUNCTION((old, flags, principal, n, seed, ks), struct opie *old AND int flags AND char *principal AND int n AND char *seed AND char *ks) 29 struct opie opie; local 37 memset(&opie, 0, sizeof(struct opie)); 40 opie.opie_flags = old->opie_flags; 41 opie.opie_recstart = old->opie_recstart; 44 opie.opie_principal = principal; 45 opie [all...] |
H A D | verify.c | 27 #include "opie.h" 52 static int changed FUNCTION((opie), struct opie *opie) argument 54 struct opie opie2; 56 memset(&opie2, 0, sizeof(struct opie)); 57 opie2.opie_principal = opie->opie_principal; 61 if ((opie2.opie_n != opie->opie_n) || strcmp(opie2.opie_val, opie->opie_val) || strcmp(opie2.opie_seed, opie [all...] |
H A D | challenge.c | 33 #include "opie.h" 54 int opiechallenge FUNCTION((mp, name, ss), struct opie *mp AND char *name AND char *ss)
|
/freebsd-10.1-release/lib/libopie/ |
H A D | opieextra.c | 12 #include <opie.h> 24 struct opie opie; local 26 return opielookup(&opie, username); 42 struct opie opie; local 44 i = opiechallenge(&opie, username, str); 66 struct opie opie; local 68 i = opielookup(&opie, usernam [all...] |
H A D | Makefile | 5 OPIE_DIST?= ${.CURDIR}/../../contrib/opie 13 LIB= opie 20 INCS= ${OPIE_DIST}/opie.h 33 MAN= ${OPIE_DIST}/opie.4 ${OPIE_DIST}/opiekeys.5 ${OPIE_DIST}/opieaccess.5 35 MLINKS= opie.4 skey.4
|
/freebsd-10.1-release/contrib/opie/ |
H A D | opieinfo.c | 45 #include "opie.h" 65 struct opie opie; local 93 if ((i = opielookup(&opie, username)) && (i != 2)) { 101 printf("%d %s\n", opie.opie_n - 1, opie.opie_seed);
|
H A D | opiepasswd.c | 67 #include "opie.h" 87 struct opie opie; local 91 if (opiechallenge(&opie, name, buf)) { 95 printf("\nID %s ", opie.opie_principal); 96 if (opie.opie_val && (opie.opie_val[0] == '*')) { 100 printf("OTP key is %d %s\n", opie.opie_n, opie.opie_seed); 104 if (!opieatob8(&key, opie 118 struct opie opie; local [all...] |
H A D | opie.h | 0 /* opie.h: Data structures and values for the OPIE authentication 25 re-init key and extension file fields to struct opie. Added 26 opie_ prefix on struct opie members. Added opie_flags field 45 struct opie { struct 119 int opiechallenge __P((struct opie *,char *,char *)); 121 int opiegetsequence __P((struct opie *)); 129 int opielookup __P((struct opie *,char *)); 134 int opieverify __P((struct opie *,char *)); 135 int opiepasswd __P((struct opie *, int, char *, int, char *, char *)); 158 int __opiereadrec __P((struct opie *)); [all...] |
H A D | opieserv.c | 20 #include "opie.h" 24 struct opie opie; local 43 switch (result = opiechallenge(&opie, principal, challenge)) { 69 switch (result = opieverify(&opie, response)) {
|
H A D | opiesu.c | 100 #include "opie.h" 246 struct opie opie; local 400 i = opiechallenge(&opie, user, opieprompt); 431 int i = opiegetsequence(&opie); 432 if (!opieverify(&opie, pbuf)) { 444 opieverify(&opie, "");
|
H A D | opietest.c | 31 #include "opie.h" 117 struct opie testin; 282 printf("(%2d/%2d) testing opie%s... ", testn++, ntests, opietest->n); 306 printf(" opie%s\n", opietest->n);
|
H A D | opielogin.c | 154 #include "opie.h" 219 static struct opie opie; variable in typeref:struct:opie 327 opieverify(&opie, NULL); 1098 i = opiechallenge(&opie, name, opieprompt); 1160 i = opiegetsequence(&opie); 1161 opiepassed = !opieverify(&opie, buf);
|
H A D | Makefile.in | 28 # Removed opie-md4, opie-md5, and key aliases. Removed 123 BACKUP=opie.old
|
H A D | opieftpd.c | 140 #include "opie.h" 230 static struct opie opiestate;
|
/freebsd-10.1-release/lib/libpam/modules/pam_opieaccess/ |
H A D | pam_opieaccess.c | 41 #include <opie.h> 56 struct opie opie; local 68 if (pwent == NULL || opielookup(&opie, __DECONST(char *, luser)) != 0)
|
/freebsd-10.1-release/lib/libpam/modules/pam_opie/ |
H A D | pam_opie.c | 42 #include <opie.h> 61 struct opie opie; local 105 if (opiechallenge(&opie, principal, challenge) != 0 && 142 retval = opieverify(&opie, response);
|
/freebsd-10.1-release/usr.bin/opieinfo/ |
H A D | Makefile | 3 OPIE_DIST?= ${.CURDIR}/../../contrib/opie
|
/freebsd-10.1-release/usr.bin/opiepasswd/ |
H A D | Makefile | 3 OPIE_DIST?= ${.CURDIR}/../../contrib/opie
|
/freebsd-10.1-release/usr.bin/opiekey/ |
H A D | Makefile | 3 OPIE_DIST?= ${.CURDIR}/../../contrib/opie
|
/freebsd-10.1-release/libexec/ftpd/ |
H A D | ftpd.c | 78 #include <opie.h> 179 static struct opie opiedata;
|