-
Notifications
You must be signed in to change notification settings - Fork 7
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
Add support for 32bit arches #18
Open
Grimler91
wants to merge
8
commits into
aeolwyr:master
Choose a base branch
from
termux:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Commits on Jun 3, 2022
-
Configuration menu - View commit details
-
Copy full SHA for b9cab50 - Browse repository at this point
Copy the full SHA b9cab50View commit details -
lib.rs: unavailable_information should be c_ulong
All entries in token_info array should be c_ulong, based on definition of CK_TOKEN_INFO in opencryptoki's pkcs11types.h.
Configuration menu - View commit details
-
Copy full SHA for b7347c2 - Browse repository at this point
Copy the full SHA b7347c2View commit details -
pkcs11: add repr(u64) to enums with VendorDefined = 0x80000000
Otherwise we get an overflow: error: literal out of range for `isize` --> src/pkcs11/object_class.rs:18:21 | 18 | VendorDefined = 0x80000000, | ^^^^^^^^^^ | = note: `#[deny(overflowing_literals)]` on by default = note: the literal `0x80000000` (decimal `2147483648`) does not fit into the type `isize` and will become `-2147483648isize`
Configuration menu - View commit details
-
Copy full SHA for ca2becf - Browse repository at this point
Copy the full SHA ca2becfView commit details -
pkcs11: do not assume c_ulong is u64
Instead use macros to check size of pointers, and thereby determine if we are on 32bit or 64bit platform. On 32bit platforms c_ulong is u32, and otherwise u64. This works well for android, but I suppose there might be other exotic platforms where size of c_ulong and size of pointers do not necessarily follow each other.
Configuration menu - View commit details
-
Copy full SHA for 8f837ed - Browse repository at this point
Copy the full SHA 8f837edView commit details -
Configuration menu - View commit details
-
Copy full SHA for e35fda3 - Browse repository at this point
Copy the full SHA e35fda3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 831e300 - Browse repository at this point
Copy the full SHA 831e300View commit details
Commits on Jun 13, 2022
-
Configuration menu - View commit details
-
Copy full SHA for 35c367f - Browse repository at this point
Copy the full SHA 35c367fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e220fe2 - Browse repository at this point
Copy the full SHA e220fe2View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.