Lines Matching refs:ctx1
129 HCRYPTHASH ctx, ctx1; in php_md5_crypt_r() local
187 if(!CryptCreateHash(hCryptProv, CALG_MD5, 0, 0, &ctx1)) { in php_md5_crypt_r()
190 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r()
193 if(!CryptHashData(ctx1, (BYTE *)sp, sl, 0)) { in php_md5_crypt_r()
196 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r()
201 CryptGetHashParam(ctx1, HP_HASHVAL, final, &dwHashLen, 0); in php_md5_crypt_r()
234 if(!CryptCreateHash(hCryptProv, CALG_MD5, 0, 0, &ctx1)) { in php_md5_crypt_r()
239 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r()
243 if(!CryptHashData(ctx1, (BYTE *)final, 16, 0)) { in php_md5_crypt_r()
249 if(!CryptHashData(ctx1, (BYTE *)sp, sl, 0)) { in php_md5_crypt_r()
255 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r()
261 if(!CryptHashData(ctx1, (BYTE *)final, 16, 0)) { in php_md5_crypt_r()
265 if(!CryptHashData(ctx1, (BYTE *)pw, pwl, 0)) { in php_md5_crypt_r()
272 CryptGetHashParam(ctx1, HP_HASHVAL, final, &dwHashLen, 0); in php_md5_crypt_r()
273 if(!(CryptDestroyHash(ctx1))) { in php_md5_crypt_r()
278 ctx1 = (HCRYPTHASH) NULL; in php_md5_crypt_r()
295 if (ctx1) { in php_md5_crypt_r()
296 if (!CryptDestroyHash(ctx1)) { in php_md5_crypt_r()
325 PHP_MD5_CTX ctx, ctx1; in php_md5_crypt_r() local
357 PHP_MD5Init(&ctx1); in php_md5_crypt_r()
358 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r()
359 PHP_MD5Update(&ctx1, (const unsigned char *)sp, sl); in php_md5_crypt_r()
360 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r()
361 PHP_MD5Final(final, &ctx1); in php_md5_crypt_r()
389 PHP_MD5Init(&ctx1); in php_md5_crypt_r()
392 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r()
394 PHP_MD5Update(&ctx1, final, 16); in php_md5_crypt_r()
397 PHP_MD5Update(&ctx1, (const unsigned char *)sp, sl); in php_md5_crypt_r()
400 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r()
403 PHP_MD5Update(&ctx1, final, 16); in php_md5_crypt_r()
405 PHP_MD5Update(&ctx1, (const unsigned char *)pw, pwl); in php_md5_crypt_r()
407 PHP_MD5Final(final, &ctx1); in php_md5_crypt_r()