Searched refs:hash_context (Results 1 - 2 of 2) sorted by relevance

/PHP_TRUNK/ext/interbase/
H A Dinterbase.c887 PHP_MD5_CTX hash_context; local
920 PHP_MD5Init(&hash_context);
922 PHP_MD5Update(&hash_context,args[i],len[i]);
925 PHP_MD5Update(&hash_context,(char*)&largs[i],sizeof(long));
927 PHP_MD5Final((unsigned char*)hash, &hash_context);
/PHP_TRUNK/ext/session/
H A Dsession.c286 void *hash_context = NULL; local
329 hash_context = emalloc(PS(hash_ops)->context_size);
330 PS(hash_ops)->hash_init(hash_context);
331 PS(hash_ops)->hash_update(hash_context, (unsigned char *) buf, strlen(buf));
358 PS(hash_ops)->hash_update(hash_context, rbuf, toread);
385 PS(hash_ops)->hash_update(hash_context, rbuf, n);
406 PS(hash_ops)->hash_final(digest, hash_context);
407 efree(hash_context);

Completed in 7 milliseconds