Skip to content

rfc6979_hash_alg question #700

@karel-m

Description

@karel-m

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions