Lines Matching refs:iterlimit
49 static inline zend_result get_options(zend_array *options, uint32_t *memlimit, uint32_t *iterlimit,… in get_options() argument
53 *iterlimit = PHP_OPENSSL_PWHASH_ITERLIMIT; in get_options()
75 *iterlimit = siterlimit; in get_options()
90 uint32_t version, uint32_t memlimit, uint32_t iterlimit, uint32_t threads, in php_openssl_argon2_compute_hash() argument
108 *p++ = OSSL_PARAM_construct_uint32(OSSL_KDF_PARAM_ITER, &iterlimit); in php_openssl_argon2_compute_hash()
137 uint32_t iterlimit, memlimit, threads, version = PHP_OPENSSL_ARGON_VERSION; in php_openssl_argon2_hash() local
145 if (get_options(options, &memlimit, &iterlimit, &threads) == FAILURE) { in php_openssl_argon2_hash()
152 if (!php_openssl_argon2_compute_hash(algo, version, memlimit, iterlimit, threads, in php_openssl_argon2_hash()
163 algo, version, memlimit, iterlimit, threads, ZSTR_VAL(salt64), ZSTR_VAL(hash64)); in php_openssl_argon2_hash()
172 const zend_string *digest, uint32_t *version, uint32_t *memlimit, uint32_t *iterlimit, in php_openssl_argon2_extract() argument
190 version, memlimit, iterlimit, threads) != 4) { in php_openssl_argon2_extract()
221 uint32_t version, iterlimit, memlimit, threads; in php_openssl_argon2_verify() local
228 …if (FAILURE == php_openssl_argon2_extract(digest, &version, &memlimit, &iterlimit, &threads, &salt… in php_openssl_argon2_verify()
233 if (php_openssl_argon2_compute_hash(algo, version, memlimit, iterlimit, threads, in php_openssl_argon2_verify()
258 uint32_t version, iterlimit, memlimit, threads; in php_openssl_argon2_needs_rehash() local
264 …if (FAILURE == php_openssl_argon2_extract(hash, &version, &memlimit, &iterlimit, &threads, NULL, N… in php_openssl_argon2_needs_rehash()
270 (iterlimit != new_iterlimit) || in php_openssl_argon2_needs_rehash()