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

checksums issues between Python and C #10

Open
walchko opened this issue Nov 26, 2023 · 0 comments
Open

checksums issues between Python and C #10

walchko opened this issue Nov 26, 2023 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@walchko
Copy link
Member

walchko commented Nov 26, 2023

I am creating yivopkt_t in C, but then I get errors in python when I read some of them. Tyically the invalid checksums are always 0 or 13 which seems strange.

I think there is an issue between the number of bits in C and python. I need to take more care and make sure I am limiting the checksum to only uint8_t in both languages. It is easy in C, but I think python is using 64-bit integers instead of 8-bit integers.

@walchko walchko self-assigned this Nov 26, 2023
@walchko walchko added the bug Something isn't working label Nov 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

1 participant