Closed onlykey closed 8 years ago
Use if (!uECC_sign_deterministic((uint8_t *)attestation_key, sha256_hash, 32, &ctx.uECC, signature, curve)) instead of uECC_sign
https://github.com/kmackay/micro-ecc/blob/master/test/test_ecdsa_deterministic.c.example
Need a SHA2 library that supports this or modify Brad Conte's Library https://github.com/B-Con/crypto-algorithms
Thanks to Yohanes! https://github.com/yohanes/teensy-u2f
Use if (!uECC_sign_deterministic((uint8_t *)attestation_key, sha256_hash, 32, &ctx.uECC, signature, curve)) instead of uECC_sign
https://github.com/kmackay/micro-ecc/blob/master/test/test_ecdsa_deterministic.c.example
Need a SHA2 library that supports this or modify Brad Conte's Library https://github.com/B-Con/crypto-algorithms