Skip to content

Commit f949c93

Browse files
Update book/src/custom-extensions/ecc.md
Co-authored-by: Jonathan Wang <[email protected]>
1 parent e46b959 commit f949c93

File tree

1 file changed

+1
-1
lines changed
  • book/src/custom-extensions

1 file changed

+1
-1
lines changed

book/src/custom-extensions/ecc.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ te_init! {
7070
- `sw_declare!`: Declares short Weierstrass elliptic curve structures.
7171
- `te_declare!`: Declares twisted Edwards elliptic curve structures.
7272
- `sw_init!`: Initializes the short Weierstrass elliptic curves once, linking them to the underlying moduli.
73-
- `te_init!`: Initializes the twisted Edwards elliptic curves once, linking it to the underlying moduli.
73+
- `te_init!`: Initializes the twisted Edwards elliptic curves once, linking them to the underlying moduli.
7474
- `setup_sw_<i>()`/`setup_all_sw_curves()`/`setup_te_<i>()`/`setup_all_te_curves()`: Secures runtime correctness.
7575

7676
To use elliptic curve operations on a struct defined with `sw_declare!` or `te_declare!`, it is expected that the struct for the curve's coordinate field was defined using `moduli_declare!`. In particular, the coordinate field needs to be initialized and set up as described in the [algebra extension](./algebra.md) chapter.

0 commit comments

Comments
 (0)