467,867 Members | 1,318 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,867 developers. It's quick & easy.

AES in C language using GMP library

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
  • viewed: 4082
Share:
2 Replies
jacoder
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+
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.

Similar topics

22 posts views Thread by Michael Nahas | last post: by
134 posts views Thread by evolnet.regular | last post: by
27 posts views Thread by scott | last post: by
1 post views Thread by Steven Bird | last post: by
reply views Thread by jack112 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.