implement using the test values from the AN
fix key diversification for card sourced version