Home
last modified time | relevance | path

Searched refs:SSH_BLOCKSIZE (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/ssh/libssh/common/
H A Ddeattack.c52 #define SSH_BLOCKSIZE (8) macro
62 #define HASH_MINBLOCKS (7*SSH_BLOCKSIZE)
68 #define CMP(a, b) (memcmp(a, b, SSH_BLOCKSIZE))
90 for (c = buf; c < buf + len; c += SSH_BLOCKSIZE) { in check_crc()
114 if (len > (SSH_MAXBLOCKS * SSH_BLOCKSIZE) || in detect_attack()
115 len % SSH_BLOCKSIZE != 0) { in detect_attack()
118 for (l = n; l < HASH_FACTOR(len / SSH_BLOCKSIZE); l = l << 2) in detect_attack()
133 for (c = buf; c < buf + len; c += SSH_BLOCKSIZE) { in detect_attack()
140 for (d = buf; d < c; d += SSH_BLOCKSIZE) { in detect_attack()
156 for (c = buf, same = j = 0; c < (buf + len); c += SSH_BLOCKSIZE, j++) { in detect_attack()
[all …]