Skip to content

Commit 7e9b4dd

Browse files
committed
BIP-0340: note that adapting the spec to other curves is insecure
1 parent 2611302 commit 7e9b4dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bip-0340.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ This proposal suggests to include the tag by prefixing the hashed data with ''SH
9999

100100
=== Specification ===
101101

102-
The following conventions are used, with constants as defined for [https://www.secg.org/sec2-v2.pdf secp256k1]:
102+
The following conventions are used, with constants as defined for [https://www.secg.org/sec2-v2.pdf secp256k1]. We note that adapting this specification to other elliptic curves is not straightforward and can result in an insecure scheme<ref>Among other pitfalls, using the specification with a curve whose order is not close to the size of the range of the nonce derivation function is insecure.</ref>.
103103
* Lowercase variables represent integers or byte arrays.
104104
** The constant ''p'' refers to the field size, ''0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEFFFFFC2F''.
105105
** The constant ''n'' refers to the curve order, ''0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141''.

0 commit comments

Comments
 (0)