Lines Matching refs:n
100 # define ROTATE(a,n) (((a)<<(n))|(((a)&0xffffffff)>>(32-(n)))) argument
108 # define ROTATE(x, n) ({ MD32_REG_T ret; \ argument
111 : "r"(x), "i"(32 - (n))); ret;})
115 # define ROTATE(x, n) ({ MD32_REG_T ret; \ argument
118 : "r"(x), "i"(32 - (n))); ret;})
159 size_t n; in HASH_UPDATE() local
171 n = c->num; in HASH_UPDATE()
172 if (n != 0) { in HASH_UPDATE()
175 if (len >= HASH_CBLOCK || len + n >= HASH_CBLOCK) { in HASH_UPDATE()
176 memcpy(p + n, data, HASH_CBLOCK - n); in HASH_UPDATE()
178 n = HASH_CBLOCK - n; in HASH_UPDATE()
179 data += n; in HASH_UPDATE()
180 len -= n; in HASH_UPDATE()
190 memcpy(p + n, data, len); in HASH_UPDATE()
196 n = len / HASH_CBLOCK; in HASH_UPDATE()
197 if (n > 0) { in HASH_UPDATE()
198 HASH_BLOCK_DATA_ORDER(c, data, n); in HASH_UPDATE()
199 n *= HASH_CBLOCK; in HASH_UPDATE()
200 data += n; in HASH_UPDATE()
201 len -= n; in HASH_UPDATE()
220 size_t n = c->num; in HASH_FINAL() local
222 p[n] = 0x80; /* there is always room for one */ in HASH_FINAL()
223 n++; in HASH_FINAL()
225 if (n > (HASH_CBLOCK - 8)) { in HASH_FINAL()
226 memset(p + n, 0, HASH_CBLOCK - n); in HASH_FINAL()
227 n = 0; in HASH_FINAL()
230 memset(p + n, 0, HASH_CBLOCK - 8 - n); in HASH_FINAL()