Lines Matching refs:input

44 static inline void Snefru(php_hash_uint32 input[16])  in Snefru()
51 B00 = input[0]; in Snefru()
52 B01 = input[1]; in Snefru()
53 B02 = input[2]; in Snefru()
54 B03 = input[3]; in Snefru()
55 B04 = input[4]; in Snefru()
56 B05 = input[5]; in Snefru()
57 B06 = input[6]; in Snefru()
58 B07 = input[7]; in Snefru()
59 B08 = input[8]; in Snefru()
60 B09 = input[9]; in Snefru()
61 B10 = input[10]; in Snefru()
62 B11 = input[11]; in Snefru()
63 B12 = input[12]; in Snefru()
64 B13 = input[13]; in Snefru()
65 B14 = input[14]; in Snefru()
66 B15 = input[15]; in Snefru()
110 input[0] ^= B15; in Snefru()
111 input[1] ^= B14; in Snefru()
112 input[2] ^= B13; in Snefru()
113 input[3] ^= B12; in Snefru()
114 input[4] ^= B11; in Snefru()
115 input[5] ^= B10; in Snefru()
116 input[6] ^= B09; in Snefru()
117 input[7] ^= B08; in Snefru()
119 ph(input); in Snefru()
123 static inline void SnefruTransform(PHP_SNEFRU_CTX *context, const unsigned char input[32]) in SnefruTransform()
128 context->state[8+j] = ((input[i] & 0xff) << 24) | ((input[i+1] & 0xff) << 16) | in SnefruTransform()
129 ((input[i+2] & 0xff) << 8) | (input[i+3] & 0xff); in SnefruTransform()
142 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *context, const unsigned char *input, size_t len) in PHP_SNEFRUUpdate() argument
153 memcpy(&context->buffer[context->length], input, len); in PHP_SNEFRUUpdate()
160 memcpy(&context->buffer[context->length], input, i); in PHP_SNEFRUUpdate()
165 SnefruTransform(context, input + i); in PHP_SNEFRUUpdate()
168 memcpy(context->buffer, input + i, r); in PHP_SNEFRUUpdate()