Lines Matching refs:inp
79 const unsigned char *inp = _inp; in WHIRLPOOL_Update() local
82 WHIRLPOOL_BitUpdate(c, inp, chunk * 8); in WHIRLPOOL_Update()
84 inp += chunk; in WHIRLPOOL_Update()
87 WHIRLPOOL_BitUpdate(c, inp, bytes * 8); in WHIRLPOOL_Update()
97 const unsigned char *inp = _inp; in WHIRLPOOL_BitUpdate() local
117 whirlpool_block(c, inp, n); in WHIRLPOOL_BitUpdate()
118 inp += n * WHIRLPOOL_BBLOCK / 8; in WHIRLPOOL_BitUpdate()
127 memcpy(c->data + byteoff, inp, bitrem); in WHIRLPOOL_BitUpdate()
128 inp += bitrem; in WHIRLPOOL_BitUpdate()
132 memcpy(c->data + byteoff, inp, bits / 8); in WHIRLPOOL_BitUpdate()
160 c->data[byteoff++] |= inp[0] & (0xff >> inpgap); in WHIRLPOOL_BitUpdate()
166 inp++; in WHIRLPOOL_BitUpdate()
176 b = ((inp[0] << inpgap) | (inp[1] >> (8 - inpgap))); in WHIRLPOOL_BitUpdate()
184 inp++; in WHIRLPOOL_BitUpdate()
194 b = (inp[0] << inpgap) & 0xff; in WHIRLPOOL_BitUpdate()
253 unsigned char *WHIRLPOOL(const void *inp, size_t bytes, unsigned char *md) in WHIRLPOOL() argument
261 WHIRLPOOL_Update(&ctx, inp, bytes); in WHIRLPOOL()