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.c303 void *hash_context = NULL; local
346 hash_context = emalloc(PS(hash_ops)->context_size);
347 PS(hash_ops)->hash_init(hash_context);
348 PS(hash_ops)->hash_update(hash_context, (unsigned char *) buf, strlen(buf));
375 PS(hash_ops)->hash_update(hash_context, rbuf, toread);
402 PS(hash_ops)->hash_update(hash_context, rbuf, n);
423 PS(hash_ops)->hash_final(digest, hash_context);
424 efree(hash_context);

Completed in 13 milliseconds