Validate type of iterations and derived_key if scheme is pbkdf2