Closed
Description
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 intomcrypt_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 intomcrypt_private.h
)ecc_verify_hash.c
(this is the troublemaker depending on ASN.1 stuff)ecc_verify_hash_ex.c
(rfc7518 + rfc5656 + eth27)
Metadata
Metadata
Assignees
Labels
No labels