Skip to content

Commit e7d9d04

Browse files
committed
specify sgn0 for each suite
closes #144
1 parent 5c6a00a commit e7d9d04

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

draft-irtf-cfrg-hash-to-curve.md

+9
Original file line numberDiff line numberDiff line change
@@ -2253,6 +2253,7 @@ Each suite comprises the following parameters:
22532253
- E, the target elliptic curve over a field F.
22542254
- p, the characteristic of the field F.
22552255
- m, the extension degree of the field F.
2256+
- sgn0, one of the variants specified in {{sgn0-variants}}.
22562257
- H, the hash function used by hash\_to\_base ({{hashtobase-sec}}).
22572258
- L, the length of HKDF-Expand output in hash\_to\_base ({{hashtobase-sec}}).
22582259
- f, a mapping function from {{mappings}}.
@@ -2347,6 +2348,7 @@ The common parameters for the above suites are:
23472348
- B = 0x5ac635d8aa3a93e7b3ebbd55769886bc651d06b0cc53b0f63bce3c3e27d2604b
23482349
- p: 2^256 - 2^224 + 2^192 + 2^96 - 1
23492350
- m: 1
2351+
- sgn0: sgn0\_le ({{sgn0-le}})
23502352
- H: SHA-256
23512353
- L: 48
23522354
- h\_eff: 1
@@ -2377,6 +2379,7 @@ The common parameters for the above suites are:
23772379
- B = 0xb3312fa7e23ee7e4988e056be3f82d19181d9c6efe8141120314088f5013875ac656398d8a2ed19d2a85c8edd3ec2aef
23782380
- p: 2^384 - 2^128 - 2^96 + 2^32 - 1
23792381
- m: 1
2382+
- sgn0: sgn0\_le ({{sgn0-le}})
23802383
- H: SHA-512
23812384
- L: 72
23822385
- h\_eff: 1
@@ -2404,6 +2407,7 @@ The common parameters for the above suites are:
24042407
- B = 0x51953eb9618e1c9a1f929a21a0b68540eea2da725b99b315f3b8b489918ef109e156193951ec7e937b1652c0bd3bb1bf073573df883d2c34f1ef451fd46b503f00
24052408
- p: 2^521 - 1
24062409
- m: 1
2410+
- sgn0: sgn0\_le ({{sgn0-le}})
24072411
- H: SHA-512
24082412
- L: 96
24092413
- h\_eff: 1
@@ -2434,6 +2438,7 @@ The common parameters for all of the above suites are:
24342438

24352439
- p: 2^255 - 19
24362440
- m: 1
2441+
- sgn0: sgn0\_le ({{sgn0-le}})
24372442
- H: SHA-256
24382443
- L: 48
24392444
- Z: 2
@@ -2468,6 +2473,7 @@ The common parameters for all of the above suites are:
24682473

24692474
- p: 2^448 - 2^224 - 1
24702475
- m: 1
2476+
- sgn0: sgn0\_le ({{sgn0-le}})
24712477
- H: SHA-512
24722478
- L: 84
24732479
- Z: -1
@@ -2501,6 +2507,7 @@ The common parameters for all of the above suites are:
25012507
- E: y^2 = x^3 + 7
25022508
- p: 2^256 - 2^32 - 2^9 - 2^8 - 2^7 - 2^6 - 2^4 - 1
25032509
- m: 1
2510+
- sgn0: sgn0\_le ({{sgn0-le}})
25042511
- H: SHA-256
25052512
- L: 48
25062513
- h\_eff: 1
@@ -2533,6 +2540,7 @@ The common parameters for the above suites are:
25332540
- E: y^2 = x^3 + 4
25342541
- p: 0x1a0111ea397fe69a4b1ba7b6434bacd764774b84f38512bf6730d2a0f6b0f6241eabfffeb153ffffb9feffffffffaaab
25352542
- m: 1
2543+
- sgn0: sgn0\_be ({{sgn0-be}})
25362544
- H: SHA-256
25372545
- L: 64
25382546
- h\_eff: 0xd201000000010001
@@ -2568,6 +2576,7 @@ The common parameters for the above suites are:
25682576

25692577
- E: y^2 = x^3 + 4 * (1 + I)
25702578
- p, m, F: defined above
2579+
- sgn0: sgn0\_be ({{sgn0-be}})
25712580
- H: SHA-256
25722581
- L: 64
25732582
- h\_eff: 0xbc69f08f2ee75b3584c6a0ea91b352888e2a8e9145ad7689986ff031508ffe1329c2f178731db956d82bf015d1212b02ec0ec69d7477c1ae954cbc06689f6a359894c0adebbf6b4e8020005aaa95551

0 commit comments

Comments
 (0)