Home | History | Annotate | Download | only in cctest

Lines Matching refs:buffer

52   char buffer[kBufferSize];
56 CHECK(bignum.ToHexString(buffer, kBufferSize));
57 CHECK_EQ("0", buffer);
59 CHECK(bignum.ToHexString(buffer, kBufferSize));
60 CHECK_EQ("A", buffer);
62 CHECK(bignum.ToHexString(buffer, kBufferSize));
63 CHECK_EQ("20", buffer);
67 CHECK(bignum.ToHexString(buffer, kBufferSize));
68 CHECK_EQ("0", buffer);
70 CHECK(bignum.ToHexString(buffer, kBufferSize));
71 CHECK_EQ("A", buffer);
73 CHECK(bignum.ToHexString(buffer, kBufferSize));
74 CHECK_EQ("20", buffer);
76 CHECK(bignum.ToHexString(buffer, kBufferSize));
77 CHECK_EQ("100", buffer);
81 CHECK(bignum.ToHexString(buffer, kBufferSize));
82 CHECK_EQ("12345678", buffer);
86 CHECK(bignum.ToHexString(buffer, kBufferSize));
87 CHECK_EQ("FFFFFFFFFFFFFFFF", buffer);
91 CHECK(bignum.ToHexString(buffer, kBufferSize));
92 CHECK_EQ("123456789ABCDEF0", buffer);
95 CHECK(bignum2.ToHexString(buffer, kBufferSize));
96 CHECK_EQ("123456789ABCDEF0", buffer);
99 CHECK(bignum.ToHexString(buffer, kBufferSize));
100 CHECK_EQ("0", buffer);
103 CHECK(bignum.ToHexString(buffer, kBufferSize));
104 CHECK_EQ("1", buffer);
107 CHECK(bignum.ToHexString(buffer, kBufferSize));
108 CHECK_EQ("499602D2", buffer);
111 CHECK(bignum.ToHexString(buffer, kBufferSize));
112 CHECK_EQ("0", buffer);
115 CHECK(bignum.ToHexString(buffer, kBufferSize));
116 CHECK_EQ("123456789ABCDEF0", buffer);
121 char buffer[kBufferSize];
125 CHECK(bignum.ToHexString(buffer, kBufferSize));
126 CHECK_EQ("0", buffer);
130 CHECK(bignum.ToHexString(buffer, kBufferSize));
131 CHECK_EQ("2", buffer);
135 CHECK(bignum.ToHexString(buffer, kBufferSize));
136 CHECK_EQ("10", buffer);
140 CHECK(bignum.ToHexString(buffer, kBufferSize));
141 CHECK_EQ("100000000", buffer);
145 CHECK(bignum.ToHexString(buffer, kBufferSize));
146 CHECK_EQ("10000000000000000", buffer);
150 CHECK(bignum.ToHexString(buffer, kBufferSize));
151 CHECK_EQ("123456789ABCDEF0000000000000000", buffer);
153 CHECK(bignum.ToHexString(buffer, kBufferSize));
154 CHECK_EQ("2468ACF13579BDE0000000000000000", buffer);
159 char buffer[kBufferSize];
163 CHECK(bignum.ToHexString(buffer, kBufferSize));
164 CHECK_EQ("A", buffer);
168 CHECK(bignum.ToHexString(buffer, kBufferSize));
169 CHECK_EQ("B", buffer);
173 CHECK(bignum.ToHexString(buffer, kBufferSize));
174 CHECK_EQ("101", buffer);
178 CHECK(bignum.ToHexString(buffer, kBufferSize));
179 CHECK_EQ("10000", buffer);
183 CHECK(bignum.ToHexString(buffer, kBufferSize));
184 CHECK_EQ("10000000", buffer);
188 CHECK(bignum.ToHexString(buffer, kBufferSize));
189 CHECK_EQ("1000000000000000000000000000000000000000FFFF", buffer);
193 CHECK(bignum.ToHexString(buffer, kBufferSize));
194 CHECK_EQ("100000000000000000000000000000000000000000000", buffer);
199 CHECK(bignum.ToHexString(buffer, kBufferSize));
200 CHECK_EQ("10000000000000000000000001", buffer);
205 CHECK(bignum.ToHexString(buffer, kBufferSize));
206 CHECK_EQ("1000000000000000000000FFFF", buffer);
210 CHECK(bignum.ToHexString(buffer, kBufferSize));
211 CHECK_EQ("A00000000", buffer);
215 CHECK(bignum.ToHexString(buffer, kBufferSize));
216 CHECK_EQ("A00000001", buffer);
220 CHECK(bignum.ToHexString(buffer, kBufferSize));
221 CHECK_EQ("10000000001", buffer);
225 CHECK(bignum.ToHexString(buffer, kBufferSize));
226 CHECK_EQ("FFFF00000001", buffer);
230 CHECK(bignum.ToHexString(buffer, kBufferSize));
231 CHECK_EQ("10FFFFFFF", buffer);
235 CHECK(bignum.ToHexString(buffer, kBufferSize));
236 CHECK_EQ("10000000000000000000000000000000FFFF00000000", buffer);
240 CHECK(bignum.ToHexString(buffer, kBufferSize));
241 CHECK_EQ("1000000000000000000000000000000000000FFFFFFFF", buffer);
246 CHECK(bignum.ToHexString(buffer, kBufferSize));
247 CHECK_EQ("10000000000000000100000000", buffer);
252 CHECK(bignum.ToHexString(buffer, kBufferSize));
253 CHECK_EQ("10000000000000FFFF00000000", buffer);
258 char buffer[kBufferSize];
265 CHECK(bignum.ToHexString(buffer, kBufferSize));
266 CHECK_EQ("1", buffer);
270 CHECK(bignum.ToHexString(buffer, kBufferSize));
271 CHECK_EQ("2", buffer);
275 CHECK(bignum.ToHexString(buffer, kBufferSize));
276 CHECK_EQ("10000000", buffer);
280 CHECK(bignum.ToHexString(buffer, kBufferSize));
281 CHECK_EQ("100000000000000", buffer);
285 CHECK(bignum.ToHexString(buffer, kBufferSize));
286 CHECK_EQ("10000000000000000000000000000000000000000001", buffer);
292 CHECK(bignum.ToHexString(buffer, kBufferSize));
293 CHECK_EQ("1000000000001", buffer);
297 CHECK(bignum.ToHexString(buffer, kBufferSize));
298 CHECK_EQ("100000FFFFFFF", buffer);
302 CHECK(bignum.ToHexString(buffer, kBufferSize));
303 CHECK_EQ("10000000000000000000000000000001000000000000", buffer);
307 CHECK(bignum.ToHexString(buffer, kBufferSize));
308 CHECK_EQ("1000000000000000000000000000000FFFFFFFFFFFF", buffer);
313 CHECK(bignum.ToHexString(buffer, kBufferSize));
314 CHECK_EQ("10000000000001000000000000", buffer);
321 CHECK(bignum.ToHexString(buffer, kBufferSize));
322 CHECK_EQ("10000000000000000000000000001", buffer);
326 CHECK(bignum.ToHexString(buffer, kBufferSize));
327 CHECK_EQ("1000000000000000000000FFFFFFF", buffer);
331 CHECK(bignum.ToHexString(buffer, kBufferSize));
332 CHECK_EQ("10000000000000010000000000000000000000000000", buffer);
336 CHECK(bignum.ToHexString(buffer, kBufferSize));
337 CHECK_EQ("100000000000000FFFFFFFFFFFFFFFFFFFFFFFFFFFF", buffer);
342 CHECK(bignum.ToHexString(buffer, kBufferSize));
343 CHECK_EQ("10010000000000000000000000000", buffer);
348 char buffer[kBufferSize];
355 CHECK(bignum.ToHexString(buffer, kBufferSize));
356 CHECK_EQ("1", buffer);
361 CHECK(bignum.ToHexString(buffer, kBufferSize));
362 CHECK_EQ("2", buffer);
367 CHECK(bignum.ToHexString(buffer, kBufferSize));
368 CHECK_EQ("FFFFFFF", buffer);
373 CHECK(bignum.ToHexString(buffer, kBufferSize));
374 CHECK_EQ("FFFFFFFFFFFFFF", buffer);
379 CHECK(bignum.ToHexString(buffer, kBufferSize));
380 CHECK_EQ("10000000000000000000000000000000000000000000", buffer);
385 CHECK(bignum.ToHexString(buffer, kBufferSize));
386 CHECK_EQ("1", buffer);
391 CHECK(bignum.ToHexString(buffer, kBufferSize));
392 CHECK_EQ("FFFFFFF", buffer);
397 CHECK(bignum.ToHexString(buffer, kBufferSize));
398 CHECK_EQ("10000000000000000000000000000000000000000000", buffer);
403 CHECK(bignum.ToHexString(buffer, kBufferSize));
404 CHECK_EQ("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF", buffer);
411 CHECK(bignum.ToHexString(buffer, kBufferSize));
412 CHECK_EQ("FFFFFFFFFFFFF000000000000", buffer);
422 CHECK(bignum.ToHexString(buffer, kBufferSize));
423 CHECK_EQ("F000000000000000000000000", buffer);
432 CHECK(bignum.ToHexString(buffer, kBufferSize));
433 CHECK_EQ("FFFFFFEFFFFFF800000000", buffer);
437 CHECK(bignum.ToHexString(buffer, kBufferSize));
438 CHECK_EQ("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF800000000", buffer);
442 CHECK(bignum.ToHexString(buffer, kBufferSize));
443 CHECK_EQ("FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF7FFFFFFFF", buffer);
448 char buffer[kBufferSize];
453 CHECK(bignum.ToHexString(buffer, kBufferSize));
454 CHECK_EQ("0", buffer);
458 CHECK(bignum.ToHexString(buffer, kBufferSize));
459 CHECK_EQ("A", buffer);
463 CHECK(bignum.ToHexString(buffer, kBufferSize));
464 CHECK_EQ("90000000", buffer);
468 CHECK(bignum.ToHexString(buffer, kBufferSize));
469 CHECK_EQ("FFFF00000000000000", buffer);
473 CHECK(bignum.ToHexString(buffer, kBufferSize));
474 CHECK_EQ("FFFFFFFF00000000000000", buffer);
478 CHECK(bignum.ToHexString(buffer, kBufferSize));
479 CHECK_EQ("12333335552433", buffer);
483 CHECK(bignum.ToHexString(buffer, kBufferSize));
484 CHECK_EQ("12345679998A985433", buffer);
488 CHECK(bignum.ToHexString(buffer, kBufferSize));
489 CHECK_EQ("1FFFFFFFFFFFFFFFE", buffer);
493 CHECK(bignum.ToHexString(buffer, kBufferSize));
494 CHECK_EQ("3FFFFFFFFFFFFFFFC", buffer);
498 CHECK(bignum.ToHexString(buffer, kBufferSize));
499 CHECK_EQ("EFFFFFFFFFFFFFFF1", buffer);
503 CHECK(bignum.ToHexString(buffer, kBufferSize));
504 CHECK_EQ("FFFFFEFFFFFFFFFF000001", buffer);
510 CHECK(bignum.ToHexString(buffer, kBufferSize));
511 CHECK_EQ("20000000000000000000000000", buffer);
517 CHECK(bignum.ToHexString(buffer, kBufferSize));
518 CHECK_EQ("F0000000000000000000000000", buffer);
524 CHECK(bignum.ToHexString(buffer, kBufferSize));
525 CHECK_EQ("FFFE00010000000000000000000000000", buffer);
531 CHECK(bignum.ToHexString(buffer, kBufferSize));
532 CHECK_EQ("FFFEFFFF00010000000000000000000000000", buffer);
538 CHECK(bignum.ToHexString(buffer, kBufferSize));
539 CHECK_EQ("FFFEFFFF00010000000000000000000000000", buffer);
543 CHECK(bignum.ToHexString(buffer, kBufferSize));
544 CHECK_EQ("210EDD6D4CDD2580EE80", buffer);
549 char buffer[kBufferSize];
554 CHECK(bignum.ToHexString(buffer, kBufferSize));
555 CHECK_EQ("0", buffer);
559 CHECK(bignum.ToHexString(buffer, kBufferSize));
560 CHECK_EQ("A", buffer);
564 CHECK(bignum.ToHexString(buffer, kBufferSize));
565 CHECK_EQ("90000000", buffer);
569 CHECK(bignum.ToHexString(buffer, kBufferSize));
570 CHECK_EQ("FFFF00000000000000", buffer);
574 CHECK(bignum.ToHexString(buffer, kBufferSize));
575 CHECK_EQ("FFFFFFFFFFFFFFFF00000000000000", buffer);
579 CHECK(bignum.ToHexString(buffer, kBufferSize));
580 CHECK_EQ("12333335552433", buffer);
584 CHECK(bignum.ToHexString(buffer, kBufferSize));
585 CHECK_EQ("1234567ABCBDCBA985433", buffer);
589 CHECK(bignum.ToHexString(buffer, kBufferSize));
590 CHECK_EQ("1FFFFFFFFFFFFFFFE", buffer);
594 CHECK(bignum.ToHexString(buffer, kBufferSize));
595 CHECK_EQ("3FFFFFFFFFFFFFFFC", buffer);
599 CHECK(bignum.ToHexString(buffer, kBufferSize));
600 CHECK_EQ("EFFFFFFFFFFFFFFF1", buffer);
604 CHECK(bignum.ToHexString(buffer, kBufferSize));
605 CHECK_EQ("FFFFFFFFFFFFFFFE0000000000000001", buffer);
611 CHECK(bignum.ToHexString(buffer, kBufferSize));
612 CHECK_EQ("20000000000000000000000000", buffer);
618 CHECK(bignum.ToHexString(buffer, kBufferSize));
619 CHECK_EQ("F0000000000000000000000000", buffer);
625 CHECK(bignum.ToHexString(buffer, kBufferSize));
626 CHECK_EQ("FFFE00010000000000000000000000000", buffer);
632 CHECK(bignum.ToHexString(buffer, kBufferSize));
633 CHECK_EQ("FFFEFFFF00010000000000000000000000000", buffer);
639 CHECK(bignum.ToHexString(buffer, kBufferSize));
640 CHECK_EQ("FFFEFFFFFFFFFFFF00010000000000000000000000000", buffer);
644 CHECK(bignum.ToHexString(buffer, kBufferSize));
645 CHECK_EQ("1E10EE4B11D15A7F3DE7F3C7680000", buffer);
650 char buffer[kBufferSize];
655 CHECK(bignum.ToHexString(buffer, kBufferSize));
656 CHECK_EQ("3034", buffer);
660 CHECK(bignum.ToHexString(buffer, kBufferSize));
661 CHECK_EQ("1E208", buffer);
665 CHECK(bignum.ToHexString(buffer, kBufferSize));
666 CHECK_EQ("12D450", buffer);
670 CHECK(bignum.ToHexString(buffer, kBufferSize));
671 CHECK_EQ("BC4B20", buffer);
675 CHECK(bignum.ToHexString(buffer, kBufferSize));
676 CHECK_EQ("75AEF40", buffer);
680 CHECK(bignum.ToHexString(buffer, kBufferSize));
681 CHECK_EQ("498D5880", buffer);
685 CHECK(bignum.ToHexString(buffer, kBufferSize));
686 CHECK_EQ("2DF857500", buffer);
690 CHECK(bignum.ToHexString(buffer, kBufferSize));
691 CHECK_EQ("1CBB369200", buffer);
695 CHECK(bignum.ToHexString(buffer, kBufferSize));
696 CHECK_EQ("11F5021B400", buffer);
700 CHECK(bignum.ToHexString(buffer, kBufferSize));
701 CHECK_EQ("B3921510800", buffer);
705 CHECK(bignum.ToHexString(buffer, kBufferSize));
706 CHECK_EQ("703B4D2A5000", buffer);
710 CHECK(bignum.ToHexString(buffer, kBufferSize));
711 CHECK_EQ("4625103A72000", buffer);
715 CHECK(bignum.ToHexString(buffer, kBufferSize));
716 CHECK_EQ("2BD72A24874000", buffer);
720 CHECK(bignum.ToHexString(buffer, kBufferSize));
721 CHECK_EQ("1B667A56D488000", buffer);
725 CHECK(bignum.ToHexString(buffer, kBufferSize));
726 CHECK_EQ("11200C7644D50000", buffer);
730 CHECK(bignum.ToHexString(buffer, kBufferSize));
731 CHECK_EQ("AB407C9EB0520000", buffer);
735 CHECK(bignum.ToHexString(buffer, kBufferSize));
736 CHECK_EQ("6B084DE32E3340000", buffer);
740 CHECK(bignum.ToHexString(buffer, kBufferSize));
741 CHECK_EQ("42E530ADFCE0080000", buffer);
745 CHECK(bignum.ToHexString(buffer, kBufferSize));
746 CHECK_EQ("29CF3E6CBE0C0500000", buffer);
750 CHECK(bignum.ToHexString(buffer, kBufferSize));
751 CHECK_EQ("1A218703F6C783200000", buffer);
755 CHECK(bignum.ToHexString(buffer, kBufferSize));
756 CHECK_EQ("1054F4627A3CB1F400000", buffer);
760 CHECK(bignum.ToHexString(buffer, kBufferSize));
761 CHECK_EQ("A3518BD8C65EF38800000", buffer);
765 CHECK(bignum.ToHexString(buffer, kBufferSize));
766 CHECK_EQ("6612F7677BFB5835000000", buffer);
770 CHECK(bignum.ToHexString(buffer, kBufferSize));
771 CHECK_EQ("3FCBDAA0AD7D17212000000", buffer);
775 CHECK(bignum.ToHexString(buffer, kBufferSize));
776 CHECK_EQ("27DF68A46C6E2E74B4000000", buffer);
780 CHECK(bignum.ToHexString(buffer, kBufferSize));
781 CHECK_EQ("18EBA166C3C4DD08F08000000", buffer);
785 CHECK(bignum.ToHexString(buffer, kBufferSize));
786 CHECK_EQ("F9344E03A5B0A259650000000", buffer);
790 CHECK(bignum.ToHexString(buffer, kBufferSize));
791 CHECK_EQ("9BC0B0C2478E6577DF20000000", buffer);
795 CHECK(bignum.ToHexString(buffer, kBufferSize));
796 CHECK_EQ("61586E796CB8FF6AEB740000000", buffer);
800 CHECK(bignum.ToHexString(buffer, kBufferSize));
801 CHECK_EQ("3CD7450BE3F39FA2D32880000000", buffer);
805 CHECK(bignum.ToHexString(buffer, kBufferSize));
806 CHECK_EQ("26068B276E7843C5C3F9500000000", buffer);
810 CHECK(bignum.ToHexString(buffer, kBufferSize));
811 CHECK_EQ("149D1B4CFED03B23AB5F4E1196EF45C08000000000000", buffer);
815 CHECK(bignum.ToHexString(buffer, kBufferSize));
817 "0000000000000000000000000", buffer);
821 CHECK(bignum.ToHexString(buffer, kBufferSize));
824 "0000000000000000000000000000000000000000000000", buffer);
828 CHECK(bignum.ToHexString(buffer, kBufferSize));
835 "0000000000000000000000000000000000000000000000", buffer);
839 CHECK(bignum.ToHexString(buffer, kBufferSize));
853 "0000000000000000000000000000", buffer);
865 CHECK(bignum2.ToHexString(buffer, kBufferSize));
874 "C667A10958EA6D2", buffer);
878 CHECK(bignum.ToHexString(buffer, kBufferSize));
885 "7BC494D8D854F5B76696F927EA99BC00C4A5D7928434", buffer);
889 CHECK(bignum.ToHexString(buffer, kBufferSize));
896 "0787351992A01E5BB8F2A015807AE7A6BB92A08", buffer);
900 CHECK(bignum.ToHexString(buffer, kBufferSize));
907 "0A2AEF6568276BE4C176964A73C153FDE018E34CB4C2F40", buffer);
911 CHECK(bignum.ToHexString(buffer
918 "0443C38A1C0D2701EDB393135AE0DEC94211F9D4EB51F990800", buffer);
922 CHECK(bignum.ToHexString(buffer, kBufferSize));
930 "F586E03A2FCD35A408000000000000", buffer);
934 CHECK(bignum.ToHexString(buffer, kBufferSize));
943 "0000000000", buffer);
947 CHECK(bignum.ToHexString(buffer, kBufferSize));
957 "00000000000000000000000000000000", buffer);
961 CHECK(bignum.ToHexString(buffer, kBufferSize));
975 "0000000000000000000000000000000000000", buffer);
980 char buffer[kBufferSize];
988 CHECK(bignum.ToHexString(buffer, kBufferSize));
989 CHECK_EQ("0", buffer);
996 CHECK_EQ("0", buffer);
1001 CHECK(bignum.ToHexString(buffer, kBufferSize));
1002 CHECK_EQ("1", buffer);
1011 CHECK(bignum.ToHexString(buffer, kBufferSize));
1012 CHECK_EQ("1", buffer);
1021 CHECK(bignum.ToHexString(buffer, kBufferSize));
1022 CHECK_EQ("FFF", buffer);
1027 CHECK(bignum.ToHexString(buffer, kBufferSize));
1028 CHECK_EQ("A", buffer);
1033 CHECK(bignum.ToHexString(buffer, kBufferSize));
1034 CHECK_EQ("D9861E", buffer);
1039 CHECK(bignum.ToHexString(buffer, kBufferSize));
1040 CHECK_EQ("10000004", buffer);
1045 CHECK(bignum.ToHexString(buffer, kBufferSize));
1046 CHECK_EQ("2BF41C0", buffer);
1055 CHECK(bignum.ToHexString(buffer, kBufferSize));
1056 CHECK_EQ("1232DCC", buffer);
1058 CHECK(bignum.ToHexString(buffer, kBufferSize));
1059 CHECK_EQ("1232DCC", buffer);
1361 char buffer[kBufferSize];
1365 CHECK(bignum.ToHexString(buffer, kBufferSize));
1366 CHECK_EQ("1", buffer);
1370 CHECK(bignum.ToHexString(buffer, kBufferSize));
1371 CHECK_EQ("4", buffer);
1375 CHECK(bignum.ToHexString(buffer, kBufferSize));
1376 CHECK_EQ("64", buffer);
1380 CHECK(bignum.ToHexString(buffer, kBufferSize));
1381 CHECK_EQ("FFFFFFE0000001", buffer);
1385 CHECK(bignum.ToHexString(buffer, kBufferSize));
1386 CHECK_EQ("FFFFFFFFFFFFFE00000000000001", buffer);
1392 char buffer[kBufferSize];
1395 CHECK(bignum.ToHexString(buffer, kBufferSize));
1396 CHECK_EQ("1", buffer);
1399 CHECK(bignum.ToHexString(buffer, kBufferSize));
1400 CHECK_EQ("1", buffer);
1403 CHECK(bignum.ToHexString(buffer, kBufferSize));
1404 CHECK_EQ("1", buffer);
1407 CHECK(bignum.ToHexString(buffer, kBufferSize));
1408 CHECK_EQ("1", buffer);
1411 CHECK(bignum.ToHexString(buffer, kBufferSize));
1412 CHECK_EQ("2", buffer);
1415 CHECK(bignum.ToHexString(buffer, kBufferSize));
1416 CHECK_EQ("4", buffer);
1419 CHECK(bignum.ToHexString(buffer, kBufferSize));
1420 CHECK_EQ("10", buffer);
1423 CHECK(bignum.ToHexString(buffer, kBufferSize));
1424 CHECK_EQ("100", buffer);
1427 CHECK(bignum.ToHexString(buffer, kBufferSize));
1428 CHECK_EQ("100000", buffer);
1431 CHECK(bignum.ToHexString(buffer, kBufferSize));
1432 CHECK_EQ("100000000", buffer);
1435 CHECK(bignum.ToHexString(buffer, kBufferSize));
1436 CHECK_EQ("10000000000000000", buffer);
1439 CHECK(bignum.ToHexString(buffer, kBufferSize));
1440 CHECK_EQ("1000000000000000000000000000000", buffer);
1443 CHECK(bignum.ToHexString(buffer, kBufferSize));
1444 CHECK_EQ("1", buffer);
1447 CHECK(bignum.ToHexString(buffer, kBufferSize));
1448 CHECK_EQ("A", buffer);
1451 CHECK(bignum.ToHexString(buffer, kBufferSize));
1452 CHECK_EQ("64", buffer);
1455 CHECK(bignum.ToHexString(buffer, kBufferSize));
1456 CHECK_EQ("186A0", buffer);
1459 CHECK(bignum.ToHexString(buffer, kBufferSize));
1460 CHECK_EQ("5F5E100", buffer);
1463 CHECK(bignum.ToHexString(buffer, kBufferSize));
1464 CHECK_EQ("2386F26FC10000", buffer);
1467 CHECK(bignum.ToHexString(buffer, kBufferSize));
1468 CHECK_EQ("C9F2C9CD04674EDEA40000000", buffer);
1471 CHECK(bignum.ToHexString(buffer, kBufferSize));
1472 CHECK_EQ("7E37BE2022C0914B2680000000", buffer);
1475 CHECK(bignum.ToHexString(buffer, kBufferSize));
1476 CHECK_EQ("1", buffer);
1479 CHECK(bignum.ToHexString(buffer, kBufferSize));
1480 CHECK_EQ("10000000000000000000000000", buffer);
1483 CHECK(bignum.ToHexString(buffer, kBufferSize));
1484 CHECK_EQ("1", buffer);
1487 CHECK(bignum.ToHexString(buffer, kBufferSize));
1490 buffer);
1493 CHECK(bignum.ToHexString(buffer, kBufferSize));
1501 buffer);