Lines Matching refs:SSH_BLOCKSIZE
52 #define SSH_BLOCKSIZE (8) macro
62 #define HASH_MINBLOCKS (7*SSH_BLOCKSIZE)
68 #define CMP(a, b) (memcmp(a, b, SSH_BLOCKSIZE))
85 for (c = buf; c < buf + len; c += SSH_BLOCKSIZE) { in check_crc()
112 if (len > (SSH_MAXBLOCKS * SSH_BLOCKSIZE) || in detect_attack()
113 len % SSH_BLOCKSIZE != 0) in detect_attack()
115 for (l = dctx->n; l < HASH_FACTOR(len / SSH_BLOCKSIZE); l = l << 2) in detect_attack()
136 for (c = buf; c < buf + len; c += SSH_BLOCKSIZE) { in detect_attack()
137 for (d = buf; d < c; d += SSH_BLOCKSIZE) { in detect_attack()
150 for (c = buf, same = j = 0; c < (buf + len); c += SSH_BLOCKSIZE, j++) { in detect_attack()
153 if (!CMP(c, buf + dctx->h[i] * SSH_BLOCKSIZE)) { in detect_attack()