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

/PHP_TRUNK/ext/session/
H A Dsession.c289 void *hash_context = NULL; local
331 hash_context = emalloc(PS(hash_ops)->context_size);
332 PS(hash_ops)->hash_init(hash_context);
333 PS(hash_ops)->hash_update(hash_context, (unsigned char *) buf, strlen(buf));
360 PS(hash_ops)->hash_update(hash_context, rbuf, toread);
387 PS(hash_ops)->hash_update(hash_context, rbuf, n);
408 PS(hash_ops)->hash_final(digest, hash_context);
409 efree(hash_context);
/PHP_TRUNK/ext/interbase/
H A Dinterbase.c892 PHP_MD5_CTX hash_context; local
925 PHP_MD5Init(&hash_context);
927 PHP_MD5Update(&hash_context,args[i],len[i]);
930 PHP_MD5Update(&hash_context,(char*)&largs[i],sizeof(long));
932 PHP_MD5Final(hash, &hash_context);

Completed in 9 milliseconds