mirror of
https://github.com/kmackay/micro-ecc.git
synced 2026-09-11 03:30:09 +00:00
Added test for deterministic ECDSA (#37)
This commit is contained in:
@@ -183,7 +183,7 @@ void SHA256_finish(uECC_HashContext *base, uint8_t *hash_result) {
|
||||
... when signing ...
|
||||
{
|
||||
SHA256_HashContext ctx = {{&SHA256_init, &SHA256_update, &SHA256_finish}};
|
||||
uECC_sign_deterministic(key, message_hash, &ctx, signature);
|
||||
uECC_sign_deterministic(key, message_hash, &ctx.uECC, signature);
|
||||
}
|
||||
*/
|
||||
typedef struct uECC_HashContext {
|
||||
|
||||
Reference in New Issue
Block a user