cisco / libacvp

The libacvp library is a client-side implementation of the draft ACVP protocol (github.com/usnistgov/ACVP).
Apache License 2.0
67 stars 69 forks source link

Use prehash instance if necessary in EDDSA sample app #806

Closed 0140454 closed 9 months ago

0140454 commented 9 months ago

Use correct instance for EDDSA operations based on the return value from get_ed_instance_param().

Although ACVP_EDDSA_SUPPORTS_PREHASH is false in app_main.c, I thought sample app still can try to use proper instance based on test case.

abkarcher commented 9 months ago

Thanks! I will run a test or two and report back. I should enable prehash in app_main soon anyway.

abkarcher commented 9 months ago

Works great, thanks a ton!