Lines Matching refs:input
42 static inline void Snefru(uint32_t input[16]) in Snefru()
49 B00 = input[0]; in Snefru()
50 B01 = input[1]; in Snefru()
51 B02 = input[2]; in Snefru()
52 B03 = input[3]; in Snefru()
53 B04 = input[4]; in Snefru()
54 B05 = input[5]; in Snefru()
55 B06 = input[6]; in Snefru()
56 B07 = input[7]; in Snefru()
57 B08 = input[8]; in Snefru()
58 B09 = input[9]; in Snefru()
59 B10 = input[10]; in Snefru()
60 B11 = input[11]; in Snefru()
61 B12 = input[12]; in Snefru()
62 B13 = input[13]; in Snefru()
63 B14 = input[14]; in Snefru()
64 B15 = input[15]; in Snefru()
108 input[0] ^= B15; in Snefru()
109 input[1] ^= B14; in Snefru()
110 input[2] ^= B13; in Snefru()
111 input[3] ^= B12; in Snefru()
112 input[4] ^= B11; in Snefru()
113 input[5] ^= B10; in Snefru()
114 input[6] ^= B09; in Snefru()
115 input[7] ^= B08; in Snefru()
117 ph(input); in Snefru()
121 static inline void SnefruTransform(PHP_SNEFRU_CTX *context, const unsigned char input[32]) in SnefruTransform()
126 context->state[8+j] = ((unsigned)input[i] << 24) | ((unsigned)input[i+1] << 16) | in SnefruTransform()
127 ((unsigned)input[i+2] << 8) | (unsigned)input[i+3]; in SnefruTransform()
140 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *context, const unsigned char *input, size_t len) in PHP_SNEFRUUpdate() argument
151 memcpy(&context->buffer[context->length], input, len); in PHP_SNEFRUUpdate()
158 memcpy(&context->buffer[context->length], input, i); in PHP_SNEFRUUpdate()
163 SnefruTransform(context, input + i); in PHP_SNEFRUUpdate()
166 memcpy(context->buffer, input + i, r); in PHP_SNEFRUUpdate()