- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for succeed (0.05 seconds)
-
lib/fips140/v1.0.0-c2097c7c.zip
0xff, 0xff}, fail: true, }} for i, tt := range tests { m := modulusFromBytes(tt.m) got, err := NewNat().SetBytes(tt.b, m) if err != nil { if !tt.fail { t.Errorf("%d: unexpected error: %v", i, err) } continue } if tt.fail { t.Errorf("%d: unexpected success", i) continue } if expected := natFromBytes(tt.b).ExpandFor(m); got.Equal(expected) != yes { t.Errorf("%d: got %v, expected %v", i, got, expected) } } f := func(xBytes []byte) bool { m := maxModulus(uint(len(xBytes)*8/_W + 1)) got, err := NewNat().SetBytes(xBytes,...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Sep 25 19:53:19 GMT 2025 - 642.7K bytes - Click Count (0) -
lib/fips140/v1.1.0-rc1.zip
0xff, 0xff}, fail: true, }} for i, tt := range tests { m := modulusFromBytes(tt.m) got, err := NewNat().SetBytes(tt.b, m) if err != nil { if !tt.fail { t.Errorf("%d: unexpected error: %v", i, err) } continue } if tt.fail { t.Errorf("%d: unexpected success", i) continue } if expected := natFromBytes(tt.b).ExpandFor(m); got.Equal(expected) != yes { t.Errorf("%d: got %v, expected %v", i, got, expected) } } f := func(xBytes []byte) bool { m := maxModulus(uint(len(xBytes)*8/_W + 1)) got, err := NewNat().SetBytes(xBytes,...Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Thu Dec 11 16:27:41 GMT 2025 - 663K bytes - Click Count (0)