Searched refs:iterations (Results 1 - 3 of 3) sorted by relevance

/PHP_TRUNK/ext/phar/phar/
H A Dpharcommand.inc719 * @param string $func Function to call on the iterations
/PHP_TRUNK/ext/hash/
H A Dhash.c606 /* {{{ proto string hash_pbkdf2(string algo, string password, string salt, int iterations [, int length = 0, bool raw_output = false])
614 zend_long loops, i, j, iterations, digest_length = 0, length = 0; local
620 if (zend_parse_parameters(ZEND_NUM_ARGS(), "sssl|lb", &algo, &algo_len, &pass, &pass_len, &salt, &salt_len, &iterations, &length, &raw_output) == FAILURE) {
630 if (iterations <= 0) {
631 php_error_docref(NULL, E_WARNING, "Iterations must be a positive integer: " ZEND_LONG_FMT, iterations);
697 for (j = 1; j < iterations; j++) {
1186 ZEND_ARG_INFO(0, iterations)
/PHP_TRUNK/ext/openssl/
H A Dopenssl.c270 ZEND_ARG_INFO(0, iterations)
3975 /* {{{ proto string openssl_pbkdf2(string password, string salt, long key_length, long iterations [, string digest_method = "sha1"])
3979 zend_long key_length = 0, iterations = 0; local
3993 &key_length, &iterations,
4015 if (PKCS5_PBKDF2_HMAC(password, (int)password_len, (unsigned char *)salt, (int)salt_len, (int)iterations, digest, (int)key_length, (unsigned char*)out_buffer->val) == 1) {

Completed in 14 milliseconds