Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build failures in self-tests on 32-bit platforms #32

Open
jas4711 opened this issue Mar 18, 2025 · 0 comments
Open

Build failures in self-tests on 32-bit platforms #32

jas4711 opened this issue Mar 18, 2025 · 0 comments
Assignees

Comments

@jas4711
Copy link

jas4711 commented Mar 18, 2025

Hi. I got build failures on armel and armhf because the source codes uses too large integer values:

# github.com/tink-crypto/tink-go/internal/aead_test [github.com/tink-crypto/tink-go/internal/aead.test]
src/github.com/tink-crypto/tink-go/internal/aead/aesgcm_test.go:30:65: cannot use 1 << 60 (untyped int constant 1152921504606846976) as int value in argument to t.Errorf (overflows)
# github.com/tink-crypto/tink-go/signature/rsassapss_test [github.com/tink-crypto/tink-go/signature/rsassapss.test]
src/github.com/tink-crypto/tink-go/signature/rsassapss/key_test.go:57:22: cannot use 1 << 31 (untyped int constant 2147483648) as int value in struct literal (overflows)
# github.com/tink-crypto/tink-go/signature/rsassapkcs1_test [github.com/tink-crypto/tink-go/signature/rsassapkcs1.test]
src/github.com/tink-crypto/tink-go/signature/rsassapkcs1/key_test.go:53:21: cannot use 1 << 31 (untyped int constant 2147483648) as int value in struct literal (overflows)

Full log here: https://salsa.debian.org/jas/golang-github-tink-crypto-tink-go/-/jobs/7271759/viewer

Thanks,
/Simon

@morambro morambro self-assigned this Mar 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants