Lines Matching refs:memlimit

49 static inline zend_result get_options(zend_array *options, uint32_t *memlimit, uint32_t *iterlimit,…  in get_options()  argument
54 *memlimit = PHP_OPENSSL_PWHASH_MEMLIMIT; in get_options()
67 *memlimit = smemlimit; in get_options()
90 uint32_t version, uint32_t memlimit, uint32_t iterlimit, uint32_t threads, in php_openssl_argon2_compute_hash() argument
109 *p++ = OSSL_PARAM_construct_uint32(OSSL_KDF_PARAM_ARGON2_MEMCOST, &memlimit); 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()
271 (memlimit != new_memlimit) || in php_openssl_argon2_needs_rehash()