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

/PHP_TRUNK/ext/interbase/
H A Dinterbase.c883 PHP_MD5_CTX hash_context; local
916 PHP_MD5Init(&hash_context);
918 PHP_MD5Update(&hash_context,args[i],len[i]);
921 PHP_MD5Update(&hash_context,(char*)&largs[i],sizeof(long));
923 PHP_MD5Final((unsigned char*)hash, &hash_context);
/PHP_TRUNK/ext/session/
H A Dsession.c305 void *hash_context = NULL; local
348 hash_context = emalloc(PS(hash_ops)->context_size);
349 PS(hash_ops)->hash_init(hash_context);
350 PS(hash_ops)->hash_update(hash_context, (unsigned char *) buf, strlen(buf));
377 PS(hash_ops)->hash_update(hash_context, rbuf, toread);
404 PS(hash_ops)->hash_update(hash_context, rbuf, n);
425 PS(hash_ops)->hash_final(digest, hash_context);
426 efree(hash_context);

Completed in 18 milliseconds