Lines Matching refs:iter
56 uint64_t iter; member
63 const unsigned char *salt, int saltlen, uint64_t iter,
139 dest->iter = src->iter; in kdf_pbkdf2_dup()
160 ctx->iter = PKCS5_DEFAULT_ITER; in kdf_pbkdf2_init()
181 static int pbkdf2_lower_bound_check_passed(int saltlen, uint64_t iter, in pbkdf2_lower_bound_check_passed() argument
197 if (iter < KDF_PBKDF2_MIN_ITERATIONS) { in pbkdf2_lower_bound_check_passed()
213 int approved = pbkdf2_lower_bound_check_passed(ctx->salt_len, ctx->iter, in fips_lower_bound_check_passed()
249 ctx->salt, ctx->salt_len, ctx->iter, in kdf_pbkdf2_derive()
259 uint64_t iter, min_iter; in kdf_pbkdf2_set_ctx_params() local
301 if (!OSSL_PARAM_get_uint64(p, &iter)) in kdf_pbkdf2_set_ctx_params()
304 if (iter < min_iter) { in kdf_pbkdf2_set_ctx_params()
308 ctx->iter = iter; in kdf_pbkdf2_set_ctx_params()
378 const unsigned char *salt, int saltlen, uint64_t iter, in pbkdf2_derive() argument
408 int passed = pbkdf2_lower_bound_check_passed(saltlen, iter, keylen, in pbkdf2_derive()
448 for (j = 1; j < iter; j++) { in pbkdf2_derive()