Lines Matching refs:input
40 static inline void Snefru(uint32_t input[16]) in Snefru()
47 B00 = input[0]; in Snefru()
48 B01 = input[1]; in Snefru()
49 B02 = input[2]; in Snefru()
50 B03 = input[3]; in Snefru()
51 B04 = input[4]; in Snefru()
52 B05 = input[5]; in Snefru()
53 B06 = input[6]; in Snefru()
54 B07 = input[7]; in Snefru()
55 B08 = input[8]; in Snefru()
56 B09 = input[9]; in Snefru()
57 B10 = input[10]; in Snefru()
58 B11 = input[11]; in Snefru()
59 B12 = input[12]; in Snefru()
60 B13 = input[13]; in Snefru()
61 B14 = input[14]; in Snefru()
62 B15 = input[15]; in Snefru()
106 input[0] ^= B15; in Snefru()
107 input[1] ^= B14; in Snefru()
108 input[2] ^= B13; in Snefru()
109 input[3] ^= B12; in Snefru()
110 input[4] ^= B11; in Snefru()
111 input[5] ^= B10; in Snefru()
112 input[6] ^= B09; in Snefru()
113 input[7] ^= B08; in Snefru()
115 ph(input); in Snefru()
119 static inline void SnefruTransform(PHP_SNEFRU_CTX *context, const unsigned char input[32]) in SnefruTransform()
124 context->state[8+j] = ((unsigned)input[i] << 24) | ((unsigned)input[i+1] << 16) | in SnefruTransform()
125 ((unsigned)input[i+2] << 8) | (unsigned)input[i+3]; in SnefruTransform()
138 PHP_HASH_API void PHP_SNEFRUUpdate(PHP_SNEFRU_CTX *context, const unsigned char *input, size_t len) in PHP_SNEFRUUpdate() argument
149 memcpy(&context->buffer[context->length], input, len); in PHP_SNEFRUUpdate()
156 memcpy(&context->buffer[context->length], input, i); in PHP_SNEFRUUpdate()
161 SnefruTransform(context, input + i); in PHP_SNEFRUUpdate()
164 memcpy(context->buffer, input + i, r); in PHP_SNEFRUUpdate()