ericlagergren/ocb3

int overflow

pedroalbanese opened this issue · 2 comments

Greetings!

$ go19 build -ldflags=-s .
# github.com/ericlagergren/ocb3
C:\Users\0wner\go\pkg\mod\github.com\ericlagergren\ocb3@v0.0.0-20220206064240-ec5c2d9fa949\ocb3.go:258:40: maxInputSize (untyped int constant 4503599627370496) overflows int
C:\Users\0wner\go\pkg\mod\github.com\ericlagergren\ocb3@v0.0.0-20220206064240-ec5c2d9fa949\ocb3.go:354:41: maxInputSize (untyped int constant 4503599627370496) overflows int

How to proceed?

Thanks in advance.

ptal #3

Now that I realized that 4503599627370496 exceeds a little the eighth Mersenne prime.. Thank you so much!