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

data types and associated sizes #20

Closed
ghost opened this issue Oct 20, 2015 · 0 comments
Closed

data types and associated sizes #20

ghost opened this issue Oct 20, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Oct 20, 2015

Hello,

In the file aes.c, line 67, the 32 bits unsigned integers are defined as follows :
typedef unsigned long uint_32t;

On a 64 bits machine, this data type is expanded to a 64 bits integer.
May I suggest you to use the stdint.h header and use the uint32_t data type for portability sake ? For debugging purpose, it would be useful to avoid cross compiling every time.

@mluis1 mluis1 closed this as completed Oct 30, 2015
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

1 participant