Lines Matching refs:SHA1_BLOCKSIZE
43 #define SHA1_BLOCKSIZE 64
51 unsigned char buf[SHA1_BLOCKSIZE];
223 if (sha1->curlen == 0 && inlen >= SHA1_BLOCKSIZE) {
225 sha1->length += SHA1_BLOCKSIZE * 8;
226 in += SHA1_BLOCKSIZE;
227 inlen -= SHA1_BLOCKSIZE;
229 n = Py_MIN(inlen, (Py_ssize_t)(SHA1_BLOCKSIZE - sha1->curlen));
234 if (sha1->curlen == SHA1_BLOCKSIZE) {
236 sha1->length += 8*SHA1_BLOCKSIZE;
436 return PyLong_FromLong(SHA1_BLOCKSIZE);