By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
454,604 Members | 1,414 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 454,604 IT Pros & Developers. It's quick & easy.

AES in C language using GMP library

P: 1
Im trying to implement Rijndael algorithm AES in C language using the library GMP. And it is dificult to start programming because it as been years i do not program in C. Well if there is anybody interested or if someone already have this stuff, maybe can help me to solve this riddle.(parde my writings Im not a native.)
Nov 16 '06 #1
Share this Question
Share on Google+
2 Replies


jacoder
P: 13
Im trying to implement Rijndael algorithm AES in C language using the library GMP. And it is dificult to start programming because it as been years i do not program in C. Well if there is anybody interested or if someone already have this stuff, maybe can help me to solve this riddle.(parde my writings Im not a native.)
hmm sorry i cant help me is more new :|
Nov 16 '06 #2

100+
P: 145
Any help please
Hmm, well, GMP is just a high-precision number library, which is necessary for dealing with the large numbers encountered in encryption. (Since we have 32-bit or 64-bit machines, the 128-bit or higher work can be beyond the range of most variables.)

However, it's a separate issue from AES. I'd recommend going about this in two stages. First, get AES working for smaller numbers (using standard long ints, doubles, etc.) After you have AES working for smaller numbers, then focus on adapting GMP to your technique. This separates your work into two distinct issues:

1) Understanding and implementing AES.
2) Understanding and applying GMP.

Taking on both simultaneously needlessly increases complexity.

I don't really know how the specifics of AES works (I've done some class projects with RSA a long time ago), but here's a link to the specification:

http://csrc.nist.gov/CryptoToolkit/aes/rijndael/

-- Paul
Nov 17 '06 #3

Post your reply

Sign in to post your reply or Sign up for a free account.