Skip to content

Commit 72d7609

Browse files
Bignum copy/shrink: More precise test case descriptions
1 parent 448d1cc commit 72d7609

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tests/suites/test_suite_mpi.data

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -205,37 +205,37 @@ mbedtls_mpi_cmp_abs:10:"2":10:"-3":-1
205205
Base test mbedtls_mpi_cmp_abs (Mix values) #3
206206
mbedtls_mpi_cmp_abs:10:"-2":10:"1":1
207207

208-
Base test mbedtls_mpi_copy #1
208+
Copy zero (1 limb) to positive (1 limb)
209209
mbedtls_mpi_copy:0:1500
210210

211-
Base test mpi_copy_self #1
211+
Copy self: positive (1 limb)
212212
mpi_copy_self:14
213213

214-
Base test mbedtls_mpi_swap #1
214+
Swap 0 with positive (1 limb)
215215
mbedtls_mpi_swap:0:1500
216216

217-
Test mbedtls_mpi_shrink #1
217+
Shrink 2 in 2 to 4
218218
mbedtls_mpi_shrink:2:2:4:4
219219

220-
Test mbedtls_mpi_shrink #2
220+
Shrink 2 in 4 to 4
221221
mbedtls_mpi_shrink:4:2:4:4
222222

223-
Test mbedtls_mpi_shrink #3
223+
Shrink 2 in 8 to 4
224224
mbedtls_mpi_shrink:8:2:4:4
225225

226-
Test mbedtls_mpi_shrink #4
226+
Shrink 4 in 8 to 4
227227
mbedtls_mpi_shrink:8:4:4:4
228228

229-
Test mbedtls_mpi_shrink #5
229+
Shrink 6 in 8 to 4 yielding 6
230230
mbedtls_mpi_shrink:8:6:4:6
231231

232-
Test mbedtls_mpi_shrink #6
232+
Shrink 2 in 4 to 0 yielding 2
233233
mbedtls_mpi_shrink:4:2:0:2
234234

235-
Test mbedtls_mpi_shrink #7
235+
Shrink 1 in 4 to 0 yielding 1
236236
mbedtls_mpi_shrink:4:1:0:1
237237

238-
Test mbedtls_mpi_shrink #8
238+
Shrink 0 in 4 to 0 yielding 1
239239
mbedtls_mpi_shrink:4:0:0:1
240240

241241
Test mbedtls_mpi_safe_cond_assign #1

0 commit comments

Comments
 (0)