Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for FuzzExpMont (0.07 sec)

  1. src/math/big/nat_test.go

    			m = natFromString(test.m)
    		}
    
    		z := nat(nil).expNN(x, y, m, false)
    		if z.cmp(out) != 0 {
    			t.Errorf("#%d got %s want %s", i, z.utoa(10), out.utoa(10))
    		}
    	}
    }
    
    func FuzzExpMont(f *testing.F) {
    	f.Fuzz(func(t *testing.T, x1, x2, x3, y1, y2, y3, m1, m2, m3 uint) {
    		if m1 == 0 && m2 == 0 && m3 == 0 {
    			return
    		}
    		x := new(Int).SetBits([]Word{Word(x1), Word(x2), Word(x3)})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 09 15:29:36 UTC 2024
    - 26.2K bytes
    - Viewed (0)
Back to top