The only joker in the deck is that the wire to the 100 amp panel should be sized for 200 amps, unless you can apply tap rules to your circumstance. Otherwise, there might be a problem fitting the wire into the breaker.