def METHOD_NAME(dirpath: str) -> None:
    """
    Generates the setup directory.
    Args:
        dirpath: The directory path.
    """
    # Key pair
    privkey_pem, pubkey_pem = generate_ec_key_pair()
    # Certificate
    certificate_pem = generate_certificate(privkey_pem, pubkey_pem)
    # Entropy
    entropy = os.urandom(48)
    # Counter
    counter = 0
    # Write
    write_setup_dir(dirpath, privkey_pem, certificate_pem, entropy, counter)