You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is an issue related to the discussion in #438
The current all-in-one ecc_sign_hash_ex and ecc_verify_hash_ex forces anyone using ECDSA to link the whole ASN.1 stuff to their binary even if they are using just RFC 7518 or RFC 5656 (ssh2) signature format.
One possible approach is to split ecc_verify_hash_ex.c into:
ecc_verify_hash_internal.c (only in tomcrypt_private.h)
ecc_verify_hash.c (this is the troublemaker depending on ASN.1 stuff)
ecc_sign_hash_rfc7518.c
ecc_sign_hash_rfc5656.c
ecc_sign_hash_eth27.c
Or another option:
ecc_verify_hash_internal.c (only in tomcrypt_private.h)
ecc_verify_hash.c (this is the troublemaker depending on ASN.1 stuff)