-
Notifications
You must be signed in to change notification settings - Fork 26
/
dh_test.go
924 lines (869 loc) · 126 KB
/
dh_test.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
/*
* Copyright 2012 Nan Deng
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package dhkx
import (
"fmt"
"math/big"
"testing"
)
type dhTestCase struct {
p *big.Int
g *big.Int
xa *big.Int
xb *big.Int
ya *big.Int
yb *big.Int
zz *big.Int
}
func (self *dhTestCase) testOne(xa, ya, yb *big.Int, oppo bool) error {
group := new(DHGroup)
group.p = self.p
group.g = self.g
priv := new(DHKey)
priv.x = xa
priv.y = new(big.Int).Exp(group.g, priv.x, group.p)
if ya.Cmp(priv.y) != 0 {
if oppo {
return fmt.Errorf("%v = yb != g ^ xb mod p = %v", ya, priv.y)
}
return fmt.Errorf("%v = ya != g ^ xa mod p = %v", ya, priv.y)
}
pub := new(DHKey)
pub.y = yb
z, err := group.ComputeKey(pub, priv)
if err != nil {
return err
}
if self.zz.Cmp(z.y) != 0 {
if oppo {
return fmt.Errorf("%v = zz != ya ^ xb mod p = %v", self.zz, z.y)
}
return fmt.Errorf("%v = zz != yb ^ xa mod p = %v", self.zz, z.y)
}
return nil
}
func (self *dhTestCase) test() error {
err := self.testOne(self.xa, self.ya, self.yb, false)
if err != nil {
return err
}
err = self.testOne(self.xb, self.yb, self.ya, true)
if err != nil {
return err
}
return nil
}
// Test case 0
func TestNIST_0(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("87e0beefd8122561e9c329d764c6e3b3dafe538a", 16)
t.xb, _ = new(big.Int).SetString("d1c718752471c49441c6dac8e1e56bba4a46ae15", 16)
t.ya, _ = new(big.Int).SetString("4fc9904887ac7fabff87f054003547c2d9458c1f6f584c140d7271f8b266bb390af7e3f625a629bec9c6a057a4cbe1a556d5e3eb2ff1c6ff677a08b0c7c509110b9e7c6dbc961ca4360362d3dbcffc5bf2bb7207e0a5922f77cf5464b316aa49fb62b338ebcdb30bf573d07b663bb7777b69d6317df0a4f636ba3d9acbf9e8ac", 16)
t.yb, _ = new(big.Int).SetString("3f0b221ba36e692083e0202b77d343957737d12abae9c5bf10dc170b6cea0d025edb782543120700ca52271e747d80195f71e65450583841b54cd39c967620513028f8084caa8f3bd9ab864f3aac1fc88087da0c4b5e7fa6d0d7c680121e099327694112a9f03c8916113e1506c67e1fd14b79e242159b167a611852e48f4cad", 16)
t.zz, _ = new(big.Int).SetString("8001b741680490f7303df56d9cba8ba4d6c156c37b351917709eb634a5f9cfcdc5568148f7a5505806a49f22819fd5c7752117b196de66f8b9aa649920d0596ce02d42f57cf8a9e4149b4a863c5d23ecbf9982d30bb1f75fb481711bee1d372dd566f5a6a759d8af34da147b9eaf878e47eaf7f502c0b71d98d04b3251f00c4b", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 0 failed: %v", err)
}
}
// Test case 1
func TestNIST_1(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("42ef1eb4ecae87196320c662651070f127bad1d5", 16)
t.xb, _ = new(big.Int).SetString("4cf26aee0c9618087ec7fc5337ac9d1d715bd10b", 16)
t.ya, _ = new(big.Int).SetString("689ffa137c1d869e3626698f462eda3c096f0268c2f8ef5fe62882d6d0bf6df458109803aa7475afb17bceb766125328ff71d7dacf597cf04d2f7f38bee6a6bda7309cfbdb5473f4d3900e53528f41b0701a6f38961136b120d2d9e774457db8d4af6f652cc26114652cdb7fd45711f497cde2ae22c6ad86a83c70faeec377f7", 16)
t.yb, _ = new(big.Int).SetString("15e426fdd10c93ec9cd442a22172e6320344d4fadf0cbf2cf1b4cb1686c3bc9e0d9f84b6af97763ef17530e73e8f88e7508690917a2c4e6b19aedbf637f0a22ed20ea468bd0689e293260415a81df43164bb741ce6d7d5a29696fa76ac77573f663c25da46819ff33f1a9278bef9cb5fbaca706fb3ddc46cb2f276f0f0db9288", 16)
t.zz, _ = new(big.Int).SetString("0fdcc50d0a83ed19d422e8b8e271bbfc6aa2298bf459f5342c1eb92bd498589f6d3f9684775547c499b79d0d3adfbaebecfcb70cc3b12bd2c04d2766c1c88fb0918d585000062d523d42a92d72ac1ef348db9955559eed9507209588f2efd3048735b86253a076d46163e0b45479b0ead712f6bf273935009c8d0c69c758c631", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 1 failed: %v", err)
}
}
// Test case 2
func TestNIST_2(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("9c8daf5fae57ffdc145d7da3e43c9dfed2f56b89", 16)
t.xb, _ = new(big.Int).SetString("960195e97884ef903a898e8e9479a73f61bc333a", 16)
t.ya, _ = new(big.Int).SetString("2fdb4202c5a95df7a7797b457300f109c30f54c309ef5b7d3e4487fafa9bf9115ec922d716720decb88c01d11c5bfdb03e565caf72d0ca70208deb7ad55745601f6d34c2b72892d00935e1dccbc22cd60dabfb3393e36698950d1ef3ffba9982892a85f13f56a520c251711b68c4c0294c0ce6fc520b1193c8d53f76d52b4a5e", 16)
t.yb, _ = new(big.Int).SetString("4942b76e9faa5304244bda77cd5277a8a8a1c5eee4a353bf8ad14345dd1a89dde2446764dea6e329c5721ddadd919e65d994a45d22b13d29896b31b67dd7a00edfca0386e4a6290008add973ab8c259984043562f96ca03a79280c234c8b0ffde94163a019971151aeeebeec1bffcc159b0fb2f25e73140e54ff80d14d4a9c1b", 16)
t.zz, _ = new(big.Int).SetString("3091c1d7f3d08001a03834bf715e2d71c08b52b516c6e248c1bc4353be84935ea75003c1f3b04fd3cb34383407bd1d696932a39224555c680ed5c8877ab1cf336cdfca2c2490e3c475f8864ff3a52b3058f742adeed9c23870fc3beb9ac3b34ac56f35daf3ee921537cb117835c80f51d4daeae4285f043e46385d21dc148a59", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 2 failed: %v", err)
}
}
// Test case 3
func TestNIST_3(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("7bb033ad72a8b0a1ddc153f364aee0c2eeb46f89", 16)
t.xb, _ = new(big.Int).SetString("d1077d6fd218065f5b144e92a28ae8b4b3e00c1d", 16)
t.ya, _ = new(big.Int).SetString("86bb01a1eda225bd9f445a2e09c198584be07d17a98eaf4f9ac60031912ba37861b3b8766fd2e0c7dcc625f7728ae7aae6b8a08e90fd4960eeaec327b453e20bf9f60c3d19877b54213c7696e86be9f3c144f50c6f33cbe651c50316d770b05c9276947f95a2f350d39d738721b9faca1dacae8a2ab55048ea6c03ab89b9bfb2", 16)
t.yb, _ = new(big.Int).SetString("8897cc06190729148e9f5ff3aa5a83df7531d9a610f480643f6da755fe379894e8dc38cd101366cf27da6d49323a7404c9ea589d0366e2d52c361c6b408005c42f8a6e1855f4b01ea6654cb5b9f7438b828993d4f0e481e8b069dbe1b3b32d60f760b9929cd40da99d4be83d64bbf646f76d3753cec2a59d2a37d3ca1e5cde94", 16)
t.zz, _ = new(big.Int).SetString("34a80a8efd4ec6f0a4c5e4f15be54a07c5d592a74cbdbfdabbf1ccf5c2ab5ea40e10db61943840b22071828a1bf92c26bab8f6d2bb71ffb81baeb9f5b8fa7e6e6c7869d2fff3404cbf13282a1008635bc35b1cf68158b724efd8aace1a159d80023368e2abfdd65657be9c6c2988fa3f1e480070dc0f768bcf419e6b49f7bf67", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 3 failed: %v", err)
}
}
// Test case 4
func TestNIST_4(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("3e4b53f392a613ad37643ae0d94f9351120960c7", 16)
t.xb, _ = new(big.Int).SetString("be84346943b5e10ba5c96eedbe5441062c8d8000", 16)
t.ya, _ = new(big.Int).SetString("17ef7a6bba1bf308ace28c4343c1d107088a88d8d9760ebd74d6f24aeb322bbf53b5279b77ba0c6da7773eb4873e95d92732971e407b7eb1d1c213e80eccef0d8018024a6c5c856294acb6a084cc8410a7e319219c70f42ecf990295df803138ca5afe76182ab7e9312f2f35d802b3d7609aabd85c24010d37b70e8c7aab1551", 16)
t.yb, _ = new(big.Int).SetString("39c8c51af38b8a3cf56450e548930bf35514d328ea9b9b7e223adfb5925194dac455f3314d53ec7b4cd5957dc196890ce95c2b148d27228406c36feed55dab4eb9f9c68df0cc33c547facc44b752a1a6f4c082b439453c44144b7dc7459b70caa666e1f26ff2186ee192ce62efe4baab3ccff8e5c35dfaa1e1f95d7a7128badf", 16)
t.zz, _ = new(big.Int).SetString("84b20faeda4c3f643b6c0d3961b7d758e5c0ca0791302808df0697d79e73bba3208afbfe23f135b91533b534b2d6067b2cc7076104499f9c3a85790d4158d673a7b9165588ebce7acbda06dce483b64b4f3411bbcf6f1f0766f08368b8d1200a76a42c6fe917b3e2ece3447a707a29aa24d65f20c7e4e0ce03b925570900116f", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 4 failed: %v", err)
}
}
// Test case 5
func TestNIST_5(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("beaa30a4c7a177a690b7b9dceac41e18dd2aa878", 16)
t.xb, _ = new(big.Int).SetString("f4ad232053db24516f5d68bc7c883532ca4b35ed", 16)
t.ya, _ = new(big.Int).SetString("300b81e056b4d5328383c41135e1cb2c19b3bf48bb327b29f311025e4303b428ebc1cbb721f6d4ec555940d3eb48ab7e38d2d0a1d016a9f768fd3934cfc373b7bb0595c1e70d40335ec9ce44761966f36e3b11b021841a4637e33ba2e8ba6808f5193e724832d346bcea23c704bf7fb52ff14582fd9551cadea28d449a38ec21", 16)
t.yb, _ = new(big.Int).SetString("356fda375dce8316677e2f46af52f5a623bf7dcd37997d0a765db4fa4028a783880f32c2cf8f1bb711174b74ba91f8f38a0c46806770dcef40bc96cb2c72561ef264e40f3286d8b1f505ad199a008d4ad0da0dd521e3e72d21f538a2476ef79ed0deccb05dc1fb939e737a5359df1ddf5c1adfa8f72a0fd63e2b05b100d6c86a", 16)
t.zz, _ = new(big.Int).SetString("7151709da64cbef917156e5e8149a0dbaa93073ff06c523948fe312b7d6e611f5ec779c2fc2f456927d9d0c9b559088fffea054324228dd0cf17183715f4e6afcda3bfecdf272abf0cea96149516b62238093fbab80fe7381fc51ee66f800f006d30d1ae0a9e9d1e9badbd8e5b80938b8c63ab7ec021c82666649e00f4bd5d5f", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 5 failed: %v", err)
}
}
// Test case 6
func TestNIST_6(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("30553c57b5b0a8e7b844b6cd6d24f7b5321b7582", 16)
t.xb, _ = new(big.Int).SetString("6d6cfe3088033bde003665d754bc8838e0b63f1b", 16)
t.ya, _ = new(big.Int).SetString("656b63257e52e34458b5e2796d14da096842ca0978d7c18f7dd4e92c4b728d7660555a9fa1a96e4d2a6957275bd0b2cbd287d14a2584738003528dc705cd27372acef046fb4523fe0d7f125d9fbc96459999700c81f64c38645f5cbdfd361fd568e7683a489a6ef21c01137baf3cfcee53d3aeb24a26757897c8ddeb0e862b55", 16)
t.yb, _ = new(big.Int).SetString("60f1109f6b757957de9a4e55ef6068507bd8b887beff7505a09431de6e930faa2a56d9757fc77e0a4783e6ba45d445563dd37468b9210387c6719ce4f8b8617a3cbff42abdbb9dcfd21f9a50aad888c42ef79da62d497c477509a242e58f28be8592eaefae31f01673fe74c688cc63f552589261ae6726dc48fa83ef9a96ef42", 16)
t.zz, _ = new(big.Int).SetString("309b47301e6b3b639cc26261ad4501e46bdba6078edb1ab68a036be0700b46b58f24a5a2024e91f9082962d7641ef3d37bac11ea53072aec143170d4c417fedb2b12279bb9c52e11ac083e54ce3984a304e04351072879bca56f19323ab285e9bd75a153f94eb3c38982094b440515663157296afd57bff91fc22b43f83df07c", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 6 failed: %v", err)
}
}
// Test case 7
func TestNIST_7(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("52f2441a4f2f62dde6416bc7860d86a64f7a4dba", 16)
t.xb, _ = new(big.Int).SetString("91d65f877ced64619cb82bd348ee8fab1d1ac1e9", 16)
t.ya, _ = new(big.Int).SetString("3246732d6bc3d3c3733cde85092a599084d891ac5548ad3aa8927e0aac09d3da0e0933e394944ef9fb6941a4a927d7274d1053678f0dac83ab995ec30dc80d1e71a4d652c499febdc5e37644848bbb18634c75e6b0e46b785624419f543bf4da61ab31421e02381751914f50dea4c6e8f97ec6c19b802275697870d6ef622e12", 16)
t.yb, _ = new(big.Int).SetString("0ff86cd1262972ee2947cd35100928609531f80da592c204bf45f411d848d7b87db77243fe5f9dd833e7af6a227ae3d85cf07047c4149f645e707fd3f707052a2cbebd574c5a9e1f2708074bd60fffa0d7ac5a4e68a033c168139d0fedf3a05ab51206ec33a1712231019f231499a604b0bd9bc0fbd917ad62c397048126262d", 16)
t.zz, _ = new(big.Int).SetString("8b41b80c9ef674521a2801814faa313fb0f27240e286d28a826c4fe56b6a0ec6e2821a40903819e5061868fc597a3f6f42c6d1254ba909bed72feeab26653c9c3374ef7c8634fd231f8bffc5b270d590ae72dc515c2b93b410c804ba6350aec045b04f7c02ec9bafbb83e183623fe0e938f5398bbea838d4954bf2cd631839e4", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 7 failed: %v", err)
}
}
// Test case 8
func TestNIST_8(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("29d5c5e5d17f21286d152412f37afc0ac8b1d08e", 16)
t.xb, _ = new(big.Int).SetString("068b8fd29c9bcc16e31cd1d0bce7dc847b732723", 16)
t.ya, _ = new(big.Int).SetString("2218d3ee0adbda4612daf338728be224960afc66f80310e0c4bd364299e34b021f6b9fe747038ca147c33ad284e83f5bd6ae7e10369f8485ad633f4e83693af04be310ff685455fb4b4708fe61db12241511e83ce6ff50f3805e951be51161e9d82366af9537d245c1e07e70863f787d3b57eee01e4e505753fadd65d43ed6ea", 16)
t.yb, _ = new(big.Int).SetString("1a2b0ca9aff09ff8682629892d718886b64fc98e7625c602189561e80338878c3cf1930685103a1616fb3f28f6b756ddf8b66da8c5551ef14f56fcacbacda45f0976fa9946e8c0fe3f9b852033fd43e5541dc0e83b067a076441815d8e7e903e25df267925271c6aeadf296172a61ce6fa33514413f55b48b0c05cfcb683bf57", 16)
t.zz, _ = new(big.Int).SetString("7bfaf90100cb7669e5cb81d39b08043b181761a6d8bd70b6bbcd2e67ce245a89e42eb33002627f4de465f0fb75946d25974a35b66c6d1c1dbe2d9b6cf88ef06ce59effcdc75e5e114a49f4c0cecc8540e337c3fc6f47b89e38f9415281c291fa8890253322f9853cfaa3fcb31df70249dcee3b9bb871ff0608383be900e3ba00", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 8 failed: %v", err)
}
}
// Test case 9
func TestNIST_9(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("106eb61ee745fb61440085c45912c79f802f64b6", 16)
t.xb, _ = new(big.Int).SetString("68fe9138701e365441569c9bd0b89f8fac19c2b4", 16)
t.ya, _ = new(big.Int).SetString("02889f35567f74e3650a72ea2362b47748457d41c7b7b7f1d95aa76e0022f6ad92757c03b9addc4cc32eb1b901a96ff3599774617cdcd708d842e491090a62c4af2d4b029063973e33cb1d681bce93602d0fe70521db3019959aaf3178bad398cdaeda411991d4bd8e1633ce2fcf5deee215eb36d25b4f9836fd44ce761d6e7e", 16)
t.yb, _ = new(big.Int).SetString("02971f3851309187a742190a57dbd9f37caf10d9c1068acde3a649a6c424e9a8031edb6edb299ccabd3e155464a116a1c2bb81a456c3a3aa62fe662b30d8bafc2956bbc9ee5db378ba543814a81d424eb4a4a7d9a780779e833a44352937608010334cefa0b6657d6aec97a2464f900e36b073c041ddce1293cd6dc15f16389d", 16)
t.zz, _ = new(big.Int).SetString("0d69b958a20bb222d7cbeccce7305a8365566b60b9b33a198111afcbe664b32ff92a839fa227a2e4a365eec44f48991819b623900e828d6501afc3ccf627234fe5fff8c4d50099740e7d789aa602fbdc4e1b318fa6f317cbdc14470d56c5987f2fe7b889ef326d7b82978b71357d55ceee851f904b620e7a19c3c6237ce98761", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 9 failed: %v", err)
}
}
// Test case 10
func TestNIST_10(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("0a07dda7fcbaf49aef12dce72505f1a815f8708a", 16)
t.xb, _ = new(big.Int).SetString("47f28874c755405a96a542667acee36d9c457cd4", 16)
t.ya, _ = new(big.Int).SetString("4ac6099808b264cdae0ae604399e07dfed1e8e447fb3c8b517935a0b2cb30be3995f08d10a2d2077ec140f0c4e5d84205667dd83c1cec9f8f8eebb94f6cf832c2a8bbb7f69b998ecf33fefada950f77f92802b6cc89c336616f45f72f2fb73cfc622462b6acf3d11208838d5b30eca6dedfe9bafe7eb4145c4f5ce935f6ba273", 16)
t.yb, _ = new(big.Int).SetString("0fd9fddd6e21c4697ea58c38c9558c161f30e133ed4f003cdec73bf3d1d78d4787c35ce5f40e8043b0e75f75c28c54e47aa62ef82a263a313141387ee0411b0d2e14a63ad39c8e9d8c0e7e31ec1a609d9471d7f30bff6f041e9e7d9b3c5143129f1f8ffb5d7505fb89b054e627c278cfb3cf33d225803819055fd7eb48bef23e", 16)
t.zz, _ = new(big.Int).SetString("3cfcb8b0a1417834fb1e5fd98185469c6bf775f7ffc08e63a47448d1a7efda722fa894efb0d2e72ab4741c4b5a8aaa034681cd19e4bc251bd08d6125b3c17affcb3c424958b9b6aa391c062206b27321ad0bc31b5398b8af5aaaee0b36ff94b9a68bed319d69c4dea85b3554b47029cbea341f36a3fe84c2ffa683a4bfec27c7", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 10 failed: %v", err)
}
}
// Test case 11
func TestNIST_11(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("7cb343455cde6e72c4a09e3adb350ac9e61d9f3a", 16)
t.xb, _ = new(big.Int).SetString("02d7386bc28650096f42efc036fa248d9896616d", 16)
t.ya, _ = new(big.Int).SetString("60f6270f78e9af225fd0f89a13c2eccc6714d8a36e66d7ebe863ec771c0b6c634a745bf94f1c83205c072cb15821cb6b99ac9a63b148e6ea9b7afbb21b9cb003066aab887781fc64edb1dfe8dd3bba018d98270396c88b3815d2bd9968eeaf38f840ac4e447f93fbf3ecbec22bf0eb7a69c23b4c166ed6f1e4dfe54e012c767e", 16)
t.yb, _ = new(big.Int).SetString("49065b9d145db33edee9a91cc85606d20b7bcde73bfa37a3775c14ac20e9462de7fa7d20e9356ce4a2284656fdc308e22ee7742c47f88a1a89b94cda8925eccf9fb48965561d08acd8d11247702cbbd7ea17b7c426f95ee286333f56513fed52999cd09ec12d76dd3805458b307f8ed6213d6b5fc7632ca0ef06c57cf7967649", 16)
t.zz, _ = new(big.Int).SetString("3a39a86f6633aa2a3beaa642b6d95458a6c3c6549363247441a33968962881eb2f0c731cf332920ad1c9da24e410d924761e07996ad1f4d4d1bdc43e5d2517a44571462c5a203fbed04bb83219d423cef19922194d875368155cdb371893d0d825d760621490c05ee226d29a188484d0c013981ce05962a184ce58b242de04de", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 11 failed: %v", err)
}
}
// Test case 12
func TestNIST_12(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("c9d8a29ea6858684d862276ce45994d08adf6308", 16)
t.xb, _ = new(big.Int).SetString("c744db2abaaa25d80e292268acf1c8968d73481b", 16)
t.ya, _ = new(big.Int).SetString("199aefb6dc3be2c5d499af29f0b184aeb842d026325a566c1551f963f57654b8e7886987c83fbef3240f47bfccab46a24b0317e7b15b66e024ae32a1ee78e2d8d0c86f3bb3ed02c8aeab5b8d011d6bb0d65bba9af8215697a203228f576da5918d14500af4d524a0dcb392c35460e22e294c38f1368458572413ae94dc80c6f2", 16)
t.yb, _ = new(big.Int).SetString("69f560ffcd478884fdb1fdee89ffd129585907f31f65c0666d34794887b82f52247ad53659ba0f5a589a993897e20514e8040f7d6bf332d94afe564d509979f0b8e1f23b572150b0843feea6250817452de7ea7f39f4597d01a271fb1a75126d09b860fdeb550cb99d696e72fbc3687e8e7edf8966c50cf8ef7b842f5633c1db", 16)
t.zz, _ = new(big.Int).SetString("1a844b96f864ba63f5efd8d5e68f772919eabc9d69ff02ee97a43d2a0e492c2e9bc1d251f01c957c14760a46f14e7c3743a898ebcd705428c6bf2bef8e74d7652c968b14a6c9bb1b9469a8fce240b44a4018cba3623f8c0db2b00cc60b43b325b9713a348c9bf02ce51ac57596614381855437b0cbb558dd806e42e608abb1d0", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 12 failed: %v", err)
}
}
// Test case 13
func TestNIST_13(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("b0a4a3a4b65eb0a491b0b6b90381bdc8852c054b", 16)
t.xb, _ = new(big.Int).SetString("b51d42b67c5d1827201656f2a92783cc278b2865", 16)
t.ya, _ = new(big.Int).SetString("297fac32cd37d6fc2c5aa5d1dabe226de50e02d1292afd613547210f9f0fb2df356a3027965b19d6bc07fa4fbc066d796baa829e2e1e598c976cee1d48295617627953439448b02e0483b0c4964264317d4b298f1a2059f7b48f04fcc75ad2208b210c2015536f1dbd8d56948a73f10d5da255ce564ca9b5938a70e6dec61c3b", 16)
t.yb, _ = new(big.Int).SetString("62ee5a0df060da966978edfc1eb7b4af8f5cbcbda00ccdf3fbe1c2c2c6231c0fef94dbc719c59fe0613b185b9b33dccac93c74d9ad51e9607f07e479cc2dd1f7cee824e2c74568718ebcfe85cf7394e785fc5c6c7cfca6fc2d98b733f450accd8f651a2f2a973dd0e200a3b100f90e2c6cf8b259080e0d26d89ba23c93c03d15", 16)
t.zz, _ = new(big.Int).SetString("1eb95272fb38218a66796de59a9059ef2482911828a6503e99d79f0cc7d49c9805ec38f534fa135b2251af6c5269e69199e39bf97d67729a083737819e998059de8f7a668497ac3b4495715648765c51d844031e7fa3c587f9801b1b70dd6d961fd7bc3bf0af812ab09e6c1b9bbaf6eecabdca615d359d9d5e02bf5f3d013326", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 13 failed: %v", err)
}
}
// Test case 14
func TestNIST_14(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("c385be9684572bc29c9f9331341306f8773a1fda", 16)
t.xb, _ = new(big.Int).SetString("ebf304c73a64f8c1c2cb2ceee534fdb89b3726da", 16)
t.ya, _ = new(big.Int).SetString("23ce6576ff061e9c89f71d9d442e2e4cd48b4a92fd840cb72bf08e8176a246f9aa5b0dfeddb733c1f3617b6fdb47e0c6867c989cddc316e9e247874929103c47690833dfcb3dc07a0bff424b30c3b0dfeb90ac253b3e6dca7d74cf02c6a91ec57094af3a5b3027aee048e9cabaf1369daa8f6a354dcfa0fd903be6c121f3be94", 16)
t.yb, _ = new(big.Int).SetString("566e0e661dc5874c9ea022fb5e5959735829bbbc5485a6210e375105561bbc0027059a7fc52c92dc8d082c224342f542b96e2c88496e8c26d368d460a04f18b7ae491f0eb493527ca52f8e818e94cf01f05cc2ef07023efbe9a8729c81bb55d164bc04d8c30dfa63728d2685ff5bbd27e534bcf5958dc3ddb9eb0fc3dced94af", 16)
t.zz, _ = new(big.Int).SetString("2d14f3884a86a51575f8735ea20fdc2b4fd8496bc18760c1138a86fde5d79a912b3a35db9f9c5ad20df9c8ce6b9a0c81e327bfdb26199a895601f529d04d0143b3d7ccfeb233a010a6e738ef2775dc7a4409ed5ed9f9a005f4cf8b11f876f4977bf4512eac9f292ceecc142d0bb2d7f80fc652f33b84352353995429feffb582", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 14 failed: %v", err)
}
}
// Test case 15
func TestNIST_15(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("8b79f180cbd3f282de92e8b8f2d092674ffda61f01ed961f8ef04a1b7a3709ff748c2abf6226cf0c4538e48838193da456e92ee530ef7aa703e741585e475b26cd64fa97819181cef27de2449cd385c49c9b030f89873b5b7eaf063a788f00db3cb670c73846bc4f76af062d672bde8f29806b81548411ab48b99aebfd9c2d09", 16)
t.g, _ = new(big.Int).SetString("029843c81d0ea285c41a49b1a2f8e11a56a4b39040dfbc5ec040150c16f72f874152f9c44c659d86f7717b2425b62597e9a453b13da327a31cde2cced600915252d30262d1e54f4f864ace0e484f98abdbb37ebb0ba4106af5f0935b744677fa2f7f3826dcef3a1586956105ebea805d871f34c46c25bc30fc66b2db26cb0a93", 16)
t.xa, _ = new(big.Int).SetString("2aa5aa9bf629cfad5817163fb70ac323fd3787ae", 16)
t.xb, _ = new(big.Int).SetString("a61459145e8bb1a410442d23318841b9515f9fd0", 16)
t.ya, _ = new(big.Int).SetString("39b34e9fb40ea9a954e47ab62997d19e0e3a14bd863a1d2a44d86fc4be617b3314df49221487138ed2169cfe6e4ffcd72372d168055de65015baa0861bc26be920b97ecf9bc285ade32289b33fb9fd0671c3c399d1733d4a276b08b867c73cc31e5e6158ca803120e3d9f17b855dd54dd7df36d9d9e9e49fa7359ba077e9df76", 16)
t.yb, _ = new(big.Int).SetString("20bf7e25dd7898d0535bd3399012510240d7d34f4a96e9f695163ccdf67ea3fda84bb945d4a2eb53c192acd8c07683d24cce1b122d6b36ec6a820515d60e77ea5f8cbfa5d940485e1fa70c67e405a7f0f102b360ee63fc81a4f79f97165b3fd38ba0019a70e553847ee6b10904b71895462ca4bf2395d75deeb7fe5bb7478d1b", 16)
t.zz, _ = new(big.Int).SetString("5177c898f81ae42a5aed4175edacb70767403bee9afa4b6f037afed9b676ed2b6678fb41396cf20698e414a88892433fb54c319d53e12844698e02fdd4729ae2ef573e1f7dcf3bdc55b858943ec9e96337cf12b57383b6f10d6aaa1a2983d5c16f0fc87cac8c582ad547a2da34f88be15a1f455a0ce6736e0ce159ea85c35057", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 15 failed: %v", err)
}
}
// Test case 16
func TestNIST_16(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("26bd8befbcd394c9dc56bf0a670c8c705a35ffff124279ad293bdf1b", 16)
t.xb, _ = new(big.Int).SetString("7783847857eac6c7c59047662e5bbc59b63d3db88a466178f5bd547b", 16)
t.ya, _ = new(big.Int).SetString("302b3e98892fea0b5c031a25c2ce921c64c0e56febff135dded7633a940e09d3adff646109050450b175afb6bb7a77d30e7946a9be4b1bdd027ff3649e4e38badc41f0245298bc45096ce732f263ca645860cdd2acc185ab278a877b37e3799ebca28da41f0d8ef264c89ca354c2c395b660a3a5312205bd255e8bf883bbeed75dde545900f60722d127a3ee3780a88dcc44da3d63e61a580763f41f3e013731472bc2249c25374f18ca0476321aed441d9acdb00e97ccee408330ec9e098e2726270f0863dc75e69856dee10eb633971b35107e3dc8a62aece0fcff0825c36d636a1cb29eb9aa035f1e023e692a90b4669fb4ad3c0b410c4832734d1aa07ee7", 16)
t.yb, _ = new(big.Int).SetString("6685b3eaee07ac78881b7665517ec09c8a080f06a23d648bbbee7e61aa347f597b92afa996ab672226334a264d8152b59cf131a6c509b1b4fd836330a22ad709e3221381ca3cde35f7ef94d7ce2b32039269b8b17848015ad896651df6e868375ccfc0b640ddd165d2e6af8f0ed76512608754d3cdae11ce1b793deec4cc8c09d0fb71b3026a31e68026428e482dd51e2cf41102cb78664955668d45a3045a2e703b4b70b530870ccad985cd4c469d256ba6f6a7cbb5369c3390611cb2ad3760940713c54d996db5dc65e6d03a5b2678d8ed47f96e50ff85a7af3ddc0734f7f043a1f671a4b0d8ff0124e453ab5fc27bde7c59b0e3729c6463a9be25cd1d9db1", 16)
t.zz, _ = new(big.Int).SetString("75f0b9f14c5857640017d6901676d69ca66f1868f4ccda85d0120f432226534e7f03b301e13fece6f12a9147b9e09d1ddaf32d69badb004bb417d6ff9cb8e5b45ebcc89aaa8b162173126b82322475e42815022d7ed484446029e799f93736b12e820a24a73cfc1fdee620900c57547d4a5e9a9a19aa604109cb9fd8ad7ba75d95777657a501d265115871c38e454fe729117b5ec93ef27c5e9a2257948ccc1993e947e1b13489ae4b87924dc9c4cac0c884841cc33841415ba4bd6ba7925fb37a245608786393903648f079dba9dd528dab6bb3f1217808d09e0826386d924889b27162ee879df4f938b98b8b5cf50bb32bac8db60b7e8b6b2ac869345d2ddb", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 16 failed: %v", err)
}
}
// Test case 17
func TestNIST_17(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("0ac3db6d594e53ff44fc26c312720c6065d43f7881e4fa759c1325c1", 16)
t.xb, _ = new(big.Int).SetString("1a7580b30a20b9392ca64594b002faf49fbdbb0244c6f225261aba7f", 16)
t.ya, _ = new(big.Int).SetString("1f868476ec00231e9ef2d0dec3d8fbb215a15713476281eb9c1ce80f7e180fbe790730a5f24071c3eb026b1b94214e75d8512f3fc23bdf3eee462af6b3f6c26c87760690a2e6f64778231d55bec508f39e6008d5ac6cf69caaa0816fef1b4e0681bb5eadf71511f52a7372d0a2d7b9c97b2a123d3cfeec88b056201b4e11feaaf9ce9d06ce949edbd957c381bd0f44c2e567820c55ebf23a2307065fc327f82a3b590821d50abdac01490c398c6bb65c06fb5941e79a20d4d32375f050ddada7230ca5a3bf859ebf9e8c31d0e3a1cfe0bb24894b5b5b9b072e40080572626ceb841a6819367757e14378e260c19453909a1ac8037aee2ba20b00c89cc18c5441", 16)
t.yb, _ = new(big.Int).SetString("01aeade8c0b530785ea6746a2f510cdbd49b258595d39dd371625e755547702cd40b330b39b9ee3a80ff44557109f44d82914f5b8f3abbc8a072e6c1ab2b1c87b84d328555f19a68728e88000bbe0d7e8b26e2e3db44ae6d7231bf05d398cfd54e2339699f53b1f06f12569f84af0a42a7afe0c991596ba6b89e3d161c44fb0ccef5e88310267ae0a1e29cbd42eef549d854d83698f57ac021efd221d1dc33283276a4fb6ab1207e40c3582859108b12b8e0d130f4147e67cc9d8371d24199bb815837be63fe0242e4120a2a94079e53e5e693baef852b7dc72cf8115434199c57c59f19b5b8256edc4ac0a84525e8d8859e6871324c23374c0c679e9b8f16e3", 16)
t.zz, _ = new(big.Int).SetString("3d9cfe783e397b8317c78025a14636f9ac8ed9c7db992edfecaf94c227b39ba3ca5afbb70fff27287f8b965b592bd92e175b449c700681effe25daaeaf915ba2d28a64e20aee5ea0aa0f2c8ce00058ffb8c2766f33bba897acd349b52f48012a7d8559ca937014bb7500447f0b0d031f0d6a74fee0748860ddfa73ac7190e34fd5536133da19144c48160a001fc1994907af8a7dbae0e2bbc3cd309f822c8b0582b9c22c8c01186e5a2156722182772e391acfde3cba0906dbf1a4a6ebb42d4e2fddedf5dd0a8a89a24367965eb5dde80ccab69fa5546f6ec5c2526028e91d86f3eeaa6bd6c20311ee8370c2102384a2fcc47aff011f7b128e9e39df8df485bf", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 17 failed: %v", err)
}
}
// Test case 18
func TestNIST_18(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("83ed397339a861a65725cbda0aff1b73e7e00c015becf413be624c6a", 16)
t.xb, _ = new(big.Int).SetString("604a2c91ccae3c2fa50ccddc4fd630d25751aa9477563265ef5264ba", 16)
t.ya, _ = new(big.Int).SetString("7e3f032fe3cecd1243c9ec4583880db7847066b6755e067bb8ce6d89b39d428d8257dcb9569acc01a1c199ce9fdf1f8a94fea3ebc00793c741a72539557028bccda6a475a8269baed3365c4c3e2c06a410450a4434dee2649073c8533463cfe4deb6ceeb008f437bcd7ebcc55e232d147f6eda7639f046554a25ac99f2b7d7f731f6205c320302e35363e167ba6a8a69b7d68f7c30dbdee7fb7bf5e831b58f26e73ed8769d30042962656e27190f4b25fc389628e5e720c4d4889ffecf0cf5aad1159d530a7be6a99c5771530a9f7623f4b232f298dd48b63bc9eba7c1c3162369c426c8e6b4eee715eb8ad960764b205f9803f46fb6a61c293ebc4b12d723ab", 16)
t.yb, _ = new(big.Int).SetString("060705398304c7deb2802f85b295187a3c5b055a169c4ba4598beafb376f902e758730f6c404f9de668b3e87a608a49d30c17b39bc06ed911b9b3b5d9ad39b60e5c53ce89f09d1b5628d4d8a1fc19d073160ab5255196470bd0f574972ab848377d4270d73c908c8750aeb1f4564b6c4a1df21ac2efbadea19249159d419869a1a477ba3450921658e75b64037785747240219df7bba71868735e384329de26de2cbd30486c1170e0e990db413cdbe601cb3b77590b99353d6719349e56d626e41487e09cda060534c7c48bc4761df657c87d5e18c30930fd50cac322ce1b0637d9b5791f989eed276f2aaa4a9fee1566a922450a6a9afb4d2dd725daf1aac3a", 16)
t.zz, _ = new(big.Int).SetString("56f8da4d183aa144cfed4f6916b5de7038c7f942d18cd57d2318f949326d9157a6f77e8a6bc713c014f3370364ba758fd21e4cffe947d9b8d374cb1076879a36a64411d97235c37136c9fef55e286db8afbf7689acc7db86c36f259b6c37fee3cc60b69d0eef707ee6b7c2be63406287b904999a8a69f85ca03e595306c9eb777d33973a935c7465aae690af30a577df38dcd7378702f1b70a562f7c4711b8f546a0a422c781652f4c1e4e23ca5c8ed7231dc85cfbffe014578992033663e2dc956d4297adde5bcd3693582acb8b7f027649505be5622b7f72ee8bd037a15268f704ae3198fb0cf97b03eb9e543f3770e9e4247aa237357165ead5eace459485", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 18 failed: %v", err)
}
}
// Test case 19
func TestNIST_19(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("84a4afd8ee74c84f752052b0b26f088a712db788374877faef4d1c18", 16)
t.xb, _ = new(big.Int).SetString("6c8bc89d765ec406e620a79605793ece3f46848f98ebf29f11f7db67", 16)
t.ya, _ = new(big.Int).SetString("794d852ec6162a10e4303ad3354f8d9340c57ef8827701bc835e280f5200fbc23f9cd1ce6cd783c7965b8b2126965398818a7dedb32e49d914ab0fca54b7519ccfe1e25690e8c92a7c839d7c08f22d3e48ac5b4c0cc597017f757ea97e2def458bb145cb7cd637094eea7ce181f3be4de2e61c1e34b5224524ecd298d3f58ea6fb2044b75be80327ee9506b21170a09b947e0b15d4b9e647cd8d3a56dabc061b85fcc5da9e954a39c7e4f78634b279e571f98e4e123ce34fdb0ec3db3526a8534ba652f853bdb2e115b06ce4e4154e28159ef96901bbb6a77c79c5311df78405a2cbaf8930628dcb811be5fcade6a7796bffb6e188184eb9450273cf6d511989", 16)
t.yb, _ = new(big.Int).SetString("0387ed1064bec038e4e2768ee38abc0f7051b558918d24a4ae1b98470d82899842ecc0bd8c3bd9b84722ff6b00164a258ba646a2e8961b48829015aa32de634040bd7584b033cf974c214e56916395fa534ca66b107b09298da44c9800eed973c79e2775358cdb392249bd18a7e6beed256124eae624e0bd6bcb994fdc7553d7743237aebfb410d68361dc965089edcc9a4c12648f9fa3831d44e181864ed32113187a5074efdbccac556798459b2f1ca2126d37f0202abbcf77431be2b68f78c963654060ea940415526b0bca475f21b3b1bc560543b78f24bccd4fbc273bc5d1574f3b459d18b58a32f98bc7dcc8deb9e5cebd3cae57334c5c16197a173343", 16)
t.zz, _ = new(big.Int).SetString("3f074ade22c9dcf48189cee2dce582ab58394ef27e631279ff2042e28f46cc0e871c743dcea9bda01a3ba49a5fdf5612c3584fcb74066899245a827f5eb63db23f1d429638bf01524e96c3ee8f8f3df0211fbcdc2b3bb39f55f706a2daf9f1dbd45af40c4e8463604176d8666ee840e7796972bd1123e0a18036cbe9a8843446f40da3d9867ad99d23e05aed8897bb84abd94ddb40c6672770cce2d7a01e03ccb05641581a7a6ca73cebf6bda82bc938fb7afee8a62c5749ef53c549526800691291bb8466b59cc53e6d7a2ff0853f982085f76a0f88d1878e69a4cfd5981a7fc149bee6993cea8a850fdb9e1678026f9e83c4b53e6a881fd6ae722c8d87c912", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 19 failed: %v", err)
}
}
// Test case 20
func TestNIST_20(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("0a3cbedac0efb078642c80cfccddfb8dfad6dc9d9857d21c04fd09fa", 16)
t.xb, _ = new(big.Int).SetString("585d6be1dd1d3e75d15eda32f6e521175573523c1a463f4393a79345", 16)
t.ya, _ = new(big.Int).SetString("6885a64fba6b7f8abc7dff4d21f9f372d8532346180ddaf61015ff6db7c4d86cd72d19e63d0e6c4f3351466e5f062a1ddb4de5ba18bb79e31483d39cb2640d6112896824501fb4de25b7549ea79a5f4c48d8e9c4e1ad613ec268740c5e66657d3dd2ae8ef4ed8f411f1726caa183cc8bbdd31d2423619f7d70fd7e215e1d3d2baf829db1b3315b805dcc730c9eebd17ba8d3dda295ec27301e056512ff0cec16ddade40e70e3b80062b9fee9df0a4695e910688a101280ff2c030c08da0b89b2f7aaec9716cb34df55886f9eed7770466f9f3aaf0926e2476b540e8e410b992bc29a4a7a3eefbd0714aabe11a1460eb69373a358ef4056c5b0d806c7ec58ca97", 16)
t.yb, _ = new(big.Int).SetString("ae87d0219f44a36ea257dc6226c3cb52944ba7d1217bbc6b2dbf3b17a5fd43a66c5ca5a6c37a8947e29d39a4c0b8bdfd0da0b59d4d6ab4baf55bade16eda37d43514693027394fb12532997df432f8aa5ac9bfb9139d3a8477027dcda9aca9b6ff0eb9d979e78595f4c7fbfdfbf2985f17bb2b5eef224f8cf72706fa6eb2c7cb2709a73551af2a8e7a2d783c80e079047d2712c6e7d7d28e433e985ce621da8297690b7b1456fd0e6560bddd93e6a79e198148e723d4c7c18d630f35700a9a243c2bcae6b53dc0b1a1ddcbd926c0888eb1f9ac99602ebc4aec5cce5c099b61dc5d9ce42a4b9fb10a130f8b0feb16f4e1419d744d59b1349d7edf3a202065b9d1", 16)
t.zz, _ = new(big.Int).SetString("7989dd8c05fbd2a9f75ace355f080d311c0bc3cf35872a6f2c03237969ce3ae5a5ac9c0dbf654a810d465d742383bd8f6e0b8c487a9b141096876cb0c5dd711cad8afb6622c07623c698a9b5c63f532fb1fc2998d6f6290012208608b3751a8136086a53221b90a6b4d787dc3d5cece272d0dd0b372f09a6ab8e47f3717279bb9368895e945647ece0a98cacdea28f53f1fa5dcbbda7835f58ef3aa77e0a42403ec5ffd3366ec8db3f86e5a401ac34e295df5513af0fda798ef36b9dc9c049e2a1894a074f1c7e4b1408a30e883fd4f3cf4249e1db06e2127e9aa5ca95e11783ab5b81c48f30ccecab911df236de3fbce0a117231bd0b9faa2da6b42adac44de", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 20 failed: %v", err)
}
}
// Test case 21
func TestNIST_21(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("51cb7c4673afb73841697eca0e8f1c623fa8f95c9a0173a97054e68f", 16)
t.xb, _ = new(big.Int).SetString("07e09ce410083c519dc7e3b269be6df3cd6008cb9d365bb3e5a572c8", 16)
t.ya, _ = new(big.Int).SetString("6ce3f645bcee7d27a63f1072f6d06dd61bdd10bb4b3d46650759e000ed47dac2580cd9a358e92bc7fde36889e1fc5f54f621679387e2318397fd109e90789a8347c8c5a8643028503141edccf5cef936c22a84a41a957b2c987906b2d30364f38004127a2fef03515a9c4acc806b189caa8bb31f9c947e2d4ea83f6c6e82925998adb286f5944a56ce60ebac9cd8c474c167924d7f134d501a47b14dba6e10d89d22c5d76728d19599f62c701694afd1d187a843b275813741020e1ad2f82d60c908a748b77fb6b1dab8835fe49c028b615b5158dc7b21ed0f76cd9571037638de5c6738b955fdd649bfd9bc44b5257b7f7148fffae20d07823e317c3dc34dfa", 16)
t.yb, _ = new(big.Int).SetString("8acf6d764092448a8240f04ead0c91cb41031900521ef2b7431338e270dd4d678d336cf38b49bffa0180540f9e996ec0ba5d7414ef3f45208c1efe3d983214dbf15b4b26c4b795cff9674d58ae905e42c7fb4c6f0352cfa1daa3dc15e7fd3561f8f30c2a12c1245802d433466440d49583d986442070315af3dccac7100338367857a2f6585d209a65286a3e0507630fed70738f2af3af6dcfe3c54fbb72ab1b88553cc20e2de8ab5d5e26b940d52bfa7be085c7c6fd5ac880adc690279c84de190fc102b6cf61c805082bd56b6dd4d33ddd832616b1d9dfee222b7f8c36426fc907a9e64fc1b1069d4fe7cda8bb32198bc915ba61951eb9259f5d33352a7d56", 16)
t.zz, _ = new(big.Int).SetString("4817212a153a622b402068dad21e4247699da96ec630d129d5f903a0ff4614e5411219f8491e92a6ad1f2589c0d655d85d3f82bd7ba3c514d2b9d96775f33a54fde080062d6fb4aba5fc8656a1704e0efbc36c8bd725cce6bfd2ad1b4b2038ad5c34a13493cc867b9d3880f682fae5d23d5d8b93bc1498011ce9bc147af67b07ec905de27c54539f7f678638838f55c59ec4434c8e2e80e5d4f908d28cc1ffd02ab6dd358713a19f276d2c637cec5c13c1e07c9d2e988e5ac9665fdd93d67b0162f2d2003af5e1d2d77dc20cf8f01f982e62db1583d1e67b480d0083ce39b9e456b46c6b7c5114e141e114d5ab383b7c95287d5c47d47fa8030a5a924c8a47c8", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 21 failed: %v", err)
}
}
// Test case 22
func TestNIST_22(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("742d4ac57e0488f78f3afc5a93be1933204dbdadcefd7d3b495967ee", 16)
t.xb, _ = new(big.Int).SetString("5ee9e08a5d70dc2dc5018c490f5dd92243a0421d3a23066abbd4aa56", 16)
t.ya, _ = new(big.Int).SetString("5a27bc00b61d615a61b5d40d145d83050a9e67bd178b342b6e1ac5b6d3c426b448af1e31332b73d4fdf9437e202137dd51eee47990412dbbb5617b433c6a1027b252a73311064d9f3823cea5ce41f713119a5e23353808fb53864344d2221b444a184da50b54a36b59bc099d6391bf2eebc16a7b2b72897bc7d20d4deb9e55c40f5e766532159a27c9c1cb758a2e6db37d286eda34a8585ad4c5220675df4246f7c987a780984d6172925a257c74c42cc143d690c1d1766c5a67b7a7de675a0d9b19bf17fb754cc0693b1678310a68f4ac6fb19aebfc8132c2a449379a57e2e9ca28fbde3d7411bd86bebc4bdc3b865fc8f1451be8eb89d4c501b8b3cf59da37", 16)
t.yb, _ = new(big.Int).SetString("0c4f83fad2ba1c63a7c3051729db89e3b16325507fd9e54b80aee49fa6318dcd5c520a1fd22b105ce1752d171e338044abab3bb5203d2692a4b4f28a7b4ca472984e1c670271389bcef7e0e510f301d5adeabae6f113cbe728f6543539e9f774429929273ca46a21dc96e0d14a446e4d67ac339c5bbab2f6c080ef83b5fa84e666da7de46382a4b4ce5ff52f053e058a670e259b53e56f6f30377faf97e34adce0df16946b5100226ab6ecc36f311894f3e38429732713a59ecb2547360be3d02eb5b639ed3d0ab2a707b040d5b40b6bbcba144a7d19bcdf69f083d8ff34dc75c26f49fa2233087ef58ae404a833d23b0938a9c3bc2b465e0ee4b5ad83a16605", 16)
t.zz, _ = new(big.Int).SetString("89ed454cacdcb2b9b0ef566a431680e83dcf48425b31d6e8e4ef9dee27771bd362a1bd8ed5dc47bda20159439ef6fc040265b7fa831d6005472593f558ebe941c692614bd70d38a5d670c309c878a5d1e4ed4a051b3ed5a8fe110802a12ed02d6158e4f81745ed47182c1a92ea59a26b47e23fd5d4f573c1a1c4520778af0a6a827ceca46971840f9e73762172640e21b0b66f895ce9c3220a92e58a3c9947a6d8aaa81b95f722d56587addae5d70d65ae17ce8db19e6ada34c1ffbf25c203924df82bb20e8619ab076d00cb9c569449a9c6f43573e78eb7ab785e35ec67af63b8ff3a35e12fd63d23b720d4035d86d3fa72b54663706385f4b5414a573992ed", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 22 failed: %v", err)
}
}
// Test case 23
func TestNIST_23(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("51a96bf3fe8e2c03219dde5eea3ad391ca1e37c9b8e2d088eb9b5514", 16)
t.xb, _ = new(big.Int).SetString("042d5e45f67f17d49024d67fc29a0a383c2f4e6767d1e589793c8bc7", 16)
t.ya, _ = new(big.Int).SetString("4e42bf84e49b3b74ff0c09eff9edbd6184fe27e3cf86f25ee98d78a5fa54d09aaae5b589bdadd4a8f65c49bb0b83c2ae4a90079abd06beabec701f1ae9452e166db52d80745ac14ddb7e7f9ca3e0dfe1ffc3827bf688a68c91fb30fdab502588ab763691a445a9ff8c64662cc7c5cda1f703fe3fd9a0bbd3f20542c1958e3a27c2a0cd8812179e57dc2c4e38931b0a1d534625242bc981fac817e4b37edf31c3577d46afbaab4e58e45a3e382be02e452b49f186a9f12659875d535ecb539d95adccf7174754dadf2bbf6301b7659ed3f61a4e78e5a40c7658a55610b75ecff51acdca1ce5f36bbc9d71d7b45a4a69e577d6edba254619489b32e7ca0e7f0a4b", 16)
t.yb, _ = new(big.Int).SetString("95118a163cfcfd7cb62b8ce9500bcc677999b0a602dcb7246a9e108796d368fd1759705eac59afaabf69bf54dc738c28371ffd57f5d891d00c8faeea35da638321e58aac823279e4bbbcf60c386acd93422f360ddc87ecbf3bfe98bea3dc4a6b013f608a9263799c2a569b2f3f1900a6a84be3d58133065913ce06351910e7c5873a1b85c738a044a7bc0cd01d9a5f7000a516ffc895565099a3e657b887dc77b174dc6c7ffdfb9f9d5ee82d9d63f4a25d10bf6394f54bec8d86ffb875e97492f0c78bfe543909c4e8a08bec2de545a9a4088800203c5cf478d34fe656051447518c933fe8291ee335c564c34abfe919f339282390dda7a989a8df548fba4697", 16)
t.zz, _ = new(big.Int).SetString("08348e1e2d77853481f4e41062d0d974599cbdd25a7fa8c9acc15cfeb7b731b95879c99755beb035fc5975ec31b3b845e74277d14ecfb11a9f50852fbffee6b149ba92746b05abfca0b46d14e0717499e6bfabff28ca74996f98ff6dd710e80765dd671652f6b28a7231730bab9e7d89089cf42254bf7c18f3c82dcec1f51f627611b551cb969a2aa184b51c5c41c2f438ecd918564d5eec7225eb024bf43ea96d587a74f5208670d5e5dc9d4a258b2781611d28e33c317d3156af6ef970379418cc20949bbb3c72801e3ccffb38399241fe1eab109c6b7a4e1332123a18671fbc21ecd43fc0a030c520536939b4312bf726d81c78664e0fe2cfdeb97ebe0a6e", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 23 failed: %v", err)
}
}
// Test case 24
func TestNIST_24(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("3de362b0e13d699c91afa7f8c9e573e840e0c90f64244eb6395a39b1", 16)
t.xb, _ = new(big.Int).SetString("148e71177298ffcd061014a1ef05f4cb0c0bcd0db00812ce96a9e2d9", 16)
t.ya, _ = new(big.Int).SetString("4c2f41ffe428079237610bc6fcff4caf044e2f0090fd63e148f8f1d816b303da55a33ee59c8253ea98105c8bf95ad8f88be10520e3b36d8c1290d47d834cc35e10dda26e25934eff2642a24f48e0623b348413dae5e5be98ed4b817c5b8402c313fee2c101b6a4dd37d9ca551737c038cbce3fddfbae824ae6d6d2a247f18fc4d0c4a3136382cec2894d11c0f22c168edc43a6b8981a90ee246c2ac959f051ad17417e9aeae850b75e2c3d1e7aa0570571b7e019801bae0e366474d181d71190c7f42643c68b4e666a9dbfa2b20b2c32ec5108471468695387de62b159dbd2c21440b402851994a1f257caad36c9682fe9483cb547374b83c8f1e0ff71b59ed1", 16)
t.yb, _ = new(big.Int).SetString("4a069bd6d777752cf5c75b3b5537b8f93f8621e948093b3e5442b564af417e175e195fec35cdb57296a3a01314d4b4c1d085d0480a06a9d1f70b1a6053bfe94d450c410a5178227cc4415459c12fe3c5119f7b2d44777d1197762fd93469ef828000f55cddeb311124604c84251ef1324ca867b926d70308a0ab31f3ad1d47355c6d2047ad5e5ec20be27dae45e17c4f6fc3e0d37f7c32a9d4e69190a20d350a8346939ee1c7e24ae583bd66db38dd5e9951b98d13c311d45d88c03cd4d0257bfbc0f7412fbbc49222eae68cdef6d02618577a2a3378e13bc623b350ebf54bcd301f202e8c411c3e83ebcc5b1ea65cbb805b861c681878306a7666c329a825e6", 16)
t.zz, _ = new(big.Int).SetString("3df4dca1cb78bd062f88fcbb129e2cdd4733031bbd11f92e394c49ddf2a5228e1c41ffabe914a15db66b2c6e8c11b11190e098d6248490dc64ea8903bcdfaad640111298e91b547970f275c3b9aa05f7438dbb17070838c2b1c9153c475e68cc3ce8cfb1cd6616a00c6a84f9059f5bf14b0bd9d7bbb2ac2daab0a1870a38156adf62ed3bf139b8fedeef507c3386b0243a466fa65b0beca9d05c4eae0d0b8ff5d7b996930470d0042b4552136e92410e1165039dbe2be10d879ecb22d5d8aeeac17817a12c74d9960dba12aa69301c1a67fa9522e4e1be05ee6bc9fb29f4f8c49ccaee440e6e4879552597c5a8aa919d4b6498a10f4a8b32b5095be7ef89903d", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 24 failed: %v", err)
}
}
// Test case 25
func TestNIST_25(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("1b3785213a9c3adfdddd6095b42a0dc5931a2b57991a994ff339c3c7", 16)
t.xb, _ = new(big.Int).SetString("2ac17e42f32995ae88894a8624be80790a3f9a56be3a74e89e897eb3", 16)
t.ya, _ = new(big.Int).SetString("2ea9ef96bdf9e19f0b5d451c2e7f5d93634f460e55442f01ea2ee0fc6b92e5f010104a0477a6aac701b0698c603c91cdaf13c92a747b5f96a5029a97bf601e99485a2685edced34f72cef24e82be75c3c57da5058b0896bcfef1358049e0cc4bd92e557ed665bbd31b216a940559ea0962e0518d70fc7bf4b737eb8a4e5239790b35d611498e1fdf2d158b29dfd88d0fee8c7aebb4df1252cb41152a12a53bf40dd46397dc8899dab78aee88bf8b867b63b46e03cf868ee6e25b316fc85afd6996a126adffb73e284c4291f5593e790cafd37d1743d0744bf83c6f8d0122fc43fa834d88328a58d1258a91de55c6629ee36095d52d237564d135b26c13fe0cba", 16)
t.yb, _ = new(big.Int).SetString("01ef0596ebc38809ba7e952a9c319671f4307273285f86707e97431b2a0afb30130025095438b5a324eddad9796be6bca2399fcc69aa28b62eb7a0c3b8975fb888c8b0a9ee7f0483a079baa1fad49aebca0002f12e5bcb9092e9cb71386d63ee28d3ae333efec9531fb6fe2c8b0e749e6823dd9c5c5f443017d21b63428b18ca486a42f0660e192151824d2458902fdcf02804b461ac587d793e06dcf1fe5fe5d177d84b7d50eca9489f597a5ae1786af474c3a4f43a2dcd7f6d1e78cca373de79332dbd664097781dbaf2dd13239d8f272b99b671ca28ba5e7958bd1ceeeebdbd21afd19ea96c7e03b5f76f12a9aa2ba0c66dc013d100a528396486fdfc48a5", 16)
t.zz, _ = new(big.Int).SetString("6e77b6aff450baf2deb906e08d2585474b7cef818844bbd6fb717d5dc1d4d178e3921587d5b061fe3bc8d006ff181e9f5f5da1313326135ce28b2300ac0eb3023caa7d033e56b80c83c8f56fe939606d1d949b53f1dc8294a5676cc866e00691564ea3ff8511fd895114b860da1d1cae9fcaf1ff19676665e17ccd42f53c6e411f50f583d5a45145122c59cc725f0fa531bde24578107ed19fd80dbaddb84241e45635327508bc678d2f310faadc5af5a3bc4086188a6a41f97dfd204de4defc88856d19620da18b88736623f5def24b4f3c0158637741a9796de20003dafcebcb0154615ac6070d398733ac232ac7eb8eb81d2e05c08474943586bc799b26d5", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 25 failed: %v", err)
}
}
// Test case 26
func TestNIST_26(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("345858e3f7fa5880bfb8e43bfc1ea4c5454bef363bad23d3c5355462", 16)
t.xb, _ = new(big.Int).SetString("8cefb73b43f7d5dcdc3e6929465ab1e07d22ed457eb07883d846cad1", 16)
t.ya, _ = new(big.Int).SetString("3629474d7881ce522ba76c5e9235652e30ed4bdf9bcb81ef2308812490389ba78257496acb950d1810a45b00ef39f1e8a1a7accc23cdec1915def93086dc9f4e49ba874ab2cec0f17ca39ef8be0559fd2521aa4ffea8b9c53d5cb15b0361a5c79bc4f00c3b38008f2986400bb264ffeb8b3bd0fffaf8c66776ce92112d8bb1d8dd41fe9b4ee9d02c60ff35462a63f847fef1e67dfd047b2a5c6a7ad2e6c6258c00524905e651576077ff30b4e8960d0b087646c49284d3aef738e06a53c49fec98ec0e1f9ab91eff805a6b159fc3f52aa3b001669a17e097ae25506bbe006aa72d185210427f8928ba52af0d1b2e5dbc9ba7c2b0ab729df28128d13ed9639df3", 16)
t.yb, _ = new(big.Int).SetString("64f84209196b79e5d9f947c8b5c8dbff9cee910adf32eb905732ebd02396ad3274ecbd94455c6764a5778654b8572f03bbd8a2538ae3b87389572b6cb18228f8cc099a27681d6e8c6bcbca6ff52a46dd5c3605652c9a201fb5b3ae142986fb8f29a6c3a9dcc47b69ed9519748045d051dccb168b642a6b8f46c372d72564d34e232ff00d223f667d7dddffc336c318d706b68beac4712354e194efff22acbba1c69378c888dc3b442c187b7cc214e729aec40b068bc75d5f72a51f9ecdc788f5a92e2b77808ac45e87d3800e13a2f3dd25ba6adeff5d0da3d107c218b541a2292881ddad40eb524ee0ccb0d0cfc429211e7210948144ed3a383d3d501d6ca5af", 16)
t.zz, _ = new(big.Int).SetString("05b5bcf95276b5a1d566c3a37483310e07cb16d30ced3e92f5ef301089d51e56cdd1eb173d8f42ce7ce0c6c5b67fc5a68ed9f579247c1dd05319b539bbafd7bfbd7eae2506ac18a2cf1c5a0a8d9f8dbea02dad033f5481324c4b91836c5c755bd913b0884bb2dded2ee559f9231f570205470419c68f9b0ba3248ae6b3f300c715adbce12f29a19de0a1c3bef8437ecc5c17b5391deb653104b60d12a732866a7063ae0f63b0f9c1c81c4480875b866da9e242cc028b337ccb034cd02057d0e2e7e39d6986381287c5c03f3633bcf4bbd55540fe76920139c07119054632b622866858c675d712c23786f8b052b64ecd4afde7b70a040c54a0fd624c08494851", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 26 failed: %v", err)
}
}
// Test case 27
func TestNIST_27(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("320c31508e9c9513fdfbcb39da00ed76201fbda59b8d46fdb5f9ab86", 16)
t.xb, _ = new(big.Int).SetString("08ccd3b753d9aee66ea5c3cff235212eb824a817f5e48aa7b5e11df5", 16)
t.ya, _ = new(big.Int).SetString("1eeef87b5b696be57d9fcab95d33be1c6817cc098175f6a5cd3af4463f8fbe33ce112ccbf3aef82a86cc66394a7618d6c3c8c949f7dd11b6c4a91306a0f12644b032ca030ff484bb9ae6b7e29474134664eed192cf75fb32e4ede6d5b0d418f296121c80a67a4f89807919126c97463d76b8f150dcdafafa3b93f774d1a58fdb575f05f1302049e3bab66a633b85d53248eba7eb7ceef477ca46036dcd53885a19e27458caead5d53242856dd30a2694668dad7ab7ef1c9bece659f01874cd981a22eaa54edbe9a51c2501a3e08d04f8da6a7458b90763e79601668589affc2bee8b16185a66f137bb6a62c80fb4ecb9666f85679e26ffecaa2f8ab6c54210e1", 16)
t.yb, _ = new(big.Int).SetString("508d5b9267c433e065f0a5435461979d93ad8b2aa66bf857384fc43ed7a28b66637003b1662c7c1301a52aad0d5a1bb401cf4f8057fc2f99bc9bd36fdee25fc9c6d6b6b56957c8f37cfa26375dd36e68e8fa3b7f3c6c938310ac506e97b2bae82bd2228a0893c6469fa7684e491a41dbcad19083d110997e284ebbd7389f242d079bbe7dc6d45d0a202e9d148e0c4e45fe1dcfc6b3e4200c684eff8da228e12e3de14700b9972385d31e44d1362d41a78b7ee6027bb82ed46fb8522a3a9c7ae89c84c27f491332abc84e9e063dce027516e82eae0fd1555e442e0116c46156738f8386349a61bdada55da2bcc7788e21ab9d2ca2e548dd4a3fcb8701e867e1a0", 16)
t.zz, _ = new(big.Int).SetString("0a8f9a6bbd0f607e860c6125a5bd5a844b6001373c196427b5239392341311fd47dfe5a5db2f8865e11582d492d910a1f543d4a3f387c0cb273246706128b8c8220261ccb7a60072c4823abe43f85e7d6c85fc7dbc36d3d2b440aea5effdfdf7ab5f1048058b1f94a025d8bcfe88df9d7b65f304245a7fb195f961edfa5c40e9366804a05401c0b3eda8e0973fd38dacbe4e1159f4a5f0e6faaa462a87eb65a961efd72196145813638dde09feeef73840f8c1c5d4d9c5dc7e5197046397acb446ac6e6087030fa40235be928b8c4a6c9aa241f96038dc695acfc6f8509feda07e8ea166b3a373eb15f139c5e105c74efce09d3802e5bf01f22f39b0b012c288", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 27 failed: %v", err)
}
}
// Test case 28
func TestNIST_28(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("27c806006ab333b0b8151ed8c1527ce04c9df26ba056beb2af0fded6", 16)
t.xb, _ = new(big.Int).SetString("02e133884c772692d0cbc383b9363dd4b6bead9c683303e884701c54", 16)
t.ya, _ = new(big.Int).SetString("9c9e7ce98bd23fd1e521ffd700f621b9e004c8ad3c7b33dcfc7f1b6febe71e6ce0164bdae79c04e5c2c17c76df63ef449b8f87bd64948d4f3393dd8c549fdf2631bc24ab2cac9b4b3d0e1dd7bc4486597cf073a161f39e212a3bbc6c06180f5f2f80ccd269e50ad68ceb12fd11d192a928fdb387bc6777f8075e04061c48b8baf9758ae6440629520cdde75fe75f0b820f45cfaa0520229240a997cfb9df5fd4768e661168e18a765b65a19d8660d6586775470b80e9c198b5af2cbb13f8ccab0d7d1697efce6554362daeef953733ea80a3f8becbd8fb745102e4765fb27d8bf1ef5686eb9f01f1b57f8910e8b5d26a7b026455f8ebf79eaa187ea4cf10fb38", 16)
t.yb, _ = new(big.Int).SetString("28126a65b3f298c96eccbf4ffcff430c52d15fd798917593cd8ab5f73f1a64448767a7b09e795b672db082c88403c4eddf0184cf706b8eedfc2715ca745e0af90717bd9ebd4d8d029469a8b39750d1950d835f98490dbe6186abc01229eb0dd2bf380d4333c6a57c720aa95bf6b2190a09623c16d7cc9e48e1cd75c25b23d16eb872f27785aee281f58a070c1f41a26906a03f5f68366eaf00f9f6ed674f10a863779656d5acb94a8464725685cba9ff7cf9427fc739cf65a7b0d5825bcbe7b9a1287e004cf0eaf193550dff4c4fc9b55e245fa70c73ec6cbc0b76fdbac0668b224c76ebc554e979f05c84891b52d15ac607fe1042675748408aa1df676867a1", 16)
t.zz, _ = new(big.Int).SetString("0b863b37f9fa42b81161441bf1a17f20881c439acd3e6bdc977f9c37085ae61af3e810693cfa44019852c861596ad98b1e20384a788237c9ab182b6416d48105ad80a1c646e1cda644f91775f03de21eaaa3d6252cf3a2891268f486c7bcc3f4fb1549a5a676b7961d0514ccb24a37639b7d50e9c4d119b3911f3ab9fae3c2dc15d08cb635851fb6ac66267670356e35dda07763c1b1027495d5c943577328fc6dfa48ff325ecdb8d341cb5a3a5d3988f062114cb59cff33ede057363e4fb82d4a89243b95b8b6eb860b48970461dc57f4dd09f073fc2c4da0f073a4b135b1533951b57cd299118e044554703e74ad4fe0371f47363413b0f52855a6c8dba9f9", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 28 failed: %v", err)
}
}
// Test case 29
func TestNIST_29(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("05dbcea1f11435e8ae6be231229604b5e556bddcf3c554e7cfb50c21", 16)
t.xb, _ = new(big.Int).SetString("11f6879cb941e04660992d67c5f1f0185c781b3ea4e0de1d27577427", 16)
t.ya, _ = new(big.Int).SetString("6365de98809b03b605b4101c94b5f437670a6e52e7a4cfd5fb9670e1f2c02b17313d6380b277d8133b4381dd89926303f4eadc012d82f3c3953a83174300bb1e767b1e7dcf40b20a26d5efbc213c3608c590420ff5532b1768702aeea5bd03b2210fafa51c3c03ffc4cce51bf8dc0b966218e19eb3b523d00bc7f361fc9d50d2595e0bf6c43464262d00dd2fb64039ff18334859fd952379c6989ba35259426bd153ea3e8bd750b05b0390bcd1dc7d48c1520e23957e525415a0293b51abe7c336fcf20908f9cf98d25c6fb5f09d1aac062dc48354e00efd327f97bf57c1a52a5bf823aeb798d14b7a3c7ec41a579eb727eff7a9cb85e1588d67d3e149e4d573", 16)
t.yb, _ = new(big.Int).SetString("7f2b2a3273008862b7680ebc2bb6f23388fc5615bee875d53f515e210f0115b4a57c445bebb9cb9ee77493e89bfe041b9e63d1e7bc046ccd0d41ac5f81240bbe88482cc81e12f76e75ca58c089b5a35245eceb70a1d693660584e85e5a8274e43f7342c4ea9bd31831830a44331ddd9c61ba9263bf3cdf8e37707c1d0d9399b3c1e11efa27f6f11f42f89c15369695d039d813acb3b845a9a7b36d6a64a74da67696883de793222dbc26c3252bd82e625a12ef1d083f90e327fcf9218f3b8b32743b447019c2b2ef007d41a8792b5de64749def0719960747d21b5d7a5a27fbac86936deb571251150992dcfce0829b5339daf86ab428f595518910e65451482", 16)
t.zz, _ = new(big.Int).SetString("0eecbe26d8d716d2f93e4d8b90a823609a119d31488ad63b50ea97a66a796e3854ca1fdcdc774098bc272e0727ccd3c8e5228d073c4250c95105a512c396b7f49b27f3efce51415c70040df45f388fe5bb5901f1f42fdc412df198e2ea556ccb10eec08d0694cbedfc4522fb2d55e7d918d3a43ec8a8df5ee0fb69b2fdc608ba4df916b1c5bd0d715926590871a0fc3a74a099db1d3c048319e22d0b0ea11d142514c79bf56356e82d60e2cd0204c29663b8cb9b8a9a6293d8c6e49b8cdc4181fbebb219184408c4fd79d4a67e1a4e97e4fa6c64d46a54789f32af9fff5d990fa9f21bed793362a28256c7b9e845ebdcfa4195531179e80ed2522a0ef0d0c53d", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 29 failed: %v", err)
}
}
// Test case 30
func TestNIST_30(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("aff598226339998a33e803ac4e12835a93cca70e599c63dbab1164efe80d0d43882af0c99eb590cfdfdb66dee9eec634aa03fab2637ca34c71f72419b77372c62ba26817c5fef16d4d41a868dfdc1276e9d1ed137af924b184f5f56e8d2db404ab53c2990055fde6ca28492d7853c32834ceb1c38f57bdfd72dc8121bfe00142bf3d41143f92e729859d3ff647bdb72721c550c9ede7d99ffdeca7d07eab73ea1dc76469c2593685ee64013bb5c2d010ff722e5e66bfff5ef5ccf30b4957844496e969cec4b25e5322442c3aed71f3476f93b06cea1a06d0551bdb72a32e0931e80e5bfb81f9cc3a18c400e66d6a2490ea62e25c5e18a4bc554a4132222087f9", 16)
t.g, _ = new(big.Int).SetString("73b1b0588114810ff2441eb690fc1ba26b39ecbd75b37ff904e422b4c9ea2fdfd7d4b84ab6e5410208fd3b0e07ec56cc342ee4e23efa6ba6651181840988df6c5427e94e7ff98605e3bc20ce5dca0c1c86267e03b08a334308aba0668a01c36b7f8cc712c0b80e76b621d8b2b403c3ca4978e13857f6940564d031464dcecf9153ea4fefc504137dc270d3e4d168282ca12ddc91f21300a7680c7c11c18a9075958cb0d54a42d9d4c22da5aae8ded90d452166de0694d5c0c04385abfc1923b1660023072db11aa2f5ece7d95b6a5d207a218e67f37e3f6e188f16088c3018b0da0a71a6bb2c40bfd660094317f820927903faa137dac399575896226d6899ae", 16)
t.xa, _ = new(big.Int).SetString("8eeb442f2b9adddc86a88bf02ebe1282bceb8e56f09609b865605552", 16)
t.xb, _ = new(big.Int).SetString("7589e385e1e3e510cb463b402e2ed77d265a6d3ec6eb487b3d20aa1c", 16)
t.ya, _ = new(big.Int).SetString("2313b014e5964e2f4a66012da6207aa93be00c3abfd7511782054eabd15d1915ca959d95d546783dd0acaad5af1c497fff17636b18dfa48dbc642c048ea7bb7271b18694c69d2812dcfb337062f1256346a65a0a3ee90eaf69de9eec5f0a701f64b99d7b88dbd740bd43cb0356544accab3b2483b419fcd3f87053a46e78419ddd4580995fc694d6a7cdbf13e449e5540e7c5fe13aba09fb71ff8ae63602fc0490f9db07b09c5f68376bbe458fe4bb72362e5f19cc5e4d97c8ba3941822855a2988b61799fd248f7971e1d347e0c65533140142d917321e116c11739c40c5be1d4021b6e10b0ff929b974bfff1b3e8de3361eafdf00a5566598e8955334a5591", 16)
t.yb, _ = new(big.Int).SetString("a0b6081c4fba16da199e597cd79d6ec2d88a2186720c22baf468f55051f5fd27493252cce971c2e35a3835b93cdd8f612c0b1e0996a25bef731349fdea90a674450f36a7e0fc90b054c8e026326ac93070d9383afff07bb8434bc91c5537b92cd4d3924c1d3169851d3a01ede15446ec3d2478ecf3c6c4bae1c67208777e0f91552d4ff82dae17019d3bca0977ae33723f8fcfae324faf5136e39a0e92e52ebc13e5e32462fb11d1f7bc778af5dfb08afd90ff730609536f32ac7055ce575c410fb4d6325d7e1880fbf60f35251490c11b4aefff55d6bd01fea8f848882cf8aa80e8231608e40f0ff7f311b3884f2c50667454c19628e2184ef21338e5f0ba3c", 16)
t.zz, _ = new(big.Int).SetString("2e1b851bf92a37ab924a1a4e6a7a7387c84ab8861ad9fcd223aaab35fcaad9c4378e2428a133b3423322734c6f993aa8bc90954b3297f2cf0bdcc16a12abe0b5443f5e1a4a50d1ab80281ef76cd476658361888911602ff81b514f4955de2f2aa2437bce36426ac2548579875fda03ef4cfd8d0c4bb5639c5dd2d00b620eb5ba2d3c6e8185f01b522fe87d8f63c41e75c31e60786af6a810d54e99bb71549f1c4cb60717bca2d63f3568d0f594e428241eccc74b4e0de334c548474955d0c1a4fb1df815bdcc8f700b484c367a409f0466cc132309ad60e49f6984027901b8d058dc4bf2fc9b66d6ca37e2c6f6e0f134c4213c392a0b616699a121b36caa6318", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 30 failed: %v", err)
}
}
//
// // Test case 31 This should go through. Wierd.
// func TestNIST_31(tt *testing.T) {
// var t *dhTestCase
// var err error
// t = new(dhTestCase)
// t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
// t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
// t.xa, _ = new(big.Int).SetString("13ece63f2d8be06a445a453b74759ecb08839161dbac3ed749c97210", 16)
// t.xb, _ = new(big.Int).SetString("871b7aa23bcc548a7cea2f20b78fe024a307f4be77084c83f197687f", 16)
// t.ya, _ = new(big.Int).SetString("95ddc96978c7820b2db2852cd5e3957908db666eaf0be25a28a9c158c9f5a664a80a5b699fd15008e5c284f2a1f9ec941c6e09670a2fe14feaec32a7090530dd147ef522438c0f2b3cbafc03ed8942d67295cbbeedb685b6e3a7dcb9cffea2b06e70cca1d0e27342a4e7dab16a5308f82865c8472bbed93f113e8a00c66d2a09bef502a8ee897aa4397925eb6949203f723f09dd20d820b639f5a00f5f2287aa67b892f2d5d612132db3c40280f6bdfa81a1e5f4b274b082b7dfdd6aced30efc00c007159512993d584603dccb0d0a98706f60e4c4b6932e864fd3c5fc66c1e9591a3cf07b2d715be44cb745e0686b1214ef9c27c467771be2c054171c359a4a", 16)
// t.yb, _ = new(big.Int).SetString("a64231df8e5a5b962e8e19b59af359db31f554f5004eb0746f10762b88bbef034dd23aa6c7a0cedab3f4a40b3d8f694b63a79e2d2989487a10b63bb92f3626b24419ff20c929c1dfaecce030553f7ddfe9364d934208510b52d03c589fd9785d200e313efce80bd55d00b28cdc2115bc8f3059735b5febc2e0ed3aea482d630959a5927fc14df1d253524708243710f24c86ad85b8028fe768c8c46e2caf24fc30060b44c68a5fb8a18b562533607d26ec46ded5c2bda948ae1d08e6329ad1ee1ea89c13f9a77e490be70779d803b97ddbc4a618c80f4fd1c56a5ffe893c86d9c9fc14294d53b87adc26b1a0b5532f9030092073cc531e354deb73fe7dc77a8d", 16)
// t.zz, _ = new(big.Int).SetString("37da104201897063e2a4630c1c3d15c37e0a28132e18a8f7dba7a55fcd61f425642b3482dc5e7affe035ce3c876fe5208822e442b72c73e89ca1ab03b108b497442a03d9d629569d4ec6453a100d49287ad36a9a1e54781a16e5e9bb3f9e1498eea212a7958b23fbca424af401fa43e1df6acd7cff0c2ebdabd1871c1d4fec4068302f627f32facc14640468b32f67d7d837fee2d1267fff43c5baae671e325b4192757a65d5567e49afdbf9f05d5e5726577fc92b82dd9432592dc5eb59ba83779a41474cf6a50c0454582986107eeb9a6ac83dfaedb120627e551226fb1bb40262a3d7ba835fa370f60565dc5d8158ef3a810079c14b84554b587fec3d3218", 16)
// err = t.test()
// if err != nil {
// tt.Errorf("Test Case 31 failed: %v", err)
// }
// }
// Test case 32
func TestNIST_32(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("4237b8b8f3cc64ac54fd81769181cab901eca5a57253a85f6dc03d649f349c29", 16)
t.xb, _ = new(big.Int).SetString("7d8a91061f3a838bf59509458da27a7a9c0aa1a0eff2cac2591a05f9cd205e4d", 16)
t.ya, _ = new(big.Int).SetString("16c186a7b657f45571ccdc176599dd08149ec8d15dd8384672db29414dd9301066899a5b7ca316d5a73b08da332625de72e90a6f35e751a8d1198d84f210ba5ac03d5019c0b9c251faabcbd42f0dd00896c81efe25e898fe8f9cf1f3eea182149d6ee193a48db154f9e39a59b2f815e02316248927c43030fcf9d3ef60ad6effdbb199baa2eef7651ae9fd4cd93bfd3d5b35f92ed990db269d6a2b1dc1f2648b19ca0d6c6c001c534c851e46bb0dd849f4219c644f4baed6ff8dcb046038170680833ae4d9a5a1467789d50ac518797e7fe4f9f98d320d1a862ba89a131ed8d5c7cd557831401ed071ad043a89995cb6aa2ab23bab3ff13d2ca2ecb95e686953", 16)
t.yb, _ = new(big.Int).SetString("193a386af0b578a0e2626481acfa048020ffbe8b19dad4b95f2e1fc4000513751d0a9990e67e49a94e1b4bb671d9dc36466df3d38b56ae3a11a6c0bd967609d3532bbef22bc3e32295f1394b9e0311fa4168d6d5c0a11a861ba6f19bf662c175362afcdb5340605107fa86c502f2423e60922d931c8071e1c640596a048663d87285114e4a7526ccb32d1365a67532e140d957c21f47b70584fefd5cd13f76c5836d5116f5e4609b32dcb0e383850c4fbe09969f185bb510a6ca12c60f0b50376daee55a5498329ac84d2cd57f8929080f6e1b50178c8b6bca7916aae252762d0c3cf16f9b43d98d175a56457c6dcee935b21a41d1034b576c2516adc014832f", 16)
t.zz, _ = new(big.Int).SetString("6d4fc333fa800cc66cdc721e4ac7b9ad3f43ce6ad340686c091526aa172388c684e8febc43503154b8ec3c7ed9d16e9c17f540a8adcb15fe680023c9821da6935734b01b70294e59055fba27f8eedd84e8e990ccf004735f502f185f738a64318c39b544714b4352e7f2d4d00bb13b6a1dbba43606bac47280f96072dc1a38859cf170b48fed1003fe8bfcb83c7070e7430c1586049692071e1bcd48dbbae8eee999979b2a195d72c950b4f8536e1cbf92a62d9de7dfeef1563018f17ad57467be070c82d247eefd1e940774646c09ec65d2c735c60b95ca36300d8654c73b184b86f761edfd0d62ee6b1d7d12f1dbcd197bbf7dc42f16b0e5f69969f92dc429", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 32 failed: %v", err)
}
}
// Test case 33
func TestNIST_33(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("1ce21ebc531b709d275a89bf52deec204817757e425a1069c5e59141d7f352c4", 16)
t.xb, _ = new(big.Int).SetString("3513b5ffa8e700e96eb47b60b454793d6acff9ab23991f036df7c62fe695987d", 16)
t.ya, _ = new(big.Int).SetString("1d84420b2a28bf95902590c269fadd3ccf033cbe1798003391c88d7731a2298dd606b2f114568b165745514818404869442d79a21bb25ce7a2da01c77fbb89b1f953df3cfb2d618de4f7d3c64781a2b925edf2c2e5d7d3821d5b85ce9ab65b714eef320f9420c8caa9e0e129617b4d481006d2fd5a481f1e93b4ef34f01c5e9f5fefc0b908dadcebeb208258dec08effe9fbc3c7062e7e8ff1b0e54acd5b39d80c77249ea226a26f3d4f4a07c25e50c88eda3470ea9cf356cfe173778e9636cc5cc098fea72e4473a8b9b8391c194d79bbaceffedac34073f8a2ef37c26f6825b2e8b79e10293322f64f6a7861575cca3ebca92e8c69ea47dfad304a582555f3", 16)
t.yb, _ = new(big.Int).SetString("72e60d89ec21facc952fcdee5e6cebec69a87bb33984e4e2bbf5c435cb4efe56f5756f1422b9c10c1830b12e8c7c5fd788c7cfe13f6c39d30cf58f6b5f83cbea690c42e0abfa0cd1f407b892fd3802c50dcbeb89329aeb845bf57fecc8eafa99759d3a2590604f2f30e903be7b91bbdba2f8526a715c6893fcde613eaf79ec3e2688b6ad41ba2fceccf7a97c55c82cd2bb7386abc285d8879cd519b1a4d760ba1e461302584605a780d4d7efed8fd9356e90df11c51607014e2b55b247cdc02becac2548d1493732a88cf3cddfc471601c358dbf3df81aea459fd2dea59c1f045f361dda7860db68576d10ce7c580ce98a290093153694c3e2526cecd03beb81", 16)
t.zz, _ = new(big.Int).SetString("85f30040688446d9eaee8fc85201806ccc845e6e67f6869bb1ea339e7730e5b96bb01f960e98d1b4ac9387c3fcb9c38ce878e23d20a99910af96a208e0017d49d81f61cfe88ba13372c2fd404bbe462fce4c61ac7150ff6e56164aacf161f7dae2cdaa609d563051a51bc50ce50a633caaa6d4a901e31c1b6a2eded464daf8f8132ea2eee719cdb443ed6208d19d3796304b3600ed97ad3847db4515880e6c69ba24c2dc099628de38b0c669e5b0882f7a4207094628ab2d554a0cc74c755fff72dd8cf85ac9e90e94b2360df1661e6a5366a5719179049e9f1f3fbe5430b41633eedce7e116e0a4c2ac63cca75bb9cb48fe46e7ff27a7c06b31c5ce6d655d26", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 33 failed: %v", err)
}
}
// Test case 34
func TestNIST_34(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("37d894d9aa0ec039055a72966091a99a7a75462b846d3dde39c6eea9e6df15d7", 16)
t.xb, _ = new(big.Int).SetString("0ea30ae23a5c06b58edd76d6381c2218dd4116c8b6663c98d15e7c41b7b709b7", 16)
t.ya, _ = new(big.Int).SetString("60a7f144f12b042639f48c9fba81ae8180078ecd34ef0de8db6bc37234a14cb42a0a1a7d8b3635ef62c913c1f1c3fb5413b6538e95d540e1fc74a5f4ef39cf3a271cd092f354d98de2a6808d71a09f165e2662de106060c053cdffab81b63f222bfdb587f5e91a794fe290f12bccc246b774ac6cdba638199c83d4cb2ab3035df8153622e8e5639eeb84938fa132755719b855406fdbb9a4e590934df860d8d44e9ee77d16d3117b63ca9257e35dfc6db0ece0c0b7c7e47f09e7b685d54ae4bbecd0ee70ed1a9ea21dd84e5955b13b34c3e0d9be00775740568ad882bcdebd8efd8bccbcd9f2bb9f58e209b90743cd2f0e35eefbdb6d665349d61c5dfa261570", 16)
t.yb, _ = new(big.Int).SetString("23ca6fc3c7e8d159b7f1f9b6c27c12cfcddd88ff045dbd93160a80ee74cf1c6c1a1d8875bdd7f2de480e0c9987ddbfd6f54f194592782ab38984dbd42edf6b058fce21a6f5965533a8aa2f66344126d7193294d53c804e922cecb719fbe53fcbf72934ec090e67233b0266bce68685ef69246eff07ccbe2283b306a01dfad1347476e37c766d7a718a16e8aa3165b4c362eed24a86da8e3fa3dfa476a161479134cceae16efe5e404376b4f9438bf814ba25db14959de8535937531f4caf67bb042189880f45424c32ae899141044e8bd4666ffa7e79815d63cc02e0ec7b9f8acf63929e1d099207320cbc1e32784dc92e12c29295b50a6e5c282439dc4b4db5", 16)
t.zz, _ = new(big.Int).SetString("7ab934bd29586691edabc7f42f1c52447d2d29284b00b7a8d87b10e8dfea00168e8db1ba6df8c384a88352e5806aa30aa33ed7afb8f9d0adf1333b865eed2e826a5908a444b6a060a08d6cafff5473b1c4fba658116d2b68f375b55a9043fb35f8dfb0f1619234fa63d200bdb98f32ef9d1015d6b8ecfab2d944c53c4f5ea3c703aa252ea467a695bb09a932791bc9594b401ada701898f76c462b9479e5dd28aae1cc7bd176437c4b43d1886064a901b525ac0b16b4749425dd56d64ae6475082517b08a5f9f2ee84823bc341b39a92fcd4d121ad28d9c50c8cbb643dba5ad46127985d73492c264b8bc3f8cb33e143e375b08e75be22e678b729cea5e814c3", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 34 failed: %v", err)
}
}
// Test case 35
func TestNIST_35(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("5c589d99642a63342004470f3f4b7cb011a73f073dfaa2348adea5cfcc699f12", 16)
t.xb, _ = new(big.Int).SetString("5d5194efbab898f02c4549712a8864e79b5e4df702c595933b0ce2b53f450be1", 16)
t.ya, _ = new(big.Int).SetString("0e7b2bc0201ec8220d401afa9a6a78eb02b4f8d1d4091cc89376761adf78e21fb1e6522a1697a44ee5a3ab7051692baeacb591e63b84224f7df41438cf4c68dfa3ffdcfa49e309fc1a95f5e481e67e74789966178fba02f1723a68053409fa3b39e3275dc0cd1aa0c586e83f4fc49035efc13965f85dacdc128996142921ab698a4c71c1e0dc83b5589d860071a42deac82dcf5e7f1919bd4116a34e5b5653745a758901ab39cbc337c8e85244c232e70f6ff4d0a79b5fdaba7545717fa3b66c9b1da00ae45114d5fad1bd9a1bfcf8df0bc922dd84a3944db9b9d2cc0402049c509628f7a9e6d4957e47969c2e2f8c29f3b4a9983ccb5e94bad6389ad791db90", 16)
t.yb, _ = new(big.Int).SetString("6443c2b90aeccb7bef9e7caa71726574b4ca8624712bb8bc05c773ea218b82d6b5eee14a172694fefb70e7b3fc5c5eb6b222d28d649098b276264ead2393fe4fa06249f050fd919d33ac7917f2bd551cb8b03c116c225ad070822a55523e67936f32bacdefce189cc7f9950e6061ab924545faef66d7fe1e06fcc680d6fe8a08dc9502ceb5dce05317bbf607fee7720f1a1ddc7af9048509e03d1926d518d7b589f05a61ad0def904cc077c8955f73609a3d979ef493651bdcf97ba33e8a7e073b23c8fdfb6438ef76f1e072e8211b5c746896a3b02e40bcb39716f8820092a2f12828bc41568a462677b4fcbe8462cae3723adb6416861e561d090c40c6c162", 16)
t.zz, _ = new(big.Int).SetString("0d00cd0b9350c8f169193e107ae251e782a77b4cf28537a563fc4f8cdf3cf5bc6270b78652492510c9d41d285cff3b159a02c4ffcb09080a8c65a1c56375fd838fd6d672ea1ad760dc7e8620c62f7077b64c9cd131e6e3e4d8a538745a85d449bc846a4a101463803da5de528063020e155031147fca01a3171bbe9851ff2dd569f87945cfada1ea48cc7463de22105b4692b61474116284bfbb0ac5c94868862875f52679ac29d0cb3f33866194952541f6bcea3bfbaf63dc5a23e93f1400f13f66255802b8555786abe8942e32ac1ea26874e6ac14e11cc0be81f06eab7305cda1aeb3c3f5d5be9d2340e76f27cdb29d73879725a4553fc7636315df7c32b4", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 35 failed: %v", err)
}
}
// Test case 36
func TestNIST_36(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("2d1b8b82df5a063698ebafe37b469e086f08d7f98b0277b207280a5617dc3d23", 16)
t.xb, _ = new(big.Int).SetString("27e092f7dff78c6b21f3df638c2b57b44a6fc8cee0472908845d0a654ccf7d8a", 16)
t.ya, _ = new(big.Int).SetString("1c067a031e5f8295d816a2f1a9f646cc0ad3639f7acd4ce65534b02153f66faad168c8f37ae94e5cab58b8095014ede0240e14999389d609f961617d45a05d16586ca809f38c6c2bf049e39230fba00d0d227fc94cdeb684a8246392e288dbe8937913f864ee7834ba4aeca9bc13b6435851c6ecb78db57ba44dff7a5e9e56cd1ada4fbde7cc8a6ed334eb3cb882d70ecaa8f22501b014424d4e32f8e82adcd0d35cd847be038e8618e6efb4831fdc11307cfc204c4fea3b221f81490c9c96ca5cc04badb793656dff7f742ea2138ce92f94d1e42616a1fb1179f2695324f5ff03f43908aae38e6d1d037f5ebd4a8f14ff84378574942d878e91bbc0e4b59ec6", 16)
t.yb, _ = new(big.Int).SetString("77c43c2ce30938e33b292d2891a5ca13ac54128272ef7ab218d94d1ae4333988bd95daf73b054735cf8dfc831d3f37a432659dd3cfbbd1f08b7c824771423fe528d0eadce1c2efd37d4b996a5e44df8ccad63665a7bf567b1e8108dbebadb9aaf225b730ffd1e3fb430c8abf57cbe2da7c3c93ea1e124837b2df91e5aef1ca25b87335cf20d5aea1028e1de9e9bd91e24da915fb4c7207a29ffa0ce885c303c5bb0ebb85a07e4343577a40f061a369b00b0c331b5102bef7b9134a87e1e3957d897c622f06f25342e0b749ad3f84b208cca887010260323e9e7d418f644053c025c3a614c5db851f7707042a52c6300964f58eb896388dc34013dabcd32988ed", 16)
t.zz, _ = new(big.Int).SetString("539fb4531b209c03becad86dd7a7a71ca72d06766c44e9b0df98892724a7270a543e04f261aa6c1dbf4709427dcb56d5c339c318acc6423b19bfd98e7b50e00fcfd14b40f431b67e1dad131f5a2d7fba851bc05fb4413ff41faec13e4238dadecdac462301b4542d39c8dba9d65efa97af9a2f09b18fdd22c3e154ffa1571683fd60a327150739ecc18d7f1584328dd65c2c8f8f988b3b377811cee3a84dc989bad5e606e2655d6441aa05d398f5efaada55df0ff8cd16dfbc16a7b6ac1e4f9da5e51ef78e3784b6193613aa42423629418b006f4b95fb0345d41bdeccdf1fefac7ea997e740f2fcfe2349e928cc72f88112a0f9f55b901bd9aba96174b5b99f", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 36 failed: %v", err)
}
}
// Test case 37
func TestNIST_37(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("86fad276c9442c0a97e3fc46d91c1e9d9a67bb45556fcef95f015c18726e1a7b", 16)
t.xb, _ = new(big.Int).SetString("3c0cae29ddf76d05d5c928fedea7580c944695804487cacb7071395095961173", 16)
t.ya, _ = new(big.Int).SetString("3bba3171f11842b0709282842e10b8de7d5f9e38f9c28176e6d0365c214cd9209865bfed1a4af19a2daeaf09bda34ba189bd2395950b2094e2e5debfb7274a2ba770bcfe77cbdd685dc85df4204e08d5ee5eb4a7bb78f7ec91784e95f0cb9b639fd052a7ee7e5e557e1fa8d70145d9287fb7b34a47163003ae3ac628aa9e8215504020387302ca30438ad3f6465cedda25a64b8c8acfa3d234426c7239d43fe59572c8dfddd9ef2d8310b65e98f4b26a5278d5196e0a6dd55ce79c13444e0d2be93012cb293ff72bb8da709fd72d43fbbe97ab09998501734ba3bb293f2038222eb7ab01f451a1059c032c92e9d91719be18a0a1db023999d6a00377fa12b3a2", 16)
t.yb, _ = new(big.Int).SetString("35fc23d1d7e1e6e7addd056f668987f711c4eab2d2b0031e4db1161e5b26243597bb8de84553c8bbf87f344158070f4ab9ff80a563229b54a040e6997567f3262ca7e66e876230017c4e740fdb68455bbfa7327c31ca85e44d0e295aed3e569e87c0daf6ca6b5bb4b381dacf3a896ec544dc48f636abb55d182a3b7fe9ce514721d5a33ffc0e11ee93c91d9fd397de2121a65f4b7fb581a20d19dfba413419ff3a7d5860eb46bccd7e4583894d1e28310b53da005d49bdc130a2ff750ec07d2a0cf10c171f8233ac0c15c4e3b6226fe9e71745afc3df24fd788295d3eef059ddefa090c28068d10c3951b5c7a59a60a2093f43b01c3b41885236c1089c666629", 16)
t.zz, _ = new(big.Int).SetString("852a9c82434279ef44025ee1dec9406a3abb1ccc1ec994fcdc9c6fb7bc49b654af45e305b5e4a01028a948b6a2f8b29db4b1bbd2d6d8afc4fa2761148239f2c68c641d4df9a288bb1e7c848266363de3268522ff4078b20c93987627a31ee307b47ddde009aba8a4c2bb185dcdaec32367777c9d91db012887eca31a5aad04f41d9c27c588e0aa6a3167956fbdfe4e533b3dc20a736526f4d91fbe31ffdd7747c1b865ece0dd7ed62f34ca465618ed11c730a61d535792f2596fbc30da96ce80c2b5cd068d311748c794953b9e117c701b35feaf849fd906f0f85399d8e74d0caa60f384b126916b4afafa36e00b1993ce4ffbd6778acd147aa49602ce775a72", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 37 failed: %v", err)
}
}
// Test case 38
func TestNIST_38(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("88b59b342bcd8c982dc9f756d169b9ab317f21d1d43425d384ca4394ac79369c", 16)
t.xb, _ = new(big.Int).SetString("28f867c38b19fbb9e4e9ee5814be35efb84562092cca47b93d356c56d4523963", 16)
t.ya, _ = new(big.Int).SetString("23918a21a7b3b87a3d8837aab796aa0c1e8cc9475a13ab411b1399e6b61ade0ce00e6090d34054d1798e5b9393eddf4493366c3cc9a5d2e7202c6b25a9bbe033ef1fba4b3bba77134dda272f7966ca703b9244c7ccc8a2a313d7bfef2df8049bab6a0de243a2fb19d12bf936af1043e2fa53e9057ddd4e26f5a9c72684fadd46c5f35a7d29d3010cc0b63cb602951a7a6aef4730a6261be35554bf0cb7c13e621816c50bc8e4a15de1880629d7731446bb28f953f3f0ae2f43e0ab9688c22652f00a4980efcdd0380009ad4e5fdf980de4092906ffa19f5b82b5dd31dbbb6d3ead8131c9c24fa9f6284003578f028797a782d266044ab60ceb22181d8ee6be3f", 16)
t.yb, _ = new(big.Int).SetString("6f0bf332fd44149202687039e9f6addf723a64c5d8ac2679994ed9580476c4621163800b87821879a7ea3b754a54fa6aab19d28d360f7ac3a3b785c3d2ba1920acce8c25892eaad93211acde7e0e85a795492e014728d7a5d8c3637e07ef39cf8c0139dbbd86b167392f6807438f14b9165d577755c169cf07d4190d30462c9f4a12a7f485574e44ad3dd76dcfa50de2128dc356c9fb8a4e67052c807ceb76f1548f9be915270346252d48389ee11ebf1ecc8beb581e10cc830fbd6159224a210715ca6e617273ca03c85c8e83b1dfe60821d1d41cb9b8a10edf562f2f3cb705ddf32a3efae3c6681584cd4c761d001502eb14daebf17178ff685e1e1810c4a8", 16)
t.zz, _ = new(big.Int).SetString("41742dd0a120716e226b5a721e9fcc9bf6edde54fb9a22de3ad4fb6fa300fceb54c2fb4a0000e4e80ebcfa6936f4be9166097fbbcfd2358ca158515cf4654bad2e291642530bae64a7902c2dc3ce8b7644be1071bcc6c98ba2019a48da2a03f94364b56b667733725cfd487c99de81346448ba32524dd50863f0fa0f8ef52221fbed5ef621863b4fb7be29332288144957a70ce52911c8b809d02e9fafb09935d858274957d8929d8ef702d2b8c1d05464b7a530dd6aa2bc5d564ddeecb8ee93ef1b028a13a94e08df1c3ad95897fcc38210e61f19c84d560547f5453d4b2c836731953b38975acefd02bd24d3857f788360983a45b0950a15b7949289582023", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 38 failed: %v", err)
}
}
// Test case 39
func TestNIST_39(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("92ea76bb33c3790c96aaea986a14819905d1fbaaf18a04886ac05140857c7dc1", 16)
t.xb, _ = new(big.Int).SetString("370bb8b9ddde6092ce02f08b16593bfa1c87a544f746c9fee2837afaff580912", 16)
t.ya, _ = new(big.Int).SetString("2cefc4bf8ef8d62872ca25d13fb609848c8cfb4695e074ea901d6cebd62511aeb0d805f1031183aa0d5559d9c714566c353731fb69271dfdcec174e0ccf26cd9763f03be4bc3cd073fe88be3f7a310c22104e10614f24272b1a6cb23834f7a5a66a1bab5d6112187850884c6bd6b2fab2904664071b728a1fbbe10bcc3abb1461263ae00d73dc870f05e67777f25bb6a12d902c0e46d75f080d4b86d6c60ee58bb5f6a3619b881c280ae0669e8b0971074141c05481a9f0053c913676e8e67be4c77586277ee22e01ff0ddd8c30eeacd507a5d0a6c03164107fbe92284aaf4ae6d7171190373997d75de322663d28a66197fefd105ea768db48c7705094a772a", 16)
t.yb, _ = new(big.Int).SetString("26f924b5345f4da14461659dd54ba7b4e4b13be10bf9f4a0f822fc01f5b48a17d371680523f5f00924c4029624f90c2c6d4a3634be23d6456afb25a5582fdfb5bc3c79e753a3cf6924cb1bd020a92e02516ce1b088e2b7eb97b6eb6b3759fab324cde2252debfd6346b15bbc5968e1c7b55141ca3f5408f7613ecfb0085d73884793243344f3ef48193fb8db465d80164606cc677197f0814084b21e7836f577839c47802bff14e903479a040011ead9b1a60ba170d02c28763d4cd302398dddaefb123caf0e77b834f4bbc1052f4aa8732bfe4ca346de62e655e681dd0ad1630b190211e37932f5ecc8ceece7a32380f4683377b34e53c72147b48b067f7728", 16)
t.zz, _ = new(big.Int).SetString("0b120de13f75a7470e5aeaf655fb3db8df06d3aae8d39d999e755647b2ec60264179888577c13dfe7f8f2039b60f0fefce0cc6446ec1892370fa3b81baa52d349618c2b34392c486319152ebd1475574bacd7df4b37211f671022989e5b605901b01b5a3e1b9f27831ee264aaae9f0187aa2ec5ab0098fa063bb789c6e864f4a0242dd4e9be2cf2e8c4cfd18c48e6bbc6ddb0f074432b90fbe284af6912404dcf250fd0a8ebb5da3f594c08256c6de66af49d4bb8d6259b8f6e8f84f6a820ae8fee280b12a0317bec50ae354e9b99432749fc9a16232ba425c3167aabab64f8aa2b8dd120ddfef89d3a08097e1eda37e6f5bc8e2f0e4f7cb956f0682ba517177", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 39 failed: %v", err)
}
}
// Test case 40
func TestNIST_40(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("49a6569f11bbd3fac52cdd4664e6f6340fc6cbb3aae4467b452feb15bec06ca5", 16)
t.xb, _ = new(big.Int).SetString("3518cca63e63d9a473bc5e773ecd975b8073482ce2954eae436a0ca82e29b80f", 16)
t.ya, _ = new(big.Int).SetString("813bb29754bc251b47f59bdeb740caee57505ee39ba4f796c835c43c1a57693cbb39b0b76145de36e41146ec233bc7ca3e495367e9e5956089d181774f90c8d694e21737679e1ebb421cca7b04b3f9d18c8d668b2a2d5db73330292d07c88886675d4cc68456468d18a4d94d9b4fb3e9ec7605e7111386b672dc114c65e3e3c3e703d3cc3f0879d0f5d014c200ba842e4a058dfa7b5f2d0f2b85b74526e56d2a5c9f857c47562c4ee34885d38dd68eb562f9980d2973e152f76bacaab29c9bd217932a2856e3d56c90805c9f203c6ac22ba9aa0501977802df9dcb380b973ca854064998e55388f4eb171648c264ad3d7804a007deffa48dd468f719bc4f7d3f", 16)
t.yb, _ = new(big.Int).SetString("51c403045112a1a4ad8d442b5b91bdb252c92589455958cc47516ed9de022b17fa7865eccb7d068d197f61d71535b0ce084f01d361092a3e53c307c5248343efb204a51ec1609cbdb012c340da0235f6652bf350f45670675f15ca6694850aac2c6de94da46a2bf2660b02ccc89452404201aded41380f2a6e4271b655a55526edea07498defd95cd41d01637961d9ae554848dc383a0884d1576105e99c6e551a0cd5179ec3758772ddb2251623d8ce3317cfd1a36bcb0205cc3f8eb38675ceeac61179130b40b8b016087cbe083325ea24ffcdc2a5de642e9bb8b9a9616ff747f5ab2a06ca30217daa26d6ba0cd548f71fca004c0dc1a66e430de754a0e1b8", 16)
t.zz, _ = new(big.Int).SetString("5c544d3945cfece79c70d7982ea8d3c664fd809b0c330e8749926057cc6d65ec22328e866be11f6abd3c02b70b44c8d4350aab6924e568ee8982919c0daa8d70fd1fc01f982e83968bdeaa230b05ea53ef55053641d7793df54b5cd8a1f19580a11778eae17674ef7a7fc07425e83b94b6b5af2f334af10d5b89f1cd464a9285fde569bece307ce8f040a5f15e557ba08f11af635912fe197bf9520e86ea74f7d80e0547b590d3e653304ffaec4d617a1288001fae6254e80330044bc5e9eea6e30876aed56f7b950f93f88b2388c83cc5d42d0285aa1736879f0c08d0fd02c0354ef5337a49b6b2749d085db9aa488fd25b12138791adccec84b12c44fa25c4", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 40 failed: %v", err)
}
}
// Test case 41
func TestNIST_41(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("1d359dcb6bf6c3a5fae86bf753a5c19d0610803f0c82641dea23d0e7b1898a2b", 16)
t.xb, _ = new(big.Int).SetString("658fd36c5030c51747fcc32cf34daa03e10adc1a7287dc5da0c9096f006bb181", 16)
t.ya, _ = new(big.Int).SetString("68d52f34045c565e0cb86be74d5e40e1b0b53a4876254a6b8e942eef98c18888f230cf24e7d013c5cec2d9c4de83c5a38f05e867723a2e6d40992d5edc31489a95ee285b20a098050243df07224694e619894205d3c80c5145f2ff79728695d897fd88213137c7bbd1e4dce0d9c05ad2348d3b378994066366df679f5cd03e7be5aafb6c6fafd7d51a48396a6e837e22e23799e1302ce8f3dc412ec7b3c57c2c25a04b97ca2a00b29edb9f3a4a325205bdcc1aa15163ef719b245bfc3b0d60b5e13054a1ed00b394ff76a2f9e79191fc1695224295319c5f56c454f48ebbc5f42c16779b9c4d4d1e147422f86df734fb8041b8dc99f0b4f062b63a0f24a2b302", 16)
t.yb, _ = new(big.Int).SetString("988beca5ac541c31f9798101a55ac7ea59680f9d4b9906bd2d48521b1c44faa884a5f50ce749cd19417501aacf14c46c58bdc0219930a544dad99999de4559cf4dd3abfa493f2ded1d0c088395abfbe00fb5283acae2bbbc19d1f37807643e849de26c7bd7eb0a4fd422b09811d77aa19da7c37c63618ab881b2182ec16cf74b7a5d404d1d798aab3138f9aab8cc2eed7f41cea9fca18b9419685f7a20d9d2c63ad00211c170ce49e7c9b807fb473de44c9f665956e356574d1c84ccc1fe79ff39a74fd5830abb695c1ee53f27c0cfdd8c71421f963c0b2959f398854cab7ca4c5c7857634bf943964f77566190b14a7afd86710ed1475a63d95f7200ecca92f", 16)
t.zz, _ = new(big.Int).SetString("5b5a73cf7f5c6626eaa23d56c73c7e482cc0cd6463dafc229ce7cdd23aced66ee28bf0c661ba1e82b5edc890a05576e9f363f4d1cfd905bfa701fa9eaa322cb74fc99cd3cb7c719a86d0ee420c2cb2a37ec65b35bd7e58043cd257224b0acdadf9ce1d71ad3d49090d33fcab823fc66e9e074e36a8ad39a0fad4973ad5f1c7e1fec22ccc250e6f31b027ac35b39023db709a31db136083ba1ef0b920a08727a3c8b2e368c8a6e516987ba38f33be481e775b8258dc0c6a7fc06cc7d14f3346c5f7bdf3f1680f9e7c9d4018b8418a499c994ff51a51e16a88f65fc5e297f1d7ee86f4b75072d68ca41b05dbdb79e254bfa612377d4e2b605b8a101d352e1461e2", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 41 failed: %v", err)
}
}
// Test case 42
func TestNIST_42(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("8bce861908fd63364b244ab24c6a695922cf8cbee5fd09d0473b1dcdf6ec8902", 16)
t.xb, _ = new(big.Int).SetString("4a334d40a9e6b5bbffba995cdc31e23a595faabc835785f5f91d1135b163f56a", 16)
t.ya, _ = new(big.Int).SetString("5cc73dc0f1b554486d83de1c36e2ceafb580647962de0e68fee8c11df6d3f2594133f15536f703e11f03135015dd5a195ff7bda9b549c4a2a8876e66b1e669ed2decbfe02047ccff8c29b3d0b8cc99e18b3f26685828ae0abedca363520695c40055a36a313c113fbc29bca8d711578cd59cc236fbd24f11d54611a38ebb72fa644173c27ef7d5cd5686180f9455499bc71fc81fa6211d27e3f4958ef7ac842a45e6ba02741ea8b7e3e761017413ea4b3c0d8f3cb60e537c33653e8d076da1a5bcbc835de18ef4d36f34a5ce75308d48c63bd719979bd115df98ea9a59d28c5f2cb994676f7dda529697c3675e96e0a6e25b43478d90cf74f378674966ba0047", 16)
t.yb, _ = new(big.Int).SetString("76af1d8e06c59a59cf24af5a60cd9c669eda3fe5ca813082aa523a4f254a6cd7d544492d267307dce826f02eda79800393e54f0e0690f136b60ea6e4832d454d7bf1e50a885b268a0b3c91ac2cc97653ffa0fc809a2ba09d396349f97973580b3728c36e7717c4c5039e6c02697d6f06cb8f8d32b94a1aba5a12195b70b17ec6e0db9633bc726e6baff93e9e3aeb810d8bb34ac0cdbdb926625ca9d62cd341ff1c29791a6ad7362f932d06aa782cac6e46a4a30d120773140e574cbd8cfd383395a62852e2f9d0e4ca2c3ca51bd22e9035502f9a36c7d5d7c3fd5d0f96b7b30582b2bc67647138794baebf41ba847e3529db1950494736fbbd55b2bd309c2e96", 16)
t.zz, _ = new(big.Int).SetString("9a2e5a81747943da9e6b3d97207105de5e206fbbb4d842ebd129d257b6c3883f3a25173efb03e2259a361c780675f55c1e77036fbfaa3aa8a28f48b4c530f561cb7c71bab66e1cdbdbcb1cb5553db685248d97df9f107a1771515ebfd468022b0120fc700912f4f9687ab935378ac5fe112607ead70a6ffa48c988c95d5236c81205c100af1fe4f46c9c324a08d4b1b68f0254d0dcf7758b9fbb86101c24f43978d06bb47ed05d9c20afd14a8d5c27e8889b779ae0f9fd98cb119b8598bbd0bf96a308bd5f7f21a4b4be88fbdc6a3b373e8f3f2e10bb987f67cbf02dcebf21b640b2fdd831b6c4c6352dc41ba0434e77f3022f74277a4b61513a161649452f61", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 42 failed: %v", err)
}
}
// Test case 43
func TestNIST_43(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("8f9b552172868b05f00a741a92beab72040cb25af83201b22f27254acf5d6cad", 16)
t.xb, _ = new(big.Int).SetString("7d8c6bfb6e56b452cf6a86c2dcb5b202b1a5d459622b90309dda03a60830177b", 16)
t.ya, _ = new(big.Int).SetString("0935460b22aa5b3af3bce55c596d5728d06e74721ba427a7f4dd18ea141621065445ce3ed5385be5c9a0ff379062cf3c6ab16538838d9c3b2c559f92e978c3b6845021d34437cd77fa860df2d8d9d5195bfa2b3bf9f0b61160b8fa6667df34156aa0d6c018d3138730fffa038a97ba401763c88068bf13f5b731be3401994763a6a061ac27d62be51495269f7c30363b8777867cbf1375f9e2f8d8fc7a10e26d5be789258bef1611a96f440c0b386b07f4a2f5f1798f8555bee1e2a731154465ccdfdeb9c263ca175369f9bccf050566e1289ff315fa499508c47b94f5cb5d423a9122ea0ec0780d5866fc7c0a54810470ad177d2403908adbc5fb0fa10e7ccf", 16)
t.yb, _ = new(big.Int).SetString("29e21035cb45f5c85397dbcb53f84a5305daeffb269e9d8808a9d7cab0e03aaf5235863c6d990a63a67372d2dcf229d6efad05917a148103cfa35af5ff4e4b89f7b22ac353a12fa09a79bb8c4e91d24255375dc1db00ec2e42d094bea3c386e21ae8432841b6eb3286ff9e4b9a728e8cb0afa7147d76d4f0949865aa617243b8470ad911214b0bcbff1abfcad9354d57eaf8be2c6faeca4b22b7543cce8183c62f3ce060f894eac022df39e6036c7178bb428cf4a80f13208fcb7b2bfbc2d5ddf106a66ff31c0797166119e5f4c746239bdec336ca71f6c6a9e55606d872c698bca6723e93421050c996675fa74655cbf216a6fd41521defa0c6648e1c108d5c", 16)
t.zz, _ = new(big.Int).SetString("3d8862745eebb7f12b216d97d8dbac3a2f349cc3c556fcb21d7053bb263d828de63e7a8aae677492146f568890e3d6f496e53f7406a34138a4d8a9ea34636136b8e28fe90753e86d6d931559b17caf3fdbe57e6ada9806f2d639e6eabfb34b1c3dcff5147da765d2c132bf5b1b4c2711c780f64224b381a4c6a51e01ff7e00c49eac2f42ae1bdbe5c35b5c1978637892ab12817196fbfde04e3440006084b46cf8b3f7ce3c3f04cf0da08866171f2f6fe3cd38ec4b50abb32be61314808378a3e1bf7811570bbd47a991c164fc9a9ab587cea51193b18e97b6474c74adfb221c70c69e8cc0ce81ae07b4185601d850e385004ed76eeb30fc338e36f1c58855e1", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 43 failed: %v", err)
}
}
// Test case 44
func TestNIST_44(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("757cf3b53fa66d01fbd712e1c00fdd92b75907973a44a05cdf1ca339648ea01b", 16)
t.xb, _ = new(big.Int).SetString("913f2e4041e949baeac22f7321e2c588a11ba42ba4da264d9b3adc08983f00e4", 16)
t.ya, _ = new(big.Int).SetString("15a3ce068e883a961597e55c2c2802e33b523d66724aefc7b2fc5cd84e3170bed75eab1642f47aa13e4e42ffa4f2d5a5c331183a9b3b80164df0637c8ab00a607a7e7e1b28940f9af162be8d1fa4549a2dc3fc12e1b97914d0be84b620f1221d657439a335ab897ab801ca5a31d375e8b35d2fbb674fde28c826622d04ca41cb4a11dcc3250d8648b07a81d530080e9c7340d3235143a053891ad4078355e4ef2f475bedb7a12672d4b6b2cd246c7177b44195d6354f55095e6e39f71f74c18663b3268c479c02d93d73f6aaaa49637f7702a065422b80577c62be5431333348043b41aa82fd850cdf7e21ec0668314ebcb5402049403f67c0fffa6067739faa", 16)
t.yb, _ = new(big.Int).SetString("1b776e62069b6935ffc79220967215e9c10dd46a21de431187292c5c93794effa043e5d14dd24b22debb774d599e8dbba0e2649796bed314d38bf3244db48c5b642f144da94939a08ff6c4fedda938827275754a7d7308b6f5eccf12aaf83d8810daee719972f167dc7c7b612c1cf84ebaaed9b2acb2cdb2f6b130f9dce48f0b18e9c9e8eaa23cdfdcaab948327f1ac66a5b1832fe6dfff772a844a75e2d6f1945e2e5443e8aa02bd7f5c873c193283c28fb60999a1e9af5d5050e7b16eca27cbe7959c9b4f36bd1dac33ef68683191256e3906255dc3d74f7daf9cc4a5f1d801476ca69f6244ae9a5f9678f341541d5e0ae0f4d9c1f60f4fbecc7451403b8d8", 16)
t.zz, _ = new(big.Int).SetString("8c721c543005f4064ff3fe1966036024f4d16d7ea69ce4bebca515c10923da1409b18e63403ff76e80e054b2b5d40746324854492edb240c866ba47a4c4c132246f75a3338403a67718d86d3d100d6261f7c5dad9b5d1178779750bf313ec9b84db1d7510e49c1b5aa181f2d23e801f127433e325ef513bcf5c74e4a2cb3bc3353205accc30901f02a4fd1cecf28a3e5090ab01ecbdae91db62904ae9f6db19921ea9dff11d439a152c72a2c49a9665505e61587f63e4c1cdef7dcb5fc1184e3b8bd12860773d62295c2d3aa05e0d0569b9a6510d9ea9bd3283c27c527edc242458950ce39b73a301fc36c5155eb955647e40940397ff2196f385e95635c3ba6", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 44 failed: %v", err)
}
}
// Test case 45
func TestNIST_45(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("178967be9106c58ac1765acc3115307c9c599242b05025316c567ed04643de0a", 16)
t.xb, _ = new(big.Int).SetString("0a05b702338db5eb0947ce9794748f8a99724443ed0ddc76e0291c0f29d0aa75", 16)
t.ya, _ = new(big.Int).SetString("34be070c41184e272bceb1006d43dd90bf4b615e46a472679f62629b4fa2ec02f51cd3d9ff02a03b34e9a64f2b1437c86e3260d120dcbff98b72cf377acd83e3cd5b0e3dd22897a5b34b397bd31560829d5e96b2e42fa43288416bfc041555a6b2aaba42972d4e933351efdd052192bc61f4347d8c3ab4a7d5fef7e20ccde0472c110758941432982b66217d5f61ba67792ad722ed3e8b5861279b0c77b438bbe047de4f2f258c6354e77f10cd2759a7eb72b11231e4bed2124bfecbb9b6373f98ddc0001eb7a1222d2b5d6f9f660e180df6fea1e085f77e0f73a85d8cd6b092779907e07d5096c6d55949f50e20b8adbc3cbcd3fccb28c6c073fbcacab0413a", 16)
t.yb, _ = new(big.Int).SetString("35241f844d6fc657b9626bf4286717400b0f97f5d6aa615dc034685ca479d1f1f59e90ee9197b194e13c3957ddff489839160a81d7afe4c266d9252840caccf38ad123a9883750b49f1229b9dfc937f5e72f23b125964c275589b03fccb0c813e2cac8d1a8f4826d7e08b777f9ced2c83b40ad926d329d16b1f377c698bfe0dff06b84efb1834ca8de99e218fae5279afc5cee5b6b52746b6fb25a89c577650e3ad63c984e5381eccb866b42abf0b07901dd6b950e4d50101a5dd55aea405af53f4eaa84a0ddbdc09d1027ea4029e75e4e970306bebe317f2355cfe0fc2187d749fea0df41bf5568ce4f603ee3d66bf48318fbf308f84af56421b00ad130a8e2", 16)
t.zz, _ = new(big.Int).SetString("66b3c5bb7a3853f1bfbe0fe4175116a4ef74e3e90cb01847b8b79a19398d4bf550c830b4f6c24d1b5aa4a3cb757c6bb69d43b195fd5a09bf4174aaf994501366cc0d93687db24307e98829d0756740de08f353484d4d0d368cc659b6c4faf9022ae839ddeb1b4f6cef8cb694a820f5ace78fd58b4d638bc1cb337c6a4b266647dac6804a708b6d869556438b8153c4610ec536c6bb308bee5f6a1ca861c5abcbe4620f3b9d56a243af2f638fb7f67ef577db73f382c2cac38e7230115a61da23506593211c0d781096a3d7164a97418aaa0b427d54722a61737dde4b67c8133c574830ddeaffec69af845e436825a8661afe2a47c1dc8a53b9e3541255124cae", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 45 failed: %v", err)
}
}
// Test case 46
func TestNIST_46(tt *testing.T) {
var t *dhTestCase
var err error
t = new(dhTestCase)
t.p, _ = new(big.Int).SetString("a638d4e9c8536f63bd5d7593834750c39501d025de208882f727b8ccaea2bff58b048f1dbd55246c537dea03a9314e4701e16be47ff81d938c9cd571a25bbc9365b843b0533c8a6f7d5e8d2eae581225bbeacbd5494e60b58e4571abb79a409f72258b8bfabf5a0a4ebe4d947a872909869ab16e720ad70e48350c3ba57508151c127914095b564c68046700c81700cf0d789c76cd02e0e04107e8542e8ddeddb47d29e96b50d8a0ce655b73075a1b71c2328d29b256ac1c8e22b182ee7e1a4b17792aad4c3183c8100d13f43ac188b878f1786a61df1e925a4df0cb494aa7aeaaba9d57884953ef0870f783856db465f96c6db9865c8f36673a251d660625dd", 16)
t.g, _ = new(big.Int).SetString("163f8e9bd520dab5e5d1a9981d4572d594aa5341617b34d06d76f21a09255a707580f77a14579dd8fa84605c993250d3c84c93184977f108fa695efd26368980a84da8999a5c92d668df6d156bfaf945242d259d2b765b14c1dcabc183f6e70047cb95a3244c2f807ae1a992e4de2d9f9097d51705f67099a17cd2225cf439148c03477bb5e14556b0b24b3e7ceb95d936e9639783e7f4ba68b8f955b4c81f3bd6d6c365c819abf05aa46573ab26289fbe53221504c57cc98f0b26dbbcfb67388057487433aa4ac594273d452c2ff3771c863cef982136263f1820fd8bb702c1ce33ef289d20e4cc2eec1e4eb06a80cd6f5bd10484c219d990756d2ce57f6cef", 16)
t.xa, _ = new(big.Int).SetString("46ac59bac0805007c467a2f881605ecdaded88e11cf895318a13d66c69e53717", 16)
t.xb, _ = new(big.Int).SetString("53d274b9e04944aa2f987358316e07fab0cdbfe77ee194bb4a7c2b4002b7cfd6", 16)
t.ya, _ = new(big.Int).SetString("a2d6a9875928855782e7a12f861c89b98db844bb5a4734ae8cba3da2f0d9030bc78b8ae5e5e35998fa66ca9165a72f159d3e9b2a607e6b899fd77a500f6bc2554de87a342a32da438f31a979198020f24169e5a2e7bf03de1014bfc5557a9a3c4d76e17db99a9dfb11b57be94f74b763c721fd7695b42bb73c651326beee15cdf371ab71beae627575da053b762009cd40c7d177dcaa6081ae2837fb371a21432991490a6e9fdafda33574e61bca736336173f1b07b7d53fc611ab511ecc3c72247c4fd42e1a0a70514bf3465ec467d407f19a702b661b7db1d68ed1d168986f5cd64d48abdbf7389dc53e7d747a93f0c08296438d2fe6effdb543e3d800da32", 16)
t.yb, _ = new(big.Int).SetString("896c187264a6a2f3fd815485f6339e3ec97be9831697b4922a21d3bc32530a1b1316376ce37d91ef91f6405f9831d9d6f5832fd391a1bb9c908070216ad48ff95271c17ee7e01f115e912e986fa240f63cd368dca8df052a463e186f3b72c8c408648a888ad7879ee0a99dcb0bc8607297d08af9150ea97eba1fc1b8ad4f18430d6dd4935ea32741a9ce2d101a3b1276abc0785c72e267a8f136cb65148ee719f76dc40afdc09023755fc19faf0078668f68a9a783437131daaa55b2185252f8604e1b357c465af2d93e831feef5bf3345069d04055e3e501fc5926b5ae60b58fad78663c0f8afb7f181357adb43ca1955409bfb9e2fbe585c79308405aab5af", 16)
t.zz, _ = new(big.Int).SetString("6803cbfde35c6b88ccc12527259fb89449b852124dd67dd8defda7c2cc57f873ed09af81b974e09b8ae047e684f6ddd0a80a80016b0f3c44c5d981759bd32a2d2400467dcfd48473dfe0c62b080f41af8ad0c025a2f8b3a842d76a82f62313ff0e9b9374db260b203cdb989a94c89b48d92845524f1d2b8c922504800f01b8ac78ef641b2b0f818bbd291e52a0801ede9ec166a5743d393a1af628eef46e19443f60cdfb40aa2ef140d26d18c6d6f169fdaf30e16bd95c10d380545701505b787b701263d96e9023057a82d0d184f9455ed33a17bde3e149c10f93ae1ee1bf18766f8a195bac6bfc75554fb31e7ee691dbe7ecab5b915a7aa01ebbb029ffcc42", 16)
err = t.test()
if err != nil {
tt.Errorf("Test Case 46 failed: %v", err)
}
}