Lines Matching refs:MDp
90 MD4Print(MDp) in MD4Print() argument
91 MD4_CTX *MDp; in MD4Print()
96 printf("%02x",(MDp->buffer[i]>>j) & 0xFF);
104 MD4Init(MDp) in MD4Init() argument
105 MD4_CTX *MDp; in MD4Init()
108 MDp->buffer[0] = I0;
109 MDp->buffer[1] = I1;
110 MDp->buffer[2] = I2;
111 MDp->buffer[3] = I3;
112 for (i=0;i<8;i++) MDp->count[i] = 0;
113 MDp->done = 0;
123 MDblock(MDp,Xb) in MDblock() argument
124 MD4_CTX *MDp; in MDblock()
136 A = MDp->buffer[0];
137 B = MDp->buffer[1];
138 C = MDp->buffer[2];
139 D = MDp->buffer[3];
189 MDp->buffer[0] += A;
190 MDp->buffer[1] += B;
191 MDp->buffer[2] += C;
192 MDp->buffer[3] += D;
209 MD4Update(MDp,X,count) in MD4Update() argument
210 MD4_CTX *MDp; in MD4Update()
221 if (count == 0 && MDp->done) return;
223 if (MDp->done)
228 p = MDp->count;
238 MDblock(MDp,X);
260 for (i=0;i<8;i++) XX[56+i] = MDp->count[i];
261 MDblock(MDp,XX);
265 MDblock(MDp,XX);
267 for (i=0;i<8;i++) XX[56+i] = MDp->count[i];
268 MDblock(MDp,XX);
271 MDp->done = 1;