Home | History | Annotate | Download | only in pppd

Lines Matching defs:SHA_DIGESTSIZE

75 #ifndef SHA_DIGESTSIZE
76 #define SHA_DIGESTSIZE 20
321 u_char dig[SHA_DIGESTSIZE];
651 u_char clear[8], cipher[8], dig[SHA_DIGESTSIZE], *optr, *cp;
767 BCOPY(t_serverresponse(ts), outp, SHA_DIGESTSIZE);
768 INCPTR(SHA_DIGESTSIZE, outp);
808 i %= SHA_DIGESTSIZE;
810 while (i < SHA_DIGESTSIZE) {
826 while (cp < dig + SHA_DIGESTSIZE)
832 SHA1Update(&ctxt, optr - SHA_DIGESTSIZE,
833 SHA_DIGESTSIZE);
1158 SHA_DIGESTSIZE;
1163 BCOPY(str, outp, SHA_DIGESTSIZE);
1256 u_char dig[SHA_DIGESTSIZE];
1265 if ((dsize = len % SHA_DIGESTSIZE) == 0)
1266 dsize = SHA_DIGESTSIZE;
1273 SHA1Update(&ctxt, datp, SHA_DIGESTSIZE);
1279 for (digp = dig; digp < dig + SHA_DIGESTSIZE; digp++)
1328 u_char dig[SHA_DIGESTSIZE];
1643 len -= sizeof (u_int32_t) + SHA_DIGESTSIZE;
1653 INCPTR(SHA_DIGESTSIZE, inp);
1680 SHA_DIGESTSIZE);
1737 u_char dig[SHA_DIGESTSIZE];
1927 if (len < sizeof (u_int32_t) + SHA_DIGESTSIZE) {
1929 sizeof (u_int32_t) + SHA_DIGESTSIZE);
1966 if (len != SHA_DIGESTSIZE) {
1980 if (BCMP(dig, inp, SHA_DIGESTSIZE) != 0) {
2284 if ((vallen = len) > SHA_DIGESTSIZE)
2285 vallen = SHA_DIGESTSIZE;
2287 len < SHA_DIGESTSIZE ? "?" : "");
2391 len == SHA_DIGESTSIZE ? "" : "?");
2401 len == SHA_DIGESTSIZE ? "" : "?");
2402 if ((vallen = len) > SHA_DIGESTSIZE)
2403 vallen = SHA_DIGESTSIZE;