-
Notifications
You must be signed in to change notification settings - Fork 483
Open
Labels
Milestone
Description
This is a design question: should rfc6979_hash_alg be part of the ecc_key structure?
Is rfc6979_hash_alg a property of the key? Or is it an extra parameter/flag for the ecc_sign function?
It seems more logical to pass rfc6979_hash_alg as an additional parameter to ecc_sign_hash_internal and ecc_rfc6979_key.
It looks like we’re unnecessarily polluting the ecc_key structure with data that isn’t related to the key itself.