Skip to content

Commit cd77d05

Browse files
committed
spec/sha256: rebase fixes
1 parent 4005a6c commit cd77d05

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

spec/sha256.typ

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#import "/book.typ": book-page, aside, rj
22
#import "/src.typ": load_config, load_chip
33
#import "/chip.typ": (
4-
render_chip_column_table,
4+
render_chip_variable_table,
55
total_nr_variables,
66
total_nr_instantiated_columns,
77
render_constraint_table,
@@ -43,7 +43,7 @@ Most of the structure and variable naming follows the pseudocode of the wikipedi
4343
#let nr_columns = total_nr_instantiated_columns(sha256chip, config)
4444

4545
The #sha256 chip leverages #nr_variables variables, spanning #nr_columns columns:
46-
#render_chip_column_table(sha256chip, config)
46+
#render_chip_variable_table(sha256chip, config)
4747

4848
== Constraints
4949

@@ -82,7 +82,7 @@ The chip therefore contributes the following interaction to the lookup-argument:
8282
#let nr_columns = total_nr_instantiated_columns(sha256msgschedchip, config)
8383

8484
The #sha256msgsched chip leverages #nr_variables variables, spanning #nr_columns columns:
85-
#render_chip_column_table(sha256msgschedchip, config)
85+
#render_chip_variable_table(sha256msgschedchip, config)
8686

8787
== Assumptions
8888

@@ -112,7 +112,7 @@ Finally, we contribute to the LogUp.
112112
#let nr_columns = total_nr_instantiated_columns(sha256roundchip, config)
113113

114114
The #sha256round chip leverages #nr_variables variables, spanning #nr_columns columns:
115-
#render_chip_column_table(sha256roundchip, config)
115+
#render_chip_variable_table(sha256roundchip, config)
116116

117117
== Assumptions
118118

@@ -160,7 +160,7 @@ making the usage of `HWSL` more straightforward and avoid extra columns to repre
160160
#let nr_columns = total_nr_instantiated_columns(rotxorchip, config)
161161
The #rotxor chip leverages #nr_variables variables, spanning #nr_columns columns:
162162

163-
#render_chip_column_table(rotxorchip, config)
163+
#render_chip_variable_table(rotxorchip, config)
164164

165165
== Assumptions
166166

@@ -192,7 +192,7 @@ And finally contribute to the lookup argument.
192192

193193
As mentioned, we provide the round constants through a short precomputed lookup table: #sha256_k.
194194

195-
#render_chip_column_table(sha256_kchip, config)
195+
#render_chip_variable_table(sha256_kchip, config)
196196
#render_constraint_table(sha256_kchip, config)
197197

198198
= Notes/optimizations

0 commit comments

Comments
 (0)