1Arguments with no value
2mpi_null:
3
4Base test mpi_read_write_string #1
5mpi_read_write_string:10:"128":10:"128":100:0:0
6
7Base test mpi_read_write_string #1 (Leading 0)
8mpi_read_write_string:10:"0128":10:"128":100:0:0
9
10Base test mpi_read_write_string #2
11mpi_read_write_string:10:"128":16:"80":100:0:0
12
13Base test mpi_read_write_string #3 (Read zero decimal)
14mpi_read_write_string:10:"0":10:"0":100:0:0
15
16Base test mpi_read_write_string #3 (Read zero hex)
17mpi_read_write_string:16:"0":16:"00":100:0:0
18
19Base test mpi_read_write_string #3 (Read minus zero decimal)
20mpi_read_write_string:10:"-0":10:"0":100:0:0
21
22Base test mpi_read_write_string #3 (Read minus zero hex)
23mpi_read_write_string:16:"-0":16:"00":100:0:0
24
25Base test mpi_read_write_string #3 (Negative decimal)
26mpi_read_write_string:10:"-23":10:"-23":100:0:0
27
28Base test mpi_read_write_string #3 (Negative decimal, leading 0)
29mpi_read_write_string:10:"-023":10:"-23":100:0:0
30
31Base test mpi_read_write_string #3 (Negative hex -> decimal)
32mpi_read_write_string:16:"-20":10:"-32":100:0:0
33
34Base test mpi_read_write_string #3 (Negative hex)
35mpi_read_write_string:16:"-23":16:"-23":100:0:0
36
37Base test mpi_read_write_string #3 (Negative hex, leading 0)
38mpi_read_write_string:16:"-023":16:"-23":100:0:0
39
40Base test mpi_read_write_string #4 (Buffer just fits)
41mpi_read_write_string:16:"-4":4:"-10":4:0:0
42
43Test mpi_read_write_string #1 (Invalid character)
44mpi_read_write_string:10:"a28":0:"":100:MBEDTLS_ERR_MPI_INVALID_CHARACTER:0
45
46Test mpi_read_write_string #2 (Illegal input radix)
47mpi_read_write_string:19:"a28":0:"":100:MBEDTLS_ERR_MPI_BAD_INPUT_DATA:0
48
49Test mpi_read_write_string #3 (Buffer just fits)
50mpi_read_write_string:16:"-23":16:"-23":4:0:0
51
52Test mpi_read_write_string #4 (Buffer too small)
53mpi_read_write_string:16:"-23":16:"-23":3:0:MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
54
55Test mpi_read_write_string #5 (Illegal output radix)
56mpi_read_write_string:16:"-23":17:"-23":4:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
57
58Test mpi_read_write_string #6 (Output radix of 15)
59mpi_read_write_string:10:"29":15:"1E":100:0:0
60
61Test mpi_read_write_string #7
62mpi_read_write_string:10:"56125680981752282334141896320372489490613963693556392520816017892111350604111697682705498319512049040516698827829292076808006940873974979584527073481012636016353913462376755556720019831187364993587901952757307830896531678727717924":16:"0941379D00FED1491FE15DF284DFDE4A142F68AA8D412023195CEE66883E6290FFE703F4EA5963BF212713CEE46B107C09182B5EDCD955ADAC418BF4918E2889AF48E1099D513830CEC85C26AC1E158B52620E33BA8692F893EFBB2F958B4424":200:0:0
63
64Test mpi_read_write_string #8 (Empty MPI hex -> hex)
65mpi_read_write_string:16:"":16:"":4:0:0
66
67Test mpi_read_write_string #9 (Empty MPI hex -> dec)
68mpi_read_write_string:16:"":10:"0":4:0:0
69
70Test mpi_read_write_string #9 (Empty MPI hex -> base 2)
71mpi_read_write_string:16:"":2:"0":4:0:0
72
73Test mpi_read_write_string #8 (Empty MPI dec -> hex)
74mpi_read_write_string:10:"":16:"":4:0:0
75
76Test mpi_read_write_string #9 (Empty MPI dec -> dec)
77mpi_read_write_string:10:"":10:"0":4:0:0
78
79Test mpi_read_write_string #9 (Empty MPI dec -> base 2)
80mpi_read_write_string:16:"":2:"0":4:0:0
81
82Test mpi_write_string #10 (Negative hex with odd number of digits)
83mpi_read_write_string:16:"-1":16:"":3:0:MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
84
85Base test mbedtls_mpi_read_binary #1
86mpi_read_binary:"0941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":"0941379D00FED1491FE15DF284DFDE4A142F68AA8D412023195CEE66883E6290FFE703F4EA5963BF212713CEE46B107C09182B5EDCD955ADAC418BF4918E2889AF48E1099D513830CEC85C26AC1E158B52620E33BA8692F893EFBB2F958B4424"
87
88Base test mbedtls_mpi_read_binary_le #1
89mpi_read_binary_le:"0941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":"24448B952FBBEF93F89286BA330E62528B151EAC265CC8CE3038519D09E148AF89288E91F48B41ACAD55D9DC5E2B18097C106BE4CE132721BF6359EAF403E7FF90623E8866EE5C192320418DAA682F144ADEDF84F25DE11F49D1FE009D374109"
90
91Base test mbedtls_mpi_write_binary #1
92mpi_write_binary:"941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":"0941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":200:0
93
94Test mbedtls_mpi_write_binary #1 (Buffer just fits)
95mpi_write_binary:"123123123123123123123123123":"0123123123123123123123123123":14:0
96
97Test mbedtls_mpi_write_binary #2 (Buffer too small)
98mpi_write_binary:"123123123123123123123123123":"23123123123123123123123123":13:MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
99
100Base test mbedtls_mpi_write_binary_le #1
101mpi_write_binary_le:"941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":"24448b952fbbef93f89286ba330e62528b151eac265cc8ce3038519d09e148af89288e91f48b41acad55d9dc5e2b18097c106be4ce132721bf6359eaf403e7ff90623e8866ee5c192320418daa682f144adedf84f25de11f49d1fe009d374109":200:0
102
103Test mbedtls_mpi_write_binary_le #1 (Buffer just fits)
104mpi_write_binary_le:"123123123123123123123123123":"2331122331122331122331122301":14:0
105
106Test mbedtls_mpi_write_binary_le #2 (Buffer too small)
107mpi_write_binary_le:"123123123123123123123123123":"23311223311223311223311223":13:MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
108
109Base test mbedtls_mpi_read_file #1
110mpi_read_file:"data_files/mpi_16":"01f55332c3a48b910f9942f6c914e58bef37a47ee45cb164a5b6b8d1006bf59a059c21449939ebebfdf517d2e1dbac88010d7b1f141e997bd6801ddaec9d05910f4f2de2b2c4d714e2c14a72fc7f17aa428d59c531627f09":0
111
112Test mbedtls_mpi_read_file #1 (Empty file)
113mpi_read_file:"data_files/hash_file_4":"":MBEDTLS_ERR_MPI_FILE_IO_ERROR
114
115Test mbedtls_mpi_read_file #2 (Illegal input)
116mpi_read_file:"data_files/hash_file_2":"":0
117
118Test mbedtls_mpi_read_file #3 (Input too big)
119mpi_read_file:"data_files/mpi_too_big":"":MBEDTLS_ERR_MPI_BUFFER_TOO_SMALL
120
121Base test mbedtls_mpi_write_file #1
122mpi_write_file:"941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":"data_files/mpi_write"
123
124Test mbedtls_mpi_lsb: 0 (null)
125mpi_lsb:"":0
126
127Test mbedtls_mpi_lsb: 0 (1 limb)
128mpi_lsb:"0":0
129
130Base test mbedtls_mpi_lsb #1
131mpi_lsb:"941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":2
132
133Base test mbedtls_mpi_lsb #2
134mpi_lsb:"18":3
135
136Base test mbedtls_mpi_lsb #3
137mpi_lsb:"24":2
138
139Base test mbedtls_mpi_lsb #4
140mpi_lsb:"2000":13
141
142Test mbedtls_mpi_bitlen 764-bit
143mpi_bitlen:"941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424":764
144
145Test mbedtls_mpi_bitlen 0x18
146mpi_bitlen:"18":5
147
148Test mbedtls_mpi_bitlen 0x18 with leading 0 limb(s)
149mpi_bitlen:"00000000000000018":5
150
151Test mbedtls_mpi_bitlen 0x18 << 64
152mpi_bitlen:"180000000000000000":69
153
154Test mbedtls_mpi_bitlen 0x01
155mpi_bitlen:"1":1
156
157Test mbedtls_mpi_bitlen 0x0f
158mpi_bitlen:"f":4
159
160Test mbedtls_mpi_bitlen 0x10
161mpi_bitlen:"10":5
162
163Test mbedtls_mpi_bitlen 0x0a
164mpi_bitlen:"a":4
165
166Test mbedtls_mpi_bitlen: 0 (null)
167mpi_bitlen:"":0
168
169Test mbedtls_mpi_bitlen: 0 (1 limb)
170mpi_bitlen:"0":0
171
172Test mbedtls_mpi_bitlen: -0x18
173mpi_bitlen:"-18":5
174
175Base test mbedtls_mpi_cmp_int #1
176mpi_cmp_int:693:693:0
177
178Base test mbedtls_mpi_cmp_int #2
179mpi_cmp_int:693:692:1
180
181Base test mbedtls_mpi_cmp_int #3
182mpi_cmp_int:693:694:-1
183
184Base test mbedtls_mpi_cmp_int (Negative values) #1
185mpi_cmp_int:-2:-2:0
186
187Base test mbedtls_mpi_cmp_int (Negative values) #2
188mpi_cmp_int:-2:-3:1
189
190Base test mbedtls_mpi_cmp_int (Negative values) #3
191mpi_cmp_int:-2:-1:-1
192
193Base test mbedtls_mpi_cmp_mpi #1
194mpi_cmp_mpi:"2b5":"2b5":0
195
196Base test mbedtls_mpi_cmp_mpi #2
197mpi_cmp_mpi:"2b5":"2b4":1
198
199Base test mbedtls_mpi_cmp_mpi #3
200mpi_cmp_mpi:"2b5":"2b6":-1
201
202Base test mbedtls_mpi_cmp_mpi (Negative values) #1
203mpi_cmp_mpi:"-2":"-2":0
204
205Base test mbedtls_mpi_cmp_mpi (Negative values) #2
206mpi_cmp_mpi:"-2":"-3":1
207
208Base test mbedtls_mpi_cmp_mpi (Negative values) #3
209mpi_cmp_mpi:"-2":"-1":-1
210
211Base test mbedtls_mpi_cmp_mpi (Mixed values) #4
212mpi_cmp_mpi:"-3":"2":-1
213
214Base test mbedtls_mpi_cmp_mpi (Mixed values) #5
215mpi_cmp_mpi:"2":"-3":1
216
217Base test mbedtls_mpi_cmp_mpi (Mixed values) #6
218mpi_cmp_mpi:"-2":"1c67967269c6":-1
219
220Test mbedtls_mpi_cmp_mpi: 0 (null) = 0 (null)
221mpi_cmp_mpi:"":"":0
222
223Test mbedtls_mpi_cmp_mpi: 0 (null) = 0 (1 limb)
224mpi_cmp_mpi:"":"0":0
225
226Test mbedtls_mpi_cmp_mpi: 0 (1 limb) = 0 (null)
227mpi_cmp_mpi:"0":"":0
228
229Test mbedtls_mpi_cmp_mpi: 0 (1 limb) = 0 (1 limb)
230mpi_cmp_mpi:"0":"0":0
231
232Test mbedtls_mpi_cmp_mpi: 0 (null) < positive
233mpi_cmp_mpi:"":"7b":-1
234
235Test mbedtls_mpi_cmp_mpi: 0 (1 limb) < positive
236mpi_cmp_mpi:"0":"7b":-1
237
238Test mbedtls_mpi_cmp_mpi: 0 (null) > negative
239mpi_cmp_mpi:"":"-7b":1
240
241Test mbedtls_mpi_cmp_mpi: 0 (1 limb) > negative
242mpi_cmp_mpi:"0":"-7b":1
243
244Test mbedtls_mpi_cmp_mpi: positive > 0 (null)
245mpi_cmp_mpi:"7b":"":1
246
247Test mbedtls_mpi_cmp_mpi: positive > 0 (1 limb)
248mpi_cmp_mpi:"7b":"0":1
249
250Test mbedtls_mpi_cmp_mpi: negative < 0 (null)
251mpi_cmp_mpi:"-7b":"":-1
252
253Test mbedtls_mpi_cmp_mpi: negative < 0 (1 limb)
254mpi_cmp_mpi:"-7b":"0":-1
255
256Test mbedtls_mpi_cmp_mpi: 0 (null) < positive with leading zero limb
257mpi_cmp_mpi:"":"0000000000000000123":-1
258
259Test mbedtls_mpi_cmp_mpi: 0 (1 limb) < positive with leading zero limb
260mpi_cmp_mpi:"0":"0000000000000000123":-1
261
262Test mbedtls_mpi_cmp_mpi: 0 (null) > negative with leading zero limb
263mpi_cmp_mpi:"":"-0000000000000000123":1
264
265Test mbedtls_mpi_cmp_mpi: 0 (1 limb) > negative with leading zero limb
266mpi_cmp_mpi:"0":"-0000000000000000123":1
267
268Test mbedtls_mpi_cmp_mpi: positive with leading zero limb > 0 (null)
269mpi_cmp_mpi:"0000000000000000123":"":1
270
271Test mbedtls_mpi_cmp_mpi: positive with leading zero limb > 0 (1 limb)
272mpi_cmp_mpi:"0000000000000000123":"0":1
273
274Test mbedtls_mpi_cmp_mpi: negative with leading zero limb < 0 (null)
275mpi_cmp_mpi:"-0000000000000000123":"":-1
276
277Test mbedtls_mpi_cmp_mpi: negative with leading zero limb < 0 (1 limb)
278mpi_cmp_mpi:"-0000000000000000123":"0":-1
279
280Test mbedtls_mpi_cmp_mpi: 0 (null) < large positive
281mpi_cmp_mpi:"":"1230000000000000000":-1
282
283Test mbedtls_mpi_cmp_mpi: 0 (1 limb) < large positive
284mpi_cmp_mpi:"0":"1230000000000000000":-1
285
286Test mbedtls_mpi_cmp_mpi: 0 (null) > large negative
287mpi_cmp_mpi:"":"-1230000000000000000":1
288
289Test mbedtls_mpi_cmp_mpi: 0 (1 limb) > large negative
290mpi_cmp_mpi:"0":"-1230000000000000000":1
291
292Test mbedtls_mpi_cmp_mpi: large positive > 0 (null)
293mpi_cmp_mpi:"1230000000000000000":"":1
294
295Test mbedtls_mpi_cmp_mpi: large positive > 0 (1 limb)
296mpi_cmp_mpi:"1230000000000000000":"0":1
297
298Test mbedtls_mpi_cmp_mpi: large negative < 0 (null)
299mpi_cmp_mpi:"-1230000000000000000":"":-1
300
301Test mbedtls_mpi_cmp_mpi: large negative < 0 (1 limb)
302mpi_cmp_mpi:"-1230000000000000000":"0":-1
303
304Base test mbedtls_mpi_lt_mpi_ct #1
305mpi_lt_mpi_ct:1:"2B5":1:"2B5":0:0
306
307Base test mbedtls_mpi_lt_mpi_ct #2
308mpi_lt_mpi_ct:1:"2B5":1:"2B4":0:0
309
310Base test mbedtls_mpi_lt_mpi_ct #3
311mpi_lt_mpi_ct:1:"2B5":1:"2B6":1:0
312
313Base test mbedtls_mpi_lt_mpi_ct (Negative values) #1
314mpi_lt_mpi_ct:1:"-2":1:"-2":0:0
315
316Base test mbedtls_mpi_lt_mpi_ct (Negative values) #2
317mpi_lt_mpi_ct:1:"-2":1:"-3":0:0
318
319Base test mbedtls_mpi_lt_mpi_ct (Negative values) #3
320mpi_lt_mpi_ct:1:"-2":1:"-1":1:0
321
322Base test mbedtls_mpi_lt_mpi_ct (Mixed values) #1
323mpi_lt_mpi_ct:1:"-3":1:"2":1:0
324
325Base test mbedtls_mpi_lt_mpi_ct (Mixed values) #2
326mpi_lt_mpi_ct:1:"2":1:"-3":0:0
327
328Base test mbedtls_mpi_lt_mpi_ct (Mixed values) #3
329mpi_lt_mpi_ct:2:"-2":2:"1C67967269C6":1:0
330
331Base test mbedtls_mpi_lt_mpi_ct (X is longer in storage)
332mpi_lt_mpi_ct:3:"2B5":2:"2B5":0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
333
334Base test mbedtls_mpi_lt_mpi_ct (Y is longer in storage)
335mpi_lt_mpi_ct:3:"2B5":4:"2B5":0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
336
337Base test mbedtls_mpi_lt_mpi_ct (length=0)
338mpi_lt_mpi_ct:0:"":0:"":0:0
339
340Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #1
341mpi_lt_mpi_ct:2:"7FFFFFFFFFFFFFFF":2:"FF":0:0
342
343Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #2
344mpi_lt_mpi_ct:2:"8000000000000000":2:"7FFFFFFFFFFFFFFF":0:0
345
346Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #3
347mpi_lt_mpi_ct:2:"8000000000000000":2:"1":0:0
348
349Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #4
350mpi_lt_mpi_ct:2:"8000000000000000":2:"0":0:0
351
352Base test mbedtls_mpi_lt_mpi_ct (corner case - 64 bit) #5
353mpi_lt_mpi_ct:2:"FFFFFFFFFFFFFFFF":2:"FF":0:0
354
355Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #1
356mpi_lt_mpi_ct:1:"7FFFFFFF":1:"FF":0:0
357
358Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #2
359mpi_lt_mpi_ct:1:"80000000":1:"7FFFFFFF":0:0
360
361Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #3
362mpi_lt_mpi_ct:1:"80000000":1:"1":0:0
363
364Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #4
365mpi_lt_mpi_ct:1:"80000000":1:"0":0:0
366
367Base test mbedtls_mpi_lt_mpi_ct (corner case - 32 bit) #5
368mpi_lt_mpi_ct:1:"FFFFFFFF":1:"FF":0:0
369
370Multi-limb mbedtls_mpi_lt_mpi_ct (X<Y, zero vs non-zero MS limb)
371mpi_lt_mpi_ct:2:"0FFFFFFFFFFFFFFFF":2:"1FFFFFFFFFFFFFFFF":1:0
372
373Multi-limb mbedtls_mpi_lt_mpi_ct (X>Y, equal MS limbs)
374mpi_lt_mpi_ct:2:"-EEFFFFFFFFFFFFFFF1":2:"-EEFFFFFFFFFFFFFFFF":0:0
375
376Multi-limb mbedtls_mpi_lt_mpi_ct (X=Y)
377mpi_lt_mpi_ct:2:"EEFFFFFFFFFFFFFFFF":2:"EEFFFFFFFFFFFFFFFF":0:0
378
379Multi-limb mbedtls_mpi_lt_mpi_ct (X=-Y)
380mpi_lt_mpi_ct:2:"-EEFFFFFFFFFFFFFFFF":2:"EEFFFFFFFFFFFFFFFF":1:0
381
382Multi-limb mbedtls_mpi_lt_mpi_ct (Alternating limbs) #1
383mpi_lt_mpi_ct:2:"11FFFFFFFFFFFFFFFF":2:"FF1111111111111111":1:0
384
385Multi-limb mbedtls_mpi_lt_mpi_ct (Alternating limbs) #2
386mpi_lt_mpi_ct:2:"FF1111111111111111":2:"11FFFFFFFFFFFFFFFF":0:0
387
388Multi-limb mbedtls_mpi_lt_mpi_ct (Alternating limbs) #3
389mpi_lt_mpi_ct:2:"-11FFFFFFFFFFFFFFFF":2:"-FF1111111111111111":0:0
390
391Multi-limb mbedtls_mpi_lt_mpi_ct (Alternating limbs) #4
392mpi_lt_mpi_ct:2:"-FF1111111111111111":2:"-11FFFFFFFFFFFFFFFF":1:0
393
394Base test mbedtls_mpi_cmp_abs #1
395mpi_cmp_abs:"2b5":"2b5":0
396
397Base test mbedtls_mpi_cmp_abs #2
398mpi_cmp_abs:"2b5":"2b4":1
399
400Base test mbedtls_mpi_cmp_abs #3
401mpi_cmp_abs:"2b5":"2b6":-1
402
403Base test mbedtls_mpi_cmp_abs (Negative values) #1
404mpi_cmp_abs:"-2":"-2":0
405
406Base test mbedtls_mpi_cmp_abs (Negative values) #2
407mpi_cmp_abs:"-2":"-3":-1
408
409Base test mbedtls_mpi_cmp_abs (Negative values) #3
410mpi_cmp_abs:"-2":"-1":1
411
412Test mbedtls_mpi_cmp_abs: 0 (null) = 0 (null)
413mpi_cmp_abs:"":"":0
414
415Test mbedtls_mpi_cmp_abs: 0 (null) = 0 (1 limb)
416mpi_cmp_abs:"":"0":0
417
418Test mbedtls_mpi_cmp_abs: 0 (1 limb) = 0 (null)
419mpi_cmp_abs:"0":"":0
420
421Test mbedtls_mpi_cmp_abs: 0 (1 limb) = 0 (1 limb)
422mpi_cmp_abs:"0":"0":0
423
424Base test mbedtls_mpi_cmp_abs (Mix values) #1
425mpi_cmp_abs:"-2":"2":0
426
427Base test mbedtls_mpi_cmp_abs (Mix values) #2
428mpi_cmp_abs:"2":"-3":-1
429
430Base test mbedtls_mpi_cmp_abs (Mix values) #3
431mpi_cmp_abs:"-2":"1":1
432
433Copy large negative to large negative
434mpi_copy:"-ca5cadedb01dfaceacc01ade":"-face1e55ca11ab1ecab005e5"
435
436Copy large negative to large positive
437mpi_copy:"-ca5cadedb01dfaceacc01ade":"face1e55ca11ab1ecab005e5"
438
439Copy large negative to small negative
440mpi_copy:"-ca5cadedb01dfaceacc01ade":"-beef"
441
442Copy large negative to small positive
443mpi_copy:"-ca5cadedb01dfaceacc01ade":"beef"
444
445Copy large negative to zero (1 limb)
446mpi_copy:"-ca5cadedb01dfaceacc01ade":"0"
447
448Copy large negative to zero (null)
449mpi_copy:"-ca5cadedb01dfaceacc01ade":""
450
451Copy large positive to large negative
452mpi_copy:"ca5cadedb01dfaceacc01ade":"-face1e55ca11ab1ecab005e5"
453
454Copy large positive to large positive
455mpi_copy:"ca5cadedb01dfaceacc01ade":"face1e55ca11ab1ecab005e5"
456
457Copy large positive to small negative
458mpi_copy:"ca5cadedb01dfaceacc01ade":"-beef"
459
460Copy large positive to small positive
461mpi_copy:"ca5cadedb01dfaceacc01ade":"beef"
462
463Copy large positive to zero (1 limb)
464mpi_copy:"ca5cadedb01dfaceacc01ade":"0"
465
466Copy large positive to zero (null)
467mpi_copy:"ca5cadedb01dfaceacc01ade":""
468
469Copy small negative to large negative
470mpi_copy:"-bead":"-face1e55ca11ab1ecab005e5"
471
472Copy small negative to large positive
473mpi_copy:"-bead":"face1e55ca11ab1ecab005e5"
474
475Copy small negative to small negative
476mpi_copy:"-bead":"-beef"
477
478Copy small negative to small positive
479mpi_copy:"-bead":"beef"
480
481Copy small negative to zero (1 limb)
482mpi_copy:"-bead":"0"
483
484Copy small negative to zero (null)
485mpi_copy:"-bead":""
486
487Copy small positive to large negative
488mpi_copy:"bead":"-face1e55ca11ab1ecab005e5"
489
490Copy small positive to large positive
491mpi_copy:"bead":"face1e55ca11ab1ecab005e5"
492
493Copy small positive to small negative
494mpi_copy:"bead":"-beef"
495
496Copy small positive to small positive
497mpi_copy:"bead":"beef"
498
499Copy small positive to zero (1 limb)
500mpi_copy:"bead":"0"
501
502Copy small positive to zero (null)
503mpi_copy:"bead":""
504
505Copy zero (1 limb) to large negative
506mpi_copy:"0":"-face1e55ca11ab1ecab005e5"
507
508Copy zero (1 limb) to large positive
509mpi_copy:"0":"face1e55ca11ab1ecab005e5"
510
511Copy zero (1 limb) to small negative
512mpi_copy:"0":"-beef"
513
514Copy zero (1 limb) to small positive
515mpi_copy:"0":"beef"
516
517Copy zero (1 limb) to zero (1 limb)
518mpi_copy:"0":"0"
519
520Copy zero (1 limb) to zero (null)
521mpi_copy:"0":""
522
523Copy zero (null) to large negative
524mpi_copy:"":"-face1e55ca11ab1ecab005e5"
525
526Copy zero (null) to large positive
527mpi_copy:"":"face1e55ca11ab1ecab005e5"
528
529Copy zero (null) to small negative
530mpi_copy:"":"-beef"
531
532Copy zero (null) to small positive
533mpi_copy:"":"beef"
534
535Copy zero (null) to zero (1 limb)
536mpi_copy:"":"0"
537
538Copy zero (null) to zero (null)
539mpi_copy:"":""
540
541Copy self: large negative
542mpi_copy_self:"-ca5cadedb01dfaceacc01ade"
543
544Copy self: large positive
545mpi_copy_self:"ca5cadedb01dfaceacc01ade"
546
547Copy self: small negative
548mpi_copy_self:"-bead"
549
550Copy self: small positive
551mpi_copy_self:"bead"
552
553Copy self: zero (1 limb)
554mpi_copy_self:"0"
555
556Copy self: zero (null)
557mpi_copy_self:""
558
559Swap large negative with large negative
560mpi_swap:"-ca5cadedb01dfaceacc01ade":"-face1e55ca11ab1ecab005e5"
561
562Swap large negative with large positive
563mpi_swap:"-ca5cadedb01dfaceacc01ade":"face1e55ca11ab1ecab005e5"
564
565Swap large negative with small negative
566mpi_swap:"-ca5cadedb01dfaceacc01ade":"-beef"
567
568Swap large negative with small positive
569mpi_swap:"-ca5cadedb01dfaceacc01ade":"beef"
570
571Swap large negative with zero (1 limb)
572mpi_swap:"-ca5cadedb01dfaceacc01ade":"0"
573
574Swap large negative with zero (null)
575mpi_swap:"-ca5cadedb01dfaceacc01ade":""
576
577Swap large positive with large negative
578mpi_swap:"ca5cadedb01dfaceacc01ade":"-face1e55ca11ab1ecab005e5"
579
580Swap large positive with large positive
581mpi_swap:"ca5cadedb01dfaceacc01ade":"face1e55ca11ab1ecab005e5"
582
583Swap large positive with small negative
584mpi_swap:"ca5cadedb01dfaceacc01ade":"-beef"
585
586Swap large positive with small positive
587mpi_swap:"ca5cadedb01dfaceacc01ade":"beef"
588
589Swap large positive with zero (1 limb)
590mpi_swap:"ca5cadedb01dfaceacc01ade":"0"
591
592Swap large positive with zero (null)
593mpi_swap:"ca5cadedb01dfaceacc01ade":""
594
595Swap small negative with large negative
596mpi_swap:"-bead":"-face1e55ca11ab1ecab005e5"
597
598Swap small negative with large positive
599mpi_swap:"-bead":"face1e55ca11ab1ecab005e5"
600
601Swap small negative with small negative
602mpi_swap:"-bead":"-beef"
603
604Swap small negative with small positive
605mpi_swap:"-bead":"beef"
606
607Swap small negative with zero (1 limb)
608mpi_swap:"-bead":"0"
609
610Swap small negative with zero (null)
611mpi_swap:"-bead":""
612
613Swap small positive with large negative
614mpi_swap:"bead":"-face1e55ca11ab1ecab005e5"
615
616Swap small positive with large positive
617mpi_swap:"bead":"face1e55ca11ab1ecab005e5"
618
619Swap small positive with small negative
620mpi_swap:"bead":"-beef"
621
622Swap small positive with small positive
623mpi_swap:"bead":"beef"
624
625Swap small positive with zero (1 limb)
626mpi_swap:"bead":"0"
627
628Swap small positive with zero (null)
629mpi_swap:"bead":""
630
631Swap zero (1 limb) with large negative
632mpi_swap:"0":"-face1e55ca11ab1ecab005e5"
633
634Swap zero (1 limb) with large positive
635mpi_swap:"0":"face1e55ca11ab1ecab005e5"
636
637Swap zero (1 limb) with small negative
638mpi_swap:"0":"-beef"
639
640Swap zero (1 limb) with small positive
641mpi_swap:"0":"beef"
642
643Swap zero (1 limb) with zero (1 limb)
644mpi_swap:"0":"0"
645
646Swap zero (1 limb) with zero (null)
647mpi_swap:"0":""
648
649Swap zero (null) with large negative
650mpi_swap:"":"-face1e55ca11ab1ecab005e5"
651
652Swap zero (null) with large positive
653mpi_swap:"":"face1e55ca11ab1ecab005e5"
654
655Swap zero (null) with small negative
656mpi_swap:"":"-beef"
657
658Swap zero (null) with small positive
659mpi_swap:"":"beef"
660
661Swap zero (null) with zero (1 limb)
662mpi_swap:"":"0"
663
664Swap zero (null) with zero (null)
665mpi_swap:"":""
666
667Swap self: large negative
668mpi_swap_self:"-ca5cadedb01dfaceacc01ade"
669
670Swap self: large positive
671mpi_swap_self:"ca5cadedb01dfaceacc01ade"
672
673Swap self: small negative
674mpi_swap_self:"-bead"
675
676Swap self: small positive
677mpi_swap_self:"bead"
678
679Swap self: zero (1 limb)
680mpi_swap_self:"0"
681
682Swap self: zero (null)
683mpi_swap_self:""
684
685Shrink 0 limbs in a buffer of size 0 to 0
686mpi_shrink:0:0:0:0
687
688Shrink 2 limbs in a buffer of size 2 to 4
689mpi_shrink:2:2:4:4
690
691Shrink 2 limbs in a buffer of size 4 to 4
692mpi_shrink:4:2:4:4
693
694Shrink 2 limbs in a buffer of size 8 to 4
695mpi_shrink:8:2:4:4
696
697Shrink 4 limbs in a buffer of size 8 to 4
698mpi_shrink:8:4:4:4
699
700Shrink 6 limbs in a buffer of size 8 to 4 yielding 6
701mpi_shrink:8:6:4:6
702
703Shrink 2 limbs in a buffer of size 4 to 0 yielding 2
704mpi_shrink:4:2:0:2
705
706Shrink 1 limbs in a buffer of size 4 to 0 yielding 1
707mpi_shrink:4:1:0:1
708
709Shrink 0 limbs in a buffer of size 4 to 0 yielding 1
710mpi_shrink:4:0:0:1
711
712Base test mbedtls_mpi_add_abs #1
713mpi_add_abs:"bc614e":"9cde3":"c62f31"
714
715Base test mbedtls_mpi_add_abs #2
716mpi_add_abs:"-bc614e":"9cde3":"c62f31"
717
718Base test mbedtls_mpi_add_abs #3
719mpi_add_abs:"bc614e":"-9cde3":"c62f31"
720
721Base test mbedtls_mpi_add_abs #4
722mpi_add_abs:"-bc614e":"-9cde3":"c62f31"
723
724Test mbedtls_mpi_add_abs: 0 (null) + 0 (null)
725mpi_add_abs:"":"":"0"
726
727Test mbedtls_mpi_add_abs: 0 (null) + 1
728mpi_add_abs:"":"01":"01"
729
730Test mbedtls_mpi_add_abs: 1 + 0 (null)
731mpi_add_abs:"01":"":"01"
732
733Test mbedtls_mpi_add_abs #1
734mpi_add_abs:"-1f55332c3a48b910f9942f6c914e58bef37a47ee45cb164a5b6b8d1006bf59a059c21449939ebebfdf517d2e1dbac88010d7b1f141e997bd6801ddaec9d05910f4f2de2b2c4d714e2c14a72fc7f17aa428d59c531627f09":"941379d00fed1491dec0abfc13b52b9049625b3c42c3a972a2549e7a3e1b12c5a304b23e9ed6e251b8af28a4b3124900b23138bfafda925ab3410d57d6f8f0dd8c8c32eb0b4329fbf792e43f9593e766fa0c3c0be077b4e5162616a6428c51b":"941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424"
735
736Regression mbedtls_mpi_add_abs (add small to very large MPI with carry rollover) [#1]
737mpi_add_abs:"FFFFFFFFFFFFFFFFFFFFFFFFFFFFF8":"08":"1000000000000000000000000000000"
738
739Regression mbedtls_mpi_add_abs (add small to very large MPI with carry rollover) [#2]
740mpi_add_abs:"08":"FFFFFFFFFFFFFFFFFFFFFFFFFFFFF8":"1000000000000000000000000000000"
741
742Base test mbedtls_mpi_add_mpi #1
743mpi_add_mpi:"bc614e":"9cde3":"c62f31"
744
745Base test mbedtls_mpi_add_mpi #2
746mpi_add_mpi:"-bc614e":"9cde3":"-b2936b"
747
748Base test mbedtls_mpi_add_mpi #3
749mpi_add_mpi:"bc614e":"-9cde3":"b2936b"
750
751Base test mbedtls_mpi_add_mpi #4
752mpi_add_mpi:"-bc614e":"-9cde3":"-c62f31"
753
754Test mbedtls_mpi_add_mpi: 0 (null) + 0 (null)
755mpi_add_mpi:"":"":"0"
756
757Test mbedtls_mpi_add_mpi: 0 (null) + 1
758mpi_add_mpi:"":"01":"01"
759
760Test mbedtls_mpi_add_mpi: 1 + 0 (null)
761mpi_add_mpi:"01":"":"01"
762
763Test mbedtls_mpi_add_mpi: 0 (null) + -1
764mpi_add_mpi:"":"-01":"-01"
765
766Test mbedtls_mpi_add_mpi: -1 + 0 (null)
767mpi_add_mpi:"-01":"":"-01"
768
769Test mbedtls_mpi_add_mpi #1
770mpi_add_mpi:"4df72d07b4b71c8dacb6cffa954f8d88254b6277099308baf003fab73227f34029643b5a263f66e0d3c3fa297ef71755efd53b8fb6cb812c6bbf7bcf179298bd9947c4c8b14324140a2c0f5fad7958a69050a987a6096e9f055fb38edf0c5889eca4a0cfa99b45fbdeee4c696b328ddceae4723945901ec025076b12b":"cb50e82a8583f44ee0025942e7362991b24e12663a0ddc234a57b0f7b4ff7b025bf5a6707dedc2898e70b739042c95a996283dffdf67558768784553c61e302e8812bc90f0bb0696870cfb910b560cefed8d99bbf7a00b31ccdbd56f3594e5a653cfd127d2167b13119e5c45c3f76b4e3d904a9bc0cbb43c33aa7f23b":"1194815323a3b10dc8cb9293d7c85b719d79974dd43a0e4de3a5babaee7276e428559e1caa42d296a6234b1628323acff85fd798f9632d6b3d437c122ddb0c8ec215a8159a1fe2aaa91390af0b8cf65967dde43439da979d0d23b88fe14a13e30407471f77bb1c10ef08ca8af2f29f92b2874bcd5065bd2fc58b1ea366"
771
772Test mbedtls_mpi_add_mpi #2
773mpi_add_mpi:"1f55332c3a48b910f9942f6c914e58bef37a47ee45cb164a5b6b8d1006bf59a059c21449939ebebfdf517d2e1dbac88010d7b1f141e997bd6801ddaec9d05910f4f2de2b2c4d714e2c14a72fc7f17aa428d59c531627f09":"941379d00fed1491dec0abfc13b52b9049625b3c42c3a972a2549e7a3e1b12c5a304b23e9ed6e251b8af28a4b3124900b23138bfafda925ab3410d57d6f8f0dd8c8c32eb0b4329fbf792e43f9593e766fa0c3c0be077b4e5162616a6428c51b":"941379d00fed1491fe15df284dfde4a142f68aa8d412023195cee66883e6290ffe703f4ea5963bf212713cee46b107c09182b5edcd955adac418bf4918e2889af48e1099d513830cec85c26ac1e158b52620e33ba8692f893efbb2f958b4424"
774
775Base test mbedtls_mpi_add_mpi inplace #1
776mpi_add_mpi_inplace:"bc614e":"178c29c"
777
778Test mbedtls_mpi_add_mpi inplace #2
779mpi_add_mpi_inplace:"1f55332c3a48b910f9942f6c914e58bef37a47ee45cb164a5b6b8d1006bf59a059c21449939ebebfdf517d2e1dbac88010d7b1f141e997bd6801ddaec9d05910f4f2de2b2c4d714e2c14a72fc7f17aa428d59c531627f09":"3eaa665874917221f3285ed9229cb17de6f48fdc8b962c94b6d71a200d7eb340b3842893273d7d7fbea2fa5c3b75910021af63e283d32f7ad003bb5d93a0b221e9e5bc56589ae29c58294e5f8fe2f54851ab38a62c4fe12"
780
781Test mbedtls_mpi_add_mpi inplace #3
782mpi_add_mpi_inplace:"ffffffffffffffffffffffffffffffff":"01fffffffffffffffffffffffffffffffe"
783
784Test mbedtls_mpi_add_int #1
785mpi_add_int:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd92ad4189":9871232:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd9343e109"
786
787Test mbedtls_mpi_add_int #2
788mpi_add_int:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd92ad4189":-9871232:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd9216a209"
789
790Test mbedtls_mpi_add_int: 0 (null) + 0
791mpi_add_int:"":0:"0"
792
793Test mbedtls_mpi_add_int: 0 (null) + 1
794mpi_add_int:"":1:"1"
795
796Base test mbedtls_mpi_sub_abs #1 (|B| > |A|)
797mpi_sub_abs:"5":"7":"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
798
799Base test mbedtls_mpi_sub_abs #2 (|B| > |A|)
800mpi_sub_abs:"-5":"-7":"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
801
802Base test mbedtls_mpi_sub_abs #3 (|B| > |A|)
803mpi_sub_abs:"-5":"7":"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
804
805Base test mbedtls_mpi_sub_abs #4 (|B| > |A|)
806mpi_sub_abs:"5":"-7":"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
807
808Base test mbedtls_mpi_sub_abs #1 (|B| >> |A| with more limbs)
809mpi_sub_abs:"5":"123456789abcdef01":"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
810
811Base test mbedtls_mpi_sub_abs #2 (|B| >> |A| with more limbs)
812mpi_sub_abs:"-5":"-123456789abcdef01":"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
813
814Base test mbedtls_mpi_sub_abs #3 (|B| >> |A| with more limbs)
815mpi_sub_abs:"-5":"123456789abcdef01":"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
816
817Base test mbedtls_mpi_sub_abs #4 (|B| >> |A| with more limbs)
818mpi_sub_abs:"5":"-123456789abcdef01":"0":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
819
820Base test mbedtls_mpi_sub_abs #1
821mpi_sub_abs:"7":"5":"2":0
822
823Base test mbedtls_mpi_sub_abs #2
824mpi_sub_abs:"-7":"-5":"2":0
825
826Base test mbedtls_mpi_sub_abs #3
827mpi_sub_abs:"-7":"5":"2":0
828
829Base test mbedtls_mpi_sub_abs #4
830mpi_sub_abs:"7":"-5":"2":0
831
832Test mbedtls_mpi_sub_abs: 0 (null) - 0 (null)
833mpi_sub_abs:"":"":"":0
834
835Test mbedtls_mpi_sub_abs: 0 (null) - 0 (1 limb)
836mpi_sub_abs:"":"00":"":0
837
838Test mbedtls_mpi_sub_abs: 0 (1 limb) - 0 (null)
839mpi_sub_abs:"00":"":"":0
840
841Test mbedtls_mpi_sub_abs: 0 (1 limb) - 0 (1 limb)
842mpi_sub_abs:"00":"00":"":0
843
844Test mbedtls_mpi_sub_abs: 1 - 0 (null)
845mpi_sub_abs:"01":"":"01":0
846
847Test mbedtls_mpi_sub_abs: 0 (null) - 1
848mpi_sub_abs:"":"01":"":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
849
850Test mbedtls_mpi_sub_abs #1
851mpi_sub_abs:"FFFFFFFFFF":"01":"FFFFFFFFFE":0
852
853Test mbedtls_mpi_sub_abs #2
854mpi_sub_abs:"FFFFFFFFF0":"01":"FFFFFFFFEF":0
855
856Test mbedtls_mpi_sub_abs #3
857mpi_sub_abs:"FF00000000":"0F00000000":"F000000000":0
858
859Test mbedtls_mpi_sub_abs #4
860mpi_sub_abs:"FF00000000":"0F00000001":"EFFFFFFFFF":0
861
862Base test mbedtls_mpi_sub_mpi #1 (Test with negative result)
863mpi_sub_mpi:"5":"7":"-2"
864
865Base test mbedtls_mpi_sub_mpi #2 (Test with negative inputs)
866mpi_sub_mpi:"-5":"-7":"2"
867
868Base test mbedtls_mpi_sub_mpi #3 (Test with negative base)
869mpi_sub_mpi:"-5":"7":"-c"
870
871Base test mbedtls_mpi_sub_mpi #4 (Test with negative subtraction)
872mpi_sub_mpi:"5":"-7":"c"
873
874Test mbedtls_mpi_sub_mpi: 0 (null) - 0 (null)
875mpi_sub_mpi:"":"":"0"
876
877Test mbedtls_mpi_sub_mpi: 0 (null) - 0 (1 limb)
878mpi_sub_mpi:"":"00":"0"
879
880Test mbedtls_mpi_sub_mpi: 0 (null) - 1
881mpi_sub_mpi:"":"1":"-1"
882
883Test mbedtls_mpi_sub_mpi: 0 (null) - -1
884mpi_sub_mpi:"":"-1":"1"
885
886Test mbedtls_mpi_sub_mpi: 0 (1 limb) - 0 (null)
887mpi_sub_mpi:"00":"":"0"
888
889Test mbedtls_mpi_sub_mpi: 1 - 0 (null)
890mpi_sub_mpi:"1":"":"1"
891
892Test mbedtls_mpi_sub_mpi: -1 - 0 (null)
893mpi_sub_mpi:"-1":"":"-1"
894
895Test mbedtls_mpi_sub_mpi #1
896mpi_sub_mpi:"cb50e82a8583f44ee0025942e7362991b24e12663a0ddc234a57b0f7b4ff7b025bf5a6707dedc2898e70b739042c95a996283dffdf67558768784553c61e302e8812bc90f0bb0696870cfb910b560cefed8d99bbf7a00b31ccdbd56f3594e5a653cfd127d2167b13119e5c45c3f76b4e3d904a9bc0cbb43c33aa7f23b":"4df72d07b4b71c8dacb6cffa954f8d88254b6277099308baf003fab73227f34029643b5a263f66e0d3c3fa297ef71755efd53b8fb6cb812c6bbf7bcf179298bd9947c4c8b14324140a2c0f5fad7958a69050a987a6096e9f055fb38edf0c5889eca4a0cfa99b45fbdeee4c696b328ddceae4723945901ec025076b12b":"7d59bb22d0ccd7c1334b894851e69c098d02afef307ad3685a53b64082d787c232916b1657ae5ba8baacbd0f85357e53a6530270289bd45afcb8c984ae8b9770eecaf7c83f77e2827ce0ec315ddcb4495d3cf03451969c92c77c21e056888d1c672b3058287b351732b00fdc58c4dd7152abd8627b3b957c0ea314110"
897
898Test mbedtls_mpi_sub_mpi #2 (Test for negative result)
899mpi_sub_mpi:"1f55332c3a48b910f9942f6c914e58bef37a47ee45cb164a5b6b8d1006bf59a059c21449939ebebfdf517d2e1dbac88010d7b1f141e997bd6801ddaec9d05910f4f2de2b2c4d714e2c14a72fc7f17aa428d59c531627f09":"941379d00fed1491dec0abfc13b52b9049625b3c42c3a972a2549e7a3e1b12c5a304b23e9ed6e251b8af28a4b3124900b23138bfafda925ab3410d57d6f8f0dd8c8c32eb0b4329fbf792e43f9593e766fa0c3c0be077b4e5162616a6428c51b":"-941379d00fed1491bf6b78cfd96c727f4fce2bcfb17550b3aeda568bf84ffc7b4799252e981788b15eed145b1f738a40d2dfbb91921fc9daa2695b66950f5920248a553c4172d0eb02a0061469467618cdf794dc18863a40ed507a532c64612"
900
901Test mbedtls_mpi_sub_int #1
902mpi_sub_int:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd92ad4189":-9871232:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd9343e109"
903
904Test mbedtls_mpi_sub_int #2
905mpi_sub_int:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd92ad4189":9871232:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd9216a209"
906
907Test mbedtls_mpi_sub_int: 0 (null) - 0
908mpi_sub_int:"":0:"0"
909
910Test mbedtls_mpi_sub_int: 0 (null) - 1
911mpi_sub_int:"":1:"-1"
912
913Test mbedtls_mpi_sub_int: 0 (null) - -1
914mpi_sub_int:"":-1:"1"
915
916Test mbedtls_mpi_shift_l #1
917mpi_shift_l:"40":1:"80"
918
919Test mbedtls_mpi_shift_l #2
920mpi_shift_l:"1946e2958a85d8863ae21f4904fcc49478412534ed53eaf321f63f2a2227a3c63acbf50b6305595f90cfa8327f6db80d986fe96080bcbb5df1bdbe9b74fb8dedf2bddb3f8215b54dffd66409323bcc473e45a8fe9d08e77a511698b5dad0416305db7fcf":37:"328dc52b150bb10c75c43e9209f98928f0824a69daa7d5e643ec7e54444f478c7597ea16c60ab2bf219f5064fedb701b30dfd2c1017976bbe37b7d36e9f71bdbe57bb67f042b6a9bffacc8126477988e7c8b51fd3a11cef4a22d316bb5a082c60bb6ff9e000000000"
921
922Test mbedtls_mpi_shift_l: 0 (null) <<= 0
923mpi_shift_l:"":0:"0"
924
925Test mbedtls_mpi_shift_l: 0 (null) <<= 1
926mpi_shift_l:"":1:"0"
927
928Test mbedtls_mpi_shift_l: 0 (null) <<= 64
929mpi_shift_l:"":64:"0"
930
931Test mbedtls_mpi_shift_r #1
932mpi_shift_r:"80":1:"40"
933
934Test mbedtls_mpi_shift_r #2
935mpi_shift_r:"4a36ce2a2eba161116629d6196efb17ee4f01ef753cd32b9e952d4d69e4b2401e85e0c3ba0ea761f44e312db10209fb6b38963c9c0302dc67b1b531c32301d8d341968c734387ef8bc2496051e0bb530975839852d8dd15684788f9dca62cb0c372ac51":45:"251b6715175d0b088b314eb0cb77d8bf72780f7ba9e6995cf4a96a6b4f259200f42f061dd0753b0fa271896d88104fdb59c4b1e4e01816e33d8da98e19180ec69a0cb4639a1c3f7c5e124b028f05da984bac1cc296c6e8ab423c47cee531"
936
937Test mbedtls_mpi_shift_r #4 [#1]
938mpi_shift_r:"FFFFFFFFFFFFFFFF":63:"01"
939
940Test mbedtls_mpi_shift_r #4 [#2]
941mpi_shift_r:"FFFFFFFFFFFFFFFF":64:"00"
942
943Test mbedtls_mpi_shift_r #6
944mpi_shift_r:"FFFFFFFFFFFFFFFF":65:"00"
945
946Test mbedtls_mpi_shift_r #7
947mpi_shift_r:"FFFFFFFFFFFFFFFF":128:"00"
948
949Test mbedtls_mpi_shift_r: 0 (null) >>= 0
950mpi_shift_r:"":0:"0"
951
952Test mbedtls_mpi_shift_r: 0 (null) >>= 1
953mpi_shift_r:"":1:"0"
954
955Test mbedtls_mpi_shift_r: 0 (null) >>= 64
956mpi_shift_r:"":64:"0"
957
958Base test mbedtls_mpi_mul_mpi #1
959mpi_mul_mpi:"5":"7":"23"
960
961Base test mbedtls_mpi_mul_mpi #2
962mpi_mul_mpi:"-5":"7":"-23"
963
964Base test mbedtls_mpi_mul_mpi #3
965mpi_mul_mpi:"5":"-7":"-23"
966
967Base test mbedtls_mpi_mul_mpi #4
968mpi_mul_mpi:"-5":"-7":"23"
969
970Test mbedtls_mpi_mul_mpi: 0 (null) * 0 (null)
971mpi_mul_mpi:"":"":"0"
972
973Test mbedtls_mpi_mul_mpi: 0 (null) * 0 (1 limb)
974mpi_mul_mpi:"":"00":"0"
975
976Test mbedtls_mpi_mul_mpi: 0 (null) * 1
977mpi_mul_mpi:"":"01":"0"
978
979Test mbedtls_mpi_mul_mpi: 0 (null) * -1
980mpi_mul_mpi:"":"-01":"0"
981
982Test mbedtls_mpi_mul_mpi: 0 (1 limb) * -1
983mpi_mul_mpi:"00":"-01":"0"
984
985Test mbedtls_mpi_mul_mpi: 0 (1 limb) * 0 (null)
986mpi_mul_mpi:"00":"":"0"
987
988Test mbedtls_mpi_mul_mpi: 1 * 0 (null)
989mpi_mul_mpi:"01":"":"0"
990
991Test mbedtls_mpi_mul_mpi: -1 * 0 (null)
992mpi_mul_mpi:"-01":"":"0"
993
994Test mbedtls_mpi_mul_mpi: -1 * 0 (1 limb)
995mpi_mul_mpi:"-01":"00":"0"
996
997Test mbedtls_mpi_mul_mpi #1
998mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
999
1000Test mbedtls_mpi_mul_mpi #1, leading 0 limb in B
1001mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"000000000000000001b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1002
1003Test mbedtls_mpi_mul_mpi #1, leading 0 limb in B, A < 0
1004mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"000000000000000001b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1005
1006Test mbedtls_mpi_mul_mpi #1, leading 0 limb in B, B < 0
1007mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-000000000000000001b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1008
1009Test mbedtls_mpi_mul_mpi #1, leading 0 limb in B, A < 0, B < 0
1010mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-000000000000000001b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1011
1012Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A
1013mpi_mul_mpi:"000000000000000002f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1014
1015Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A, A < 0
1016mpi_mul_mpi:"-000000000000000002f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1017
1018Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A, B < 0
1019mpi_mul_mpi:"000000000000000002f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1020
1021Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A, A < 0, B < 0
1022mpi_mul_mpi:"-000000000000000002f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1023
1024Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A and B
1025mpi_mul_mpi:"000000000000000002f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"000000000000000001b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1026
1027Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A and B, A < 0
1028mpi_mul_mpi:"-000000000000000002f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"000000000000000001b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1029
1030Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A and B, B < 0
1031mpi_mul_mpi:"000000000000000002f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-000000000000000001b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1032
1033Test mbedtls_mpi_mul_mpi #1, leading 0 limb in A and B, A < 0, B < 0
1034mpi_mul_mpi:"-000000000000000002f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-000000000000000001b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb59"
1035
1036Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A
1037mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf24510000000000000000":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb590000000000000000"
1038
1039Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A, A < 0
1040mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf24510000000000000000":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb590000000000000000"
1041
1042Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A, B < 0
1043mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf24510000000000000000":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb590000000000000000"
1044
1045Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A, A < 0, B < 0
1046mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf24510000000000000000":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb590000000000000000"
1047
1048Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in B
1049mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c890000000000000000":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb590000000000000000"
1050
1051Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in B, A < 0
1052mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c890000000000000000":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb590000000000000000"
1053
1054Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in B, B < 0
1055mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c890000000000000000":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb590000000000000000"
1056
1057Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in B, A < 0, B < 0
1058mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c890000000000000000":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb590000000000000000"
1059
1060Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A and B
1061mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf24510000000000000000":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c890000000000000000":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1062
1063Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A and B, A < 0
1064mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf24510000000000000000":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c890000000000000000":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1065
1066Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A and B, B < 0
1067mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf24510000000000000000":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c890000000000000000":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1068
1069Test mbedtls_mpi_mul_mpi #2, trailing 0 limb in A and B, A < 0, B < 0
1070mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf24510000000000000000":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c890000000000000000":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1071
1072Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in A
1073mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf245100000000000000000000000000000000":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1074
1075Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in A, A < 0
1076mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf245100000000000000000000000000000000":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1077
1078Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in A, B < 0
1079mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf245100000000000000000000000000000000":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1080
1081Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in A, A < 0, B < 0
1082mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf245100000000000000000000000000000000":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1083
1084Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in B
1085mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c8900000000000000000000000000000000":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1086
1087Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in B, A < 0
1088mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c8900000000000000000000000000000000":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1089
1090Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in B, B < 0
1091mpi_mul_mpi:"02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c8900000000000000000000000000000000":"-0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1092
1093Test mbedtls_mpi_mul_mpi #3, trailing 0 limbs in B, A < 0, B < 0
1094mpi_mul_mpi:"-02f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"-01b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c8900000000000000000000000000000000":"0503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5900000000000000000000000000000000"
1095
1096Test mbedtls_mpi_mul_int #1
1097mpi_mul_int:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd92ad4189":9871232:"9e22d6da18a33d1ef28d2a82242b3f6e9c9742f63e5d440f58a190bfaf23a7866e67589adb80":"=="
1098
1099Test mbedtls_mpi_mul_int #2 (Unsigned, thus failure)
1100mpi_mul_int:"10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd92ad4189":-9871232:"-9e22d6da18a33d1ef28d2a82242b3f6e9c9742f63e5d440f58a190bfaf23a7866e67589adb80":"!="
1101
1102Test mbedtls_mpi_mul_int #3
1103mpi_mul_int:"-10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd92ad4189":9871232:"-9e22d6da18a33d1ef28d2a82242b3f6e9c9742f63e5d440f58a190bfaf23a7866e67589adb80":"=="
1104
1105Test mbedtls_mpi_mul_int #4 (Unsigned, thus failure)
1106mpi_mul_int:"-10cc4ebcb68cbdaa438b80692d9e586b384ae3e1fa33f3db5962d394bec17fd92ad4189":-9871232:"9e22d6da18a33d1ef28d2a82242b3f6e9c9742f63e5d440f58a190bfaf23a7866e67589adb80":"!="
1107
1108Test mbedtls_mpi_mul_int: 0 (null) * 0
1109mpi_mul_int:"":0:"":"=="
1110
1111Test mbedtls_mpi_mul_int: 0 (null) * 1
1112mpi_mul_int:"":1:"":"=="
1113
1114Test mbedtls_mpi_mul_int: 0 (null) * 0x1234
1115mpi_mul_int:"":0x1234:"":"=="
1116
1117Base test mbedtls_mpi_div_mpi #1
1118mpi_div_mpi:"3e8":"d":"4c":"c":0
1119
1120Base test mbedtls_mpi_div_mpi #2 (Divide by zero (1 limb))
1121mpi_div_mpi:"3e8":"0":"1":"1":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1122
1123Base test mbedtls_mpi_div_mpi #2 (Divide by zero (null))
1124mpi_div_mpi:"3e8":"":"1":"1":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1125
1126Base test mbedtls_mpi_div_mpi #3
1127mpi_div_mpi:"3e8":"-d":"-4c":"c":0
1128
1129Test mbedtls_mpi_div_mpi: 0 (null) / 0 (null)
1130mpi_div_mpi:"":"":"":"":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1131
1132Test mbedtls_mpi_div_mpi: 0 (null) / 0 (1 limb)
1133mpi_div_mpi:"":"0":"":"":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1134
1135Test mbedtls_mpi_div_mpi: 0 (1 limb) / 0 (null)
1136mpi_div_mpi:"0":"":"":"":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1137
1138Test mbedtls_mpi_div_mpi: 0 (1 limb) / 0 (1 limb)
1139mpi_div_mpi:"0":"0":"":"":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1140
1141Test mbedtls_mpi_div_mpi: 0 (null) / 1
1142mpi_div_mpi:"":"1":"":"":0
1143
1144Test mbedtls_mpi_div_mpi: 0 (null) / -1
1145mpi_div_mpi:"":"-1":"":"":0
1146
1147Test mbedtls_mpi_div_mpi: -0 (null) / 1
1148mpi_div_mpi:"-":"1":"":"":0
1149
1150Test mbedtls_mpi_div_mpi: -0 (null) / -1
1151mpi_div_mpi:"-":"-1":"":"":0
1152
1153Test mbedtls_mpi_div_mpi: -0 (null) / 42
1154mpi_div_mpi:"-":"2a":"":"":0
1155
1156Test mbedtls_mpi_div_mpi: -0 (null) / -42
1157mpi_div_mpi:"-":"-2a":"":"":0
1158
1159Test mbedtls_mpi_div_mpi #1
1160mpi_div_mpi:"9e22d6da18a33d1ef28d2a82242b3f6e9c9742f63e5d440f58a190bfaf23a7866e67589adb80":"22":"4a6abf75b13dc268ea9cc8b5b6aaf0ac85ecd437a4e0987fb13cf8d2acc57c0306c738c1583":"1a":0
1161
1162Test mbedtls_mpi_div_mpi #2
1163mpi_div_mpi:"503ae899d35ae5b7706b067aed7cb2952da37a5d4ad58f05f69abe14e8aaae88eab2baed858177cb4595c0edc92e5ac13c2bba2bfa23276dd023e9e52f547d4c9edb138d86aad329d7afb01e15eab7281e181cb249fc91bf09d621d86561301edda156f80e3bbff853a312852fe9e3d0541cb86801390aff1dc3c05bcb592c266f625b70e419b4c7e7e85399bb06c0e50b099b4292f9eaff4d869681faa1f745b5fcb3349ed93c572739a31dcf76b43370cf9f86cc54e982dfac9467bde915c697e60554e0d698be6bb2dd1f8bc64659f6baee7641b51f4b5ed7010c04600fcd382db84a93fe3d4d86e86a459c6cebb5a":"2f77b94b179d4a51360f04fa56e2c0784ce3b8a742280b016904896a5605fbe9e0f0683f82c439d979ab14e11b34e05ae96232b18fb2e0d1319f4942732d7eadf92ae90cb8c68ec8ece154d334f553564b6f6db185b33b8d3635598c3d128acde8bbb7b13697e48d1a542e5f9168d2d83a8dd05ae1eaf2451":"1b0b14c432710cde936e3fc100515e95dca61e10b8a68d9632bfa0546a9731a1ce6bebc6cb5fe6f5fd7e57b25f737f6a0ce5402e216b8b81c06f0c5ccce447d7f5631d14bff9dfa16f7cc72c56c84b636d00a5f35199d17ee9bf3f8746f44374ffd4ae22cf84089f04a9f7f356d6dc9f8cf8ef208a9b88c89":"1":0
1164
1165Test mbedtls_mpi_div_mpi #3
1166mpi_div_mpi:"3e8":"7":"8e":"6":0
1167
1168Test mbedtls_mpi_div_mpi #4
1169mpi_div_mpi:"309":"7":"6f":"0":0
1170
1171Base test mbedtls_mpi_div_int #1
1172mpi_div_int:"3e8":13:"4c":"c":0
1173
1174Base test mbedtls_mpi_div_int #2 (Divide by zero)
1175mpi_div_int:"3e8":0:"1":"1":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1176
1177Base test mbedtls_mpi_div_int #3
1178mpi_div_int:"3e8":-13:"-4c":"c":0
1179
1180Test mbedtls_mpi_div_int #1
1181mpi_div_int:"9e22d6da18a33d1ef28d2a82242b3f6e9c9742f63e5d440f58a190bfaf23a7866e67589adb80":34:"4a6abf75b13dc268ea9cc8b5b6aaf0ac85ecd437a4e0987fb13cf8d2acc57c0306c738c1583":"1a":0
1182
1183Test mbedtls_mpi_div_int #2
1184mpi_div_int:"9e22d6da18a33d1ef28d2a82242b3f6e9c9742f63e5d440f58a190bfaf23a7866e67589adb80":-34:"-4a6abf75b13dc268ea9cc8b5b6aaf0ac85ecd437a4e0987fb13cf8d2acc57c0306c738c1583":"1a":0
1185
1186Test mbedtls_mpi_div_int: 0 (null) / 0
1187mpi_div_int:"":0:"":"":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1188
1189Test mbedtls_mpi_div_int: 0 (1 limb) / 0
1190mpi_div_int:"00":0:"":"":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1191
1192Test mbedtls_mpi_div_int: 0 (null) / 1
1193mpi_div_int:"":1:"":"":0
1194
1195Base test mbedtls_mpi_mod_mpi #1
1196mpi_mod_mpi:"3e8":"d":"c":0
1197
1198Base test mbedtls_mpi_mod_mpi #2 (Divide by zero (null))
1199mpi_mod_mpi:"3e8":"":"0":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1200
1201Base test mbedtls_mpi_mod_mpi #2 (Divide by zero (1 limb))
1202mpi_mod_mpi:"3e8":"0":"0":MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1203
1204Base test mbedtls_mpi_mod_mpi #3
1205mpi_mod_mpi:"-3e8":"d":"1":0
1206
1207Base test mbedtls_mpi_mod_mpi #4 (Negative modulo)
1208mpi_mod_mpi:"3e8":"-d":"-1":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1209
1210Base test mbedtls_mpi_mod_mpi #5 (Negative modulo)
1211mpi_mod_mpi:"-3e8":"-d":"-c":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1212
1213Test mbedtls_mpi_mod_mpi: 0 (null) % 1
1214mpi_mod_mpi:"":"1":"":0
1215
1216Test mbedtls_mpi_mod_mpi: 0 (null) % -1
1217mpi_mod_mpi:"":"-1":"":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1218
1219Test mbedtls_mpi_mod_mpi: -0 (null) % 1
1220mpi_mod_mpi:"-":"1":"":0
1221
1222Test mbedtls_mpi_mod_mpi: -0 (null) % -1
1223mpi_mod_mpi:"-":"-1":"":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1224
1225Test mbedtls_mpi_mod_mpi: -0 (null) % 42
1226mpi_mod_mpi:"-":"2a":"":0
1227
1228Test mbedtls_mpi_mod_mpi: -0 (null) % -42
1229mpi_mod_mpi:"-":"-2a":"":MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1230
1231Base test mbedtls_mpi_mod_int #1
1232mpi_mod_int:"3e8":0xd:0xc:0
1233
1234Base test mbedtls_mpi_mod_int #2 (Divide by zero)
1235mpi_mod_int:"3e8":0x0:0x0:MBEDTLS_ERR_MPI_DIVISION_BY_ZERO
1236
1237Base test mbedtls_mpi_mod_int #3
1238mpi_mod_int:"-3e8":0xd:0x1:0
1239
1240Base test mbedtls_mpi_mod_int #4 (Negative modulo)
1241mpi_mod_int:"3e8":-0xd:0x0:MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1242
1243Base test mbedtls_mpi_mod_int #5 (Negative modulo)
1244mpi_mod_int:"-3e8":-0xd:0x0:MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1245
1246Base test mbedtls_mpi_mod_int #6 (By 1)
1247mpi_mod_int:"3e8":0x1:0x0:0
1248
1249Base test mbedtls_mpi_mod_int #7 (By 2)
1250mpi_mod_int:"3e9":0x2:0x1:0
1251
1252Base test mbedtls_mpi_mod_int #8 (By 2)
1253mpi_mod_int:"3e8":0x2:0x0:0
1254
1255Test mbedtls_mpi_mod_int: 0 (null) % 1
1256mpi_mod_int:"":0x1:0x0:0
1257
1258Test mbedtls_mpi_mod_int: 0 (null) % 2
1259mpi_mod_int:"":0x2:0x0:0
1260
1261Test mbedtls_mpi_mod_int: 0 (null) % -1
1262mpi_mod_int:"":-0x1:0x0:MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1263
1264Test mbedtls_mpi_mod_int: 0 (null) % -2
1265mpi_mod_int:"":-0x2:0x0:MBEDTLS_ERR_MPI_NEGATIVE_VALUE
1266
1267# CURRENTLY FAILS - SEE GITHUB ISSUE #6540
1268#Test mbedtls_mpi_mod_int: 230772460340063000000100500000300000010 % 5178236083361335880 -> 3386266129388798810
1269#depends_on:MBEDTLS_HAVE_INT64
1270#mpi_mod_int:"AD9D28BF6C4E98FDF156BF0980CEE30A":0x47DCCA4847DCCA48:0x2EFE6F1A7D28035A:0
1271
1272Test mbedtls_mpi_mod_mpi: 230772460340063000000100500000300000010 % 5178236083361335880 -> 3386266129388798810
1273mpi_mod_mpi:"AD9D28BF6C4E98FDF156BF0980CEE30A":"47DCCA4847DCCA48":"2EFE6F1A7D28035A":0
1274
1275# CURRENTLY FAILS - SEE GITHUB ISSUE #6540
1276#Test mbedtls_mpi_mod_int: 230772460340062999996714233870911201200 % 5178236083361335880 -> 0
1277#depends_on:MBEDTLS_HAVE_INT64
1278#mpi_mod_int:"AD9D28BF6C4E98FDC2584FEF03A6DFB0":0x47DCCA4847DCCA48:0x0:0
1279
1280Test mbedtls_mpi_mod_mpi: 230772460340062999996714233870911201200 % 5178236083361335880 -> 0
1281mpi_mod_mpi:"AD9D28BF6C4E98FDC2584FEF03A6DFB0":"47DCCA4847DCCA48":"0":0
1282
1283# CURRENTLY FAILS WHEN MPIS ARE 32-BIT (ISSUE #6450): WHEN FIXED, REMOVE "depends_on" LINE
1284Test mbedtls_mpi_mod_int: 230772460340063000000100500000300000010 % 1205652040 -> 3644370
1285depends_on:MBEDTLS_HAVE_INT64
1286mpi_mod_int:"AD9D28BF6C4E98FDF156BF0980CEE30A":0x47DCCA48:0x379BD2:0
1287
1288Test mbedtls_mpi_mod_mpi: 230772460340063000000100500000300000010 % 1205652040 -> 3644370
1289mpi_mod_mpi:"AD9D28BF6C4E98FDF156BF0980CEE30A":"47DCCA48":"379BD2":0
1290
1291# CURRENTLY FAILS WHEN MPIS ARE 32-BIT (ISSUE #6450): WHEN FIXED, REMOVE "depends_on" LINE
1292Test mbedtls_mpi_mod_int: 230772460340063000000100500000296355640 % 1205652040 -> 0
1293depends_on:MBEDTLS_HAVE_INT64
1294mpi_mod_int:"AD9D28BF6C4E98FDF156BF0980974738":0x47DCCA48:0x0:0
1295
1296Test mbedtls_mpi_mod_mpi: 230772460340063000000100500000296355640 % 1205652040 -> 0
1297mpi_mod_mpi:"AD9D28BF6C4E98FDF156BF0980974738":"47DCCA48":"0":0
1298
1299Base test mbedtls_mpi_exp_mod #1
1300mpi_exp_mod:"17":"d":"1d":"18":0
1301
1302Base test mbedtls_mpi_exp_mod #2 (Even N)
1303mpi_exp_mod:"17":"d":"1e":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1304
1305Base test mbedtls_mpi_exp_mod #2 (N = 0 (null))
1306mpi_exp_mod:"17":"d":"":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1307
1308Base test mbedtls_mpi_exp_mod #3 (Negative N)
1309mpi_exp_mod:"17":"d":"-1d":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1310
1311Base test mbedtls_mpi_exp_mod #4 (Negative base)
1312mpi_exp_mod:"-17":"d":"1d":"5":0
1313
1314Base test mbedtls_mpi_exp_mod #5 (Negative exponent)
1315mpi_exp_mod:"17":"-d":"1d":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1316
1317Base test mbedtls_mpi_exp_mod #6 (Negative base + exponent)
1318mpi_exp_mod:"-17":"-d":"1d":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1319
1320Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (null) mod 9
1321mpi_exp_mod:"":"":"09":"1":0
1322
1323Test mbedtls_mpi_exp_mod: 0 (null) ^ 0 (1 limb) mod 9
1324mpi_exp_mod:"":"00":"09":"1":0
1325
1326Test mbedtls_mpi_exp_mod: 0 (null) ^ 1 mod 9
1327mpi_exp_mod:"":"01":"09":"":0
1328
1329Test mbedtls_mpi_exp_mod: 0 (null) ^ 2 mod 9
1330mpi_exp_mod:"":"02":"09":"":0
1331
1332Test mbedtls_mpi_exp_mod: 0 (1 limb) ^ 0 (null) mod 9
1333mpi_exp_mod:"00":"":"09":"1":0
1334
1335Test mbedtls_mpi_exp_mod: 0 (1 limb) ^ 0 (1 limb) mod 9
1336mpi_exp_mod:"00":"00":"09":"1":0
1337
1338Test mbedtls_mpi_exp_mod: 0 (1 limb) ^ 1 mod 9
1339mpi_exp_mod:"00":"01":"09":"":0
1340
1341Test mbedtls_mpi_exp_mod: 0 (1 limb) ^ 2 mod 9
1342mpi_exp_mod:"00":"02":"09":"":0
1343
1344Test mbedtls_mpi_exp_mod: 1 ^ 0 (null) mod 9
1345mpi_exp_mod:"01":"":"09":"1":0
1346
1347Test mbedtls_mpi_exp_mod: 4 ^ 0 (null) mod 9
1348mpi_exp_mod:"04":"":"09":"1":0
1349
1350Test mbedtls_mpi_exp_mod: 10 ^ 0 (null) mod 9
1351mpi_exp_mod:"0a":"":"09":"1":0
1352
1353Test mbedtls_mpi_exp_mod: 1 ^ 0 (1 limb) mod 9
1354mpi_exp_mod:"01":"00":"09":"1":0
1355
1356Test mbedtls_mpi_exp_mod: 4 ^ 0 (1 limb) mod 9
1357mpi_exp_mod:"04":"00":"09":"1":0
1358
1359Test mbedtls_mpi_exp_mod: 10 ^ 0 (1 limb) mod 9
1360mpi_exp_mod:"0a":"00":"09":"1":0
1361
1362Test mbedtls_mpi_exp_mod: MAX_SIZE exponent
1363mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE:10:"":0
1364
1365Test mbedtls_mpi_exp_mod: MAX_SIZE + 1 exponent
1366mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE + 1:10:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1367
1368Test mbedtls_mpi_exp_mod: MAX_SIZE modulus
1369mpi_exp_mod_size:2:2:MBEDTLS_MPI_MAX_SIZE:"":0
1370
1371Test mbedtls_mpi_exp_mod: MAX_SIZE + 1 modulus
1372mpi_exp_mod_size:2:2:MBEDTLS_MPI_MAX_SIZE + 1:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1373
1374Test mbedtls_mpi_exp_mod: MAX_SIZE exponent and modulus
1375mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE:"":0
1376
1377Test mbedtls_mpi_exp_mod: MAX_SIZE + 1 exponent and modulus
1378mpi_exp_mod_size:2:MBEDTLS_MPI_MAX_SIZE + 1:MBEDTLS_MPI_MAX_SIZE + 1:"":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1379
1380Test mbedtls_mpi_exp_mod #1
1381depends_on:MPI_MAX_BITS_LARGER_THAN_792
1382mpi_exp_mod:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"11a9351d2d32ccd568e75bf8b4ebbb2a36be691b55832edac662ff79803df8af525fba453068be16ac3920bcc1b468f8f7fe786e0fa4ecbabcad31e5e3b05def802eb8600deaf11ef452487db878df20a80606e4bb6a163b83895d034cc8b53dbcd005be42ffdd2ce99bed06089a0b79d":"37880b547b41bda303bddda307eefe24b4aedf076c9b814b903aaf328a10825c7e259a20afc6b70b487bb21a6d32d0ee98a0b9f42ff812c901e2f79237fe3e00856992dd69d93ebc0664c75863829621751b0ac35a8ae8a0965841607d3099b8e0ed24442749ba09acbcb165598dcd40":0
1383
1384Test mbedtls_mpi_exp_mod (Negative base) [#1]
1385mpi_exp_mod:"-2540be400":"2540be400":"1869f":"1":0
1386
1387Test mbedtls_mpi_exp_mod (Negative base) [#2]
1388depends_on:MPI_MAX_BITS_LARGER_THAN_792
1389mpi_exp_mod:"-9f13012cd92aa72fb86ac8879d2fde4f7fd661aaae43a00971f081cc60ca277059d5c37e89652e2af2585d281d66ef6a9d38a117e9608e9e7574cd142dc55278838a2161dd56db9470d4c1da2d5df15a908ee2eb886aaa890f23be16de59386663a12f1afbb325431a3e835e3fd89b98b96a6f77382f458ef9a37e1f84a03045c8676ab55291a94c2228ea15448ee96b626b998":"40a54d1b9e86789f06d9607fb158672d64867665c73ee9abb545fc7a785634b354c7bae5b962ce8040cf45f2c1f3d3659b2ee5ede17534c8fc2ec85c815e8df1fe7048d12c90ee31b88a68a081f17f0d8ce5f4030521e9400083bcea73a429031d4ca7949c2000d597088e0c39a6014d8bf962b73bb2e8083bd0390a4e00b9b3":"eeaf0ab9adb38dd69c33f80afa8fc5e86072618775ff3c0b9ea2314c9c256576d674df7496ea81d3383b4813d692c6e0e0d5d8e250b98be48e495c1d6089dad15dc7d7b46154d6b6ce8ef4ad69b15d4982559b297bcf1885c529f566660e57ec68edbc3c05726cc02fd4cbf4976eaa9afd5138fe8376435b9fc61d2fc0eb06e3":"21acc7199e1b90f9b4844ffe12c19f00ec548c5d32b21c647d48b6015d8eb9ec9db05b4f3d44db4227a2b5659c1a7cceb9d5fa8fa60376047953ce7397d90aaeb7465e14e820734f84aa52ad0fc66701bcbb991d57715806a11531268e1e83dd48288c72b424a6287e9ce4e5cc4db0dd67614aecc23b0124a5776d36e5c89483":0
1390
1391Base test GCD #1
1392mpi_gcd:"2b5":"261":"15"
1393
1394Base test GCD #2
1395mpi_gcd:"6e4":"364":"1c"
1396
1397Base test GCD #3
1398mpi_gcd:"2dcdb10b":"2050d306":"1"
1399
1400Test GCD: 0 (null), 0 (null)
1401mpi_gcd:"":"":"0"
1402
1403Test GCD: 0 (null), 0 (1 limb)
1404mpi_gcd:"":"00":"0"
1405
1406Test GCD: 0 (null), 3
1407mpi_gcd:"":"03":"3"
1408
1409Test GCD: 0 (null), 6
1410mpi_gcd:"":"06":"6"
1411
1412Test GCD: 0 (1 limb), 0 (null)
1413mpi_gcd:"00":"":"0"
1414
1415Test GCD: 0 (1 limb), 3
1416mpi_gcd:"00":"03":"3"
1417
1418Test GCD: 0 (1 limb), 6
1419mpi_gcd:"00":"06":"6"
1420
1421Test GCD: 3, 0 (null)
1422mpi_gcd:"03":"":"3"
1423
1424Test GCD: 3, 0 (1 limb)
1425mpi_gcd:"03":"00":"3"
1426
1427Test GCD: 6, 0 (null)
1428mpi_gcd:"06":"":"6"
1429
1430Test GCD: 6, 0 (1 limb)
1431mpi_gcd:"06":"00":"6"
1432
1433Test GCD: gcd=1, 0 < A < B
1434mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
1435
1436Test GCD: gcd=1, 0 < B < A
1437mpi_gcd:"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"1"
1438
1439Test GCD: gcd=1, A > 0, B < 0
1440mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"-33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
1441
1442Test GCD: gcd=1, A < 0 < B, |A| < |B|
1443mpi_gcd:"-109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
1444
1445Test GCD: gcd=1, B < A < 0
1446mpi_gcd:"-109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"-33ae3764fd06a00cdc3cba5c45dc79a9edb4e67e4d057cc74139d531c25190d111775fc4a0f4439b8b1930bbd766e7b46f170601f316c8a18ff8d5cb5ca5581f168345d101edb462b7d93b7c520ccb8fb276b447a63d869203cc11f67a1122dc4da034218de85e39":"1"
1447
1448Test GCD: gcd=2, 0 < A < B
1449mpi_gcd:"213fc8ae290cdcadfba95b36d6d0dbe4e4495f6f0d19e9e1976f28a4d2650a797e17dd4c2b282ccca9a279b3fc1b3b4b2952fdc40461e25f6a869bce7f69f0204e4b402c4566363d485c744ca032073583be630d37b2f261af25f6e59b552e3b15002b5e":"675c6ec9fa0d4019b87974b88bb8f353db69ccfc9a0af98e8273aa6384a321a222eebf8941e8873716326177aecdcf68de2e0c03e62d91431ff1ab96b94ab03e2d068ba203db68c56fb276f8a419971f64ed688f4c7b0d24079823ecf42245b89b4068431bd0bc72":"2"
1450
1451Test GCD: gcd=2, 0 < B < A
1452mpi_gcd:"675c6ec9fa0d4019b87974b88bb8f353db69ccfc9a0af98e8273aa6384a321a222eebf8941e8873716326177aecdcf68de2e0c03e62d91431ff1ab96b94ab03e2d068ba203db68c56fb276f8a419971f64ed688f4c7b0d24079823ecf42245b89b4068431bd0bc72":"213fc8ae290cdcadfba95b36d6d0dbe4e4495f6f0d19e9e1976f28a4d2650a797e17dd4c2b282ccca9a279b3fc1b3b4b2952fdc40461e25f6a869bce7f69f0204e4b402c4566363d485c744ca032073583be630d37b2f261af25f6e59b552e3b15002b5e":"2"
1453
1454Test GCD: gcd=3, 0 < A < B
1455mpi_gcd:"31dfad053d934b04f97e08d2423949d7566e0f2693a6ded26326bcf73b978fb63d23cbf240bc4332fe73b68dfa28d8f0bdfc7ca60692d38f1fc9e9b5bf1ee8307570e0426819515bec8aae72f04b0ad0459d9493d38c6b9286b8f25868ffc5589f80410d":"9b0aa62ef713e02694b62f14d1956cfdc91eb37ae7107655c3ad7f9546f4b27334661f4de2dccad2a14b92338634b71d4d451205d94459e4afea816215f0085d4389d17305c91d28278bb274f62662af17641cd6f2b893b60b6435e36e336894e8e09c64a9b91aab":"3"
1456
1457Test GCD: gcd=3, 0 < B < A
1458mpi_gcd:"9b0aa62ef713e02694b62f14d1956cfdc91eb37ae7107655c3ad7f9546f4b27334661f4de2dccad2a14b92338634b71d4d451205d94459e4afea816215f0085d4389d17305c91d28278bb274f62662af17641cd6f2b893b60b6435e36e336894e8e09c64a9b91aab":"31dfad053d934b04f97e08d2423949d7566e0f2693a6ded26326bcf73b978fb63d23cbf240bc4332fe73b68dfa28d8f0bdfc7ca60692d38f1fc9e9b5bf1ee8307570e0426819515bec8aae72f04b0ad0459d9493d38c6b9286b8f25868ffc5589f80410d":"3"
1459
1460Test GCD: gcd=4, 0 < A < B
1461mpi_gcd:"427f915c5219b95bf752b66dada1b7c9c892bede1a33d3c32ede5149a4ca14f2fc2fba98565059995344f367f836769652a5fb8808c3c4bed50d379cfed3e0409c9680588acc6c7a90b8e89940640e6b077cc61a6f65e4c35e4bedcb36aa5c762a0056bc":"ceb8dd93f41a803370f2e9711771e6a7b6d399f93415f31d04e754c70946434445dd7f1283d10e6e2c64c2ef5d9b9ed1bc5c1807cc5b22863fe3572d7295607c5a0d174407b6d18adf64edf148332e3ec9dad11e98f61a480f3047d9e8448b713680d08637a178e4":"4"
1462
1463Test GCD: gcd=4, 0 < B < A
1464mpi_gcd:"ceb8dd93f41a803370f2e9711771e6a7b6d399f93415f31d04e754c70946434445dd7f1283d10e6e2c64c2ef5d9b9ed1bc5c1807cc5b22863fe3572d7295607c5a0d174407b6d18adf64edf148332e3ec9dad11e98f61a480f3047d9e8448b713680d08637a178e4":"427f915c5219b95bf752b66dada1b7c9c892bede1a33d3c32ede5149a4ca14f2fc2fba98565059995344f367f836769652a5fb8808c3c4bed50d379cfed3e0409c9680588acc6c7a90b8e89940640e6b077cc61a6f65e4c35e4bedcb36aa5c762a0056bc":"4"
1465
1466Test GCD: gcd=6, 0 < A < B
1467mpi_gcd:"63bf5a0a7b269609f2fc11a4847293aeacdc1e4d274dbda4c64d79ee772f1f6c7a4797e481788665fce76d1bf451b1e17bf8f94c0d25a71e3f93d36b7e3dd060eae1c084d032a2b7d9155ce5e09615a08b3b2927a718d7250d71e4b0d1ff8ab13f00821a":"136154c5dee27c04d296c5e29a32ad9fb923d66f5ce20ecab875aff2a8de964e668cc3e9bc5b995a5429724670c696e3a9a8a240bb288b3c95fd502c42be010ba8713a2e60b923a504f1764e9ec4cc55e2ec839ade571276c16c86bc6dc66d129d1c138c953723556":"6"
1468
1469Test GCD: gcd=6, 0 < B < A
1470mpi_gcd:"136154c5dee27c04d296c5e29a32ad9fb923d66f5ce20ecab875aff2a8de964e668cc3e9bc5b995a5429724670c696e3a9a8a240bb288b3c95fd502c42be010ba8713a2e60b923a504f1764e9ec4cc55e2ec839ade571276c16c86bc6dc66d129d1c138c953723556":"63bf5a0a7b269609f2fc11a4847293aeacdc1e4d274dbda4c64d79ee772f1f6c7a4797e481788665fce76d1bf451b1e17bf8f94c0d25a71e3f93d36b7e3dd060eae1c084d032a2b7d9155ce5e09615a08b3b2927a718d7250d71e4b0d1ff8ab13f00821a":"6"
1471
1472Test GCD: 0 < A = B
1473mpi_gcd:"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af":"109fe45714866e56fdd4ad9b6b686df27224afb7868cf4f0cbb794526932853cbf0beea61594166654d13cd9fe0d9da594a97ee20230f12fb5434de73fb4f8102725a01622b31b1ea42e3a265019039ac1df31869bd97930d792fb72cdaa971d8a8015af"
1474
1475Base test mbedtls_mpi_inv_mod #1
1476mpi_inv_mod:"3":"b":"4":0
1477
1478Test mbedtls_mpi_inv_mod: mod 0 (null)
1479mpi_inv_mod:"3":"":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1480
1481Test mbedtls_mpi_inv_mod: mod 0 (1 limb)
1482mpi_inv_mod:"3":"0":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1483
1484Test mbedtls_mpi_inv_mod: mod negative
1485mpi_inv_mod:"3":"-b":"4":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1486
1487Test mbedtls_mpi_inv_mod: 2^-1 mod 4
1488mpi_inv_mod:"2":"4":"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1489
1490Test mbedtls_mpi_inv_mod: mod 1
1491mpi_inv_mod:"3":"1":"0":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1492
1493Test mbedtls_mpi_inv_mod: 0 (null) ^-1
1494mpi_inv_mod:"":"11":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1495
1496Test mbedtls_mpi_inv_mod: 0 (1 limb) ^-1
1497mpi_inv_mod:"00":"11":"":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1498
1499Test mbedtls_mpi_inv_mod #1
1500mpi_inv_mod:"aa4df5cb14b4c31237f98bd1faf527c283c2d0f3eec89718664ba33f9762907c":"fffbbd660b94412ae61ead9c2906a344116e316a256fd387874c6c675b1d587d":"8d6a5c1d7adeae3e94b9bcd2c47e0d46e778bc8804a2cc25c02d775dc3d05b0c":0
1501
1502Base test mbedtls_mpi_is_prime #1
1503depends_on:MBEDTLS_GENPRIME
1504mpi_is_prime:"0":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1505
1506Base test mbedtls_mpi_is_prime #2
1507depends_on:MBEDTLS_GENPRIME
1508mpi_is_prime:"1":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1509
1510Base test mbedtls_mpi_is_prime #3
1511depends_on:MBEDTLS_GENPRIME
1512mpi_is_prime:"2":0
1513
1514Base test mbedtls_mpi_is_prime #4
1515depends_on:MBEDTLS_GENPRIME
1516mpi_is_prime:"3":0
1517
1518Base test mbedtls_mpi_is_prime #5
1519depends_on:MBEDTLS_GENPRIME
1520mpi_is_prime:"4":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1521
1522Base test mbedtls_mpi_is_prime #6
1523depends_on:MBEDTLS_GENPRIME
1524mpi_is_prime:"5":0
1525
1526Base test mbedtls_mpi_is_prime #7
1527depends_on:MBEDTLS_GENPRIME
1528mpi_is_prime:"1b":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1529
1530Base test mbedtls_mpi_is_prime #8
1531depends_on:MBEDTLS_GENPRIME
1532mpi_is_prime:"2f":0
1533
1534Test mbedtls_mpi_is_prime #1a
1535depends_on:MBEDTLS_GENPRIME
1536mpi_is_prime:"b91ba63180c726fbd57786f27f1ede97a3b40c59a7fcfb5898f076e9af57028d":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1537
1538Test mbedtls_mpi_is_prime #1b
1539depends_on:MBEDTLS_GENPRIME
1540mpi_is_prime:"b3a119602ee213cde28581ecd892e0f592a338655dce4ca88054b3d124d0e561":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1541
1542Test mbedtls_mpi_is_prime #2a
1543depends_on:MBEDTLS_GENPRIME
1544mpi_is_prime:"284139ea19c139ebe09a8111926aaa39a2c2be12ed487a809d3cb5bc55854725b4cdcb5734c58f90b2f60d99cc1950cdbc8d651793e93c9c6f0ead752500a32c56c62082912b66132b2a6aa42ada923e1ad22ceb7ba0123":0
1545
1546Test mbedtls_mpi_is_prime #2b
1547depends_on:MBEDTLS_GENPRIME
1548mpi_is_prime:"284139ea19c139ebe09a8111926aaa39a2c2be12ed487a809d3cb5bc55854725b4cdcb5734c58f90b2f60d99cc1950cdbc8d651793e93c9c6f0ead752500a32c56c62082912b66132b2a6aa42ada923e1ad22ceb7ba00c1":MBEDTLS_ERR_MPI_NOT_ACCEPTABLE
1549
1550Test mbedtls_mpi_is_prime #3
1551depends_on:MBEDTLS_GENPRIME
1552mpi_is_prime:"257ffffffffffffffffff":0
1553
1554Test mbedtls_mpi_is_prime #4
1555depends_on:MBEDTLS_GENPRIME
1556mpi_is_prime:"a1ffffffffffffffffffff":0
1557
1558Test mbedtls_mpi_is_prime #5 [#1]
1559depends_on:MBEDTLS_GENPRIME
1560mpi_is_prime:"397ffffffffffffffffffffffffffff":0
1561
1562Test mbedtls_mpi_is_prime #5 [#2]
1563depends_on:MBEDTLS_GENPRIME
1564mpi_is_prime:"aaaaaaaaaaaaaab":0
1565
1566Test mbedtls_mpi_is_prime #6
1567depends_on:MBEDTLS_GENPRIME
1568mpi_is_prime:"2aaaaaaaaaaaaaaaaaab":0
1569
1570Test mbedtls_mpi_is_prime #7
1571depends_on:MBEDTLS_GENPRIME
1572mpi_is_prime:"aaaaaaaaaaaaaaaaaaaaaaaab":0
1573
1574Test mbedtls_mpi_is_prime #8
1575depends_on:MBEDTLS_GENPRIME
1576mpi_is_prime:"2aaaaaaaaaaaaaaaaaaaaaaaaaaaaaab":0
1577
1578Test mbedtls_mpi_is_prime #9
1579depends_on:MBEDTLS_GENPRIME
1580mpi_is_prime:"4df72d07b4b71c8dacb6cffa954f8d88254b6277099308baf003fab73227f34029643b5a263f66e0d3c3fa297ef71755efd53b8fb6cb812c6bbf7bcf179298bd9947c4c8b14324140a2c0f5fad7958a69050a987a6096e9f055fb38edf0c5889eca4a0cfa99b45fbdeee4c696b328ddceae4723945901ec025076b12b":0
1581
1582Test mbedtls_mpi_is_prime #10
1583depends_on:MBEDTLS_GENPRIME
1584mpi_is_prime:"cb50e82a8583f44ee0025942e7362991b24e12663a0ddc234a57b0f7b4ff7b025bf5a6707dedc2898e70b739042c95a996283dffdf67558768784553c61e302e8812bc90f0bb0696870cfb910b560cefed8d99bbf7a00b31ccdbd56f3594e5a653cfd127d2167b13119e5c45c3f76b4e3d904a9bc0cbb43c33aa7f23b":0
1585
1586Test mbedtls_mpi_is_prime #11
1587depends_on:MBEDTLS_GENPRIME
1588mpi_is_prime:"7a364ab3de755f924642bd5273524234f78395da1ed9098f39af4fe248288b0cb7f1c27214588969479d7dc9f0d327b5544dd4c095aa1fa271df421fe9ee460855cc8423d223e2c85dc793f6babdca7fc804ea1f408f867db053bfd98c45085ea5d805c78d2863bacdfcaf4c6147ebb74a9056045074785714c0b84ed":0
1589
1590Test mbedtls_mpi_is_prime #12
1591depends_on:MBEDTLS_GENPRIME
1592mpi_is_prime:"9c3525e8404f89b7d30b3ccfdb0fab17f81adebbac1b6c6bf558a796014fe3b6cd2c4445c0826d7ef5f5d3aff5ac108185675d2159cd275c64812f24da66dbb0147efc6a3d2f8060e8304f48844abc9d33686087ccc11f":0
1593
1594Test mbedtls_mpi_is_prime #13
1595depends_on:MBEDTLS_GENPRIME
1596mpi_is_prime:"284139ea19c139ebe09a8111926aaa39a2c2be12ed487a809d3cb5bc55854725b4cdcb5734c58f90b2f60d99cc1950cdbc8d651793e93c9c6f0ead752500a32c56c62082912b66132b2a6aa42ada923e1ad22ceb7ba0123":0
1597
1598Test mbedtls_mpi_is_prime #14
1599depends_on:MBEDTLS_GENPRIME
1600mpi_is_prime:"2eede25f74336afd1f51cbc4e809f8bb746ffac49335d129d1ff322ee3498b2b8144f0b136de076db169da4f4436de1f0c715b3d255272b4d77523174081a2fb703f82409185e0ef73e5a8bdf94e5b789fb7bf9be8eec9f":0
1601
1602Test mbedtls_mpi_is_prime #15
1603depends_on:MBEDTLS_GENPRIME
1604mpi_is_prime:"7fffffffffffffffffffffffffffffff":0
1605
1606Test mbedtls_mpi_is_prime #16
1607depends_on:MBEDTLS_GENPRIME
1608mpi_is_prime:"7fffffff":0
1609
1610Test mbedtls_mpi_is_prime #17
1611depends_on:MBEDTLS_GENPRIME
1612mpi_is_prime:"39531fcd":0
1613
1614Test mbedtls_mpi_is_prime #18
1615depends_on:MBEDTLS_GENPRIME
1616mpi_is_prime:"ab1cdb3":0
1617
1618Test mbedtls_mpi_is_prime #19
1619depends_on:MBEDTLS_GENPRIME
1620mpi_is_prime:"1ef3103":0
1621
1622Test mbedtls_mpi_is_prime #20
1623depends_on:MBEDTLS_GENPRIME
1624mpi_is_prime:"2faa127":0
1625
1626Test mbedtls_mpi_is_prime_det (4 non-witnesses)
1627depends_on:MBEDTLS_GENPRIME
1628mpi_is_prime_det:"043BD64BA10B11DA83FBD296B04BCA9E0552FAF6E09CAC74E2D7E735ED0DB09FC47ED76145644203EE0C826013BC602F560BCDAAED557D04683859A65D659FF828A245A2C5B1AC41E01E4669A525A45E23AF":"040EA852F7935ACCECC0E87B845281F047D10DC9AAFEF990AF9D3D66770DA30B0C5B5E03EEA8C0CB79B936FE0BB8EE5389EC1D34EB16C58AA3F2E11AF084160CDF6400BE1CC179867AB074866952D9F34EE7042D27F960E715A97FCB93F3182247D0A6AE51BD21CC2F6B0651F9E572C5FB86F3137053FA85FD7A51816D69B3A53A5A438C17754836D04E98CA240B901F828332F2D72D88C497DA45F533F99A6E53EDEA6B0424EC8951B048FA9A80134B37D0A67014597934E3CFC52C5A4DD4751ADF8D66FC79E84E2A3148C4B15C17E12CB659390FD275F39A331FFC80EC699BC3F6FAB868E30E9B14575FCDAB6FAED01E00112DD28704177E09C335AD43A696FEA761E8DF3B0663277A5C3637F9060CB5E5654F72E9A6B0F369E660AD4CF7ABF4195493545B367BD55271CD4BB7D9C15D3F508FE8F7409C2126FC8E73B43A67CD4EFB21E9F15DBF040A2A8D5F5ED75CEAC12B595C0051F3EC9D5A58ACE82A9506E64F780E9836728260FFE1BFD73E8A9869E3D46A35A856D3028F7FEAB9F4F1A04449AEDC80017EE1014080D87F0B50C8EF255324CD89F7D039":82:5
1629
1630Test mbedtls_mpi_is_prime_det (39 non-witnesses)
1631depends_on:MBEDTLS_GENPRIME
1632mpi_is_prime_det:"155102B67930FBE8858DF6C0642D77D419A7B7968E622CC7500F3E3F2C5168368C50E0083187":"119B3E2C721834D83416239B04447AA18AE0163E61DCAE97054563D79E094A6FA4485BD6A0501445BF57FE9C058926CDB862E04CC1A95D79D61D9AB3466857A53E04F8D7470C9C86649B226A13DDC534E18DFD5C22FAEA317CA4D4960F18457FD6D2FFB5F3273F74C89980DC774590D8D30D1159CA81999ED94A042D67DA68C82616AD46C2C88288A8EBD0B37AC7C152D9522CA4544642AD1210F6B642FEBF43563FA872B0DEFAFC69D0B6570E8FEA9570D0AADCFA9B06CC8BFD62CEDC221541210EEEF9762448C6D49F26AA767A4D66CB168589E0201923015314E6CD4A480E5936E7CF145F73A564C5B782635B3AFC3028E2632C5D3458224A7C9E8BA1876E8F690463C878292D3DC011E9640331E7F7621F2B5E0F6713DD8C9D6767521C4BA880DA8D11C67753C8493D2C4C4F1443147550D0B25B7FAD04EAFA9F8AA60974C1365C8A794CFEECEB4279B1150909A97E5A7A10B5D91186CA5B25A612036631FE73529C8CFAE51E76FB704A772DE5320EFC1212E7A399B1FEBF57D014AF9129DFF5D2C5DFBBEEAC55F360CF6D22FA90B8E2E9AD0C71AB6495A9452A58D653B8CC26128C66B43EFBA6E39AEC5717A1A3C2AE1449FCABAFE1180B159DA55190CD81A3D9E8D798647E11B827F0A057D6DA5AAD78AB5112EE65E10E8B8B369BA24E1B8AD2CD8548C497016C07A143DE1232F8059BE303572456FA92E76A0F23D1340629228B7D27C02D3833A72745B91A3DBEB5E081117A9F19597F00E4277B414FAEA8C8CEB895C37F956A5A22F8D7A10ADA50B22BAB312504904511AA0EFDD4D3BF20ECB17E8A684564FFB5BBD5E22C429F9A75A4FB4AE468FE7612ED53C7A11212E7EF3435CC9CA6E7DB167B8CCE2BECF35F89013F8F876223C77FA81570970858663C6E32B91080AA47F9C90177F51E6FD7747B910C9489C7B6ACB070996198AD9A40A69711274159210A9A12DBAAA4FB4632446066AB70D735DC95F7C2BCE517E88C064D728DE82B1B043DF4AEE0EFF5131120A4E5B9B4180EB6F6B8A0D1491ABDA069058A9966B1A517D8E7B4997DC52A1E698FD79E271153DF1913FE6787A5D99DE69F39C3F22D26DC731CFBB33FF5C267D85D7A3DAE8E1C87E1DB2F1236212EF1942EA756967FB3D07D629E59EA4034D9A9B5E270DD4A31C8A3DFDA99C1094B5537132C196DA2AEAF5253A019B9AF25B5DCB0D4DD75C7C9C353DA9DAABFB23959A5455312E7E1C21268C1BC14E83DCFDF50C27FD3E8B4EDC04C5F3CB5FCFFF2B57151E1B1EE1A6456DC006BC43E1158674AA4CF7D146DE4A57103BE43ED130C8007294ED2418C7A2B769A7D20EBB5A8367A77B313F81BB119B9954305FF160FF83EED7F808EE6D340A5CCC000CF81AA497D315D350CCE4E86A31456B8AA85B677491FC662933DFA55EB5BFF64B8D85430D676A85D1CAFAFF383E68C4E6C22A51063739EC03FC58C36C07C44E54828BE2152B2E9AFB0F179B157D09B64C147B524BB5424BB1914419424D9100D06EDCFC718F4DF3D562E9E16C446663F35273CA7BC5426B868A80C8D415C9A12A1619CDB7CDB5BEBC70313150BDF8C3AB26B809FE62D28E798EF1EF98C410A2DA0A9071F82154AC569078B0E647E2C085D1D907E634453442803D0492D3D0C78CACB762020C0E589C8B0981321EA2771305FD0413F3B2963FCE9A232F6641DB7E12ADC009A032063C41756E5E19E5711DE12711F07AFE7545B4D83F3EFD7BFD0435297C89DF3D4AF96EBE2CE8D64B93E36EA5D7E5A0492151D0CAEE7449A7D35E1A3C83E22C3B35162C073CC3B1CF76FBDEE84270721FC042EAAEB7325110181415E2031CFB7462F15111291CDAC0560FF9F4C7341F2FA261B97CEF348D074AA2EB4DB153FE6B1410519DA4213B611999868F3B867A2B6D758D333C4989DE80782683CA26ECDE373C71524F01B76349CE8A07A5EBECBB42259CF970DDA756EC996B189FEA045FEE45F23D476960913106ECA2510B8517AA75D56FA4152B2BDDC212014E5D07FD964D6EE532F0616DF74E104659955132331FABF2D2AD265E71C93C648A956FA0A3DB21FF103D516527F2DA0E870340B61EE8A8ED913B60605EB5A67B834D0FC90564386012585609870FEF6530B3E3C037B55506F0B5694F6B0FC":38:40
1633
1634Test mbedtls_mpi_gen_prime (Too small)
1635depends_on:MBEDTLS_GENPRIME
1636mpi_gen_prime:2:0:MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1637
1638Test mbedtls_mpi_gen_prime (OK, minimum size)
1639depends_on:MBEDTLS_GENPRIME
1640mpi_gen_prime:3:0:0
1641
1642Test mbedtls_mpi_gen_prime (corner case limb size -1 bits)
1643depends_on:MBEDTLS_GENPRIME
1644mpi_gen_prime:63:0:0
1645
1646Test mbedtls_mpi_gen_prime (corner case limb size)
1647depends_on:MBEDTLS_GENPRIME
1648mpi_gen_prime:64:0:0
1649
1650Test mbedtls_mpi_gen_prime (corner case limb size +1 bits)
1651depends_on:MBEDTLS_GENPRIME
1652mpi_gen_prime:65:0:0
1653
1654Test mbedtls_mpi_gen_prime (Larger)
1655depends_on:MBEDTLS_GENPRIME
1656mpi_gen_prime:128:0:0
1657
1658Test mbedtls_mpi_gen_prime (Safe)
1659depends_on:MBEDTLS_GENPRIME
1660mpi_gen_prime:128:MBEDTLS_MPI_GEN_PRIME_FLAG_DH:0
1661
1662Test mbedtls_mpi_gen_prime (Safe with lower error rate)
1663depends_on:MBEDTLS_GENPRIME
1664mpi_gen_prime:128:MBEDTLS_MPI_GEN_PRIME_FLAG_DH | MBEDTLS_MPI_GEN_PRIME_FLAG_LOW_ERR:0
1665
1666Test mbedtls_mpi_gen_prime standard RSA #1 (lower error rate)
1667depends_on:MBEDTLS_GENPRIME
1668mpi_gen_prime:1024:MBEDTLS_MPI_GEN_PRIME_FLAG_LOW_ERR:0
1669
1670Test mbedtls_mpi_gen_prime standard RSA #2 (lower error rate)
1671depends_on:MBEDTLS_GENPRIME
1672mpi_gen_prime:1536:MBEDTLS_MPI_GEN_PRIME_FLAG_LOW_ERR:0
1673
1674Test bit getting (Value bit 25)
1675mpi_get_bit:"2faa127":25:1
1676
1677Test bit getting (Larger but same limb)
1678mpi_get_bit:"2faa127":26:0
1679
1680Test bit getting (Larger and non-existing limb)
1681mpi_get_bit:"2faa127":500:0
1682
1683Test bit getting in 0 (null)
1684mpi_get_bit:"":500:0
1685
1686Test bit getting (Value bit 24)
1687mpi_get_bit:"2faa127":24:0
1688
1689Test bit getting (Value bit 23)
1690mpi_get_bit:"2faa127":23:1
1691
1692Test bit set (Change existing value with a 1)
1693mpi_set_bit:"2faa127":24:1:"3faa127":0
1694
1695Test bit set (Change existing value with a 0)
1696mpi_set_bit:"2faa127":25:0:"faa127":0
1697
1698Test bit set (Add above existing limbs with a 0)
1699mpi_set_bit:"2faa127":80:0:"2faa127":0
1700
1701Test bit set (Add above existing limbs with a 1)
1702mpi_set_bit:"2faa127":80:1:"100000000000002faa127":0
1703
1704Test bit set (Add to 0 (null) with a 0)
1705mpi_set_bit:"":65:0:"":0
1706
1707Test bit set (Add to 0 (null) with a 1)
1708mpi_set_bit:"":65:1:"020000000000000000":0
1709
1710Test bit set (Bit index larger than 31 with a 0)
1711mpi_set_bit:"FFFFFFFFFFFFFFFF":32:0:"FFFFFFFEFFFFFFFF":0
1712
1713Test bit set (Bit index larger than 31 with a 1)
1714mpi_set_bit:"00":32:1:"0100000000":0
1715
1716Test bit set (Invalid bit value)
1717mpi_set_bit:"00":5:2:"00":MBEDTLS_ERR_MPI_BAD_INPUT_DATA
1718
1719Fill random: 0 bytes
1720mpi_fill_random:0:0:0:0
1721
1722Fill random: 1 byte, good
1723mpi_fill_random:1:1:0:0
1724
1725Fill random: 2 bytes, good, no leading zero
1726mpi_fill_random:2:2:0:0
1727
1728Fill random: 2 bytes, good, 1 leading zero
1729mpi_fill_random:2:256:0:0
1730
1731Fill random: MAX_SIZE - 7, good
1732mpi_fill_random:MBEDTLS_MPI_MAX_SIZE - 7:MBEDTLS_MPI_MAX_SIZE - 7:0:0
1733
1734Fill random: MAX_SIZE, good
1735mpi_fill_random:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE:0:0
1736
1737Fill random: 0 bytes, previously small >0
1738mpi_fill_random:0:0:1:0
1739
1740Fill random: 0 bytes, previously small <0
1741mpi_fill_random:0:0:-1:0
1742
1743Fill random: 0 bytes, previously large >0
1744mpi_fill_random:0:0:65:0
1745
1746Fill random: 0 bytes, previously large <0
1747mpi_fill_random:0:0:-65:0
1748
1749Fill random: 1 byte, previously small >0
1750mpi_fill_random:1:1:1:0
1751
1752Fill random: 1 byte, previously small <0
1753mpi_fill_random:1:1:-1:0
1754
1755Fill random: 1 byte, previously large >0
1756mpi_fill_random:1:1:65:0
1757
1758Fill random: 1 byte, previously large <0
1759mpi_fill_random:1:1:-65:0
1760
1761Fill random: 9 bytes, previously small >0
1762mpi_fill_random:1:1:1:0
1763
1764Fill random: 9 bytes, previously small <0
1765mpi_fill_random:1:1:-1:0
1766
1767Fill random: 1 byte, RNG failure
1768mpi_fill_random:1:0:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
1769
1770Fill random: 2 bytes, RNG failure after 1 byte
1771mpi_fill_random:2:1:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
1772
1773Fill random: 4 bytes, RNG failure after 3 bytes
1774mpi_fill_random:4:3:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
1775
1776Fill random: 8 bytes, RNG failure after 7 bytes
1777mpi_fill_random:8:7:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
1778
1779Fill random: 16 bytes, RNG failure after 1 bytes
1780mpi_fill_random:16:1:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
1781
1782Fill random: 16 bytes, RNG failure after 8 bytes
1783mpi_fill_random:16:8:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
1784
1785Fill random: 16 bytes, RNG failure after 15 bytes
1786mpi_fill_random:16:15:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
1787
1788Fill random: MAX_SIZE bytes, RNG failure after MAX_SIZE-1 bytes
1789mpi_fill_random:MBEDTLS_MPI_MAX_SIZE:MBEDTLS_MPI_MAX_SIZE-1:0:MBEDTLS_ERR_ENTROPY_SOURCE_FAILED
1790
1791Most negative mbedtls_mpi_sint
1792most_negative_mpi_sint:
1793
1794MPI Selftest
1795depends_on:MBEDTLS_SELF_TEST
1796mpi_selftest:
1797