ECC/ECDSA is not supported for Code Signing and Time Stamping Use as indicated here:
Please note that signing with a certificate stored on an HSM may be limited by the algorithms supported by the HSM. Some may support ECDSA but not the RSA required for Microsoft Authenticode.