Hi to all I am working on encryption AES Algorithm on LPC1768. So I need a free Encryption AES Algorithm Source code for LPC1768.I am totally new to this. Please provide me some useful source code to get this as soon as possible.
Thanks in advance behbodi
Hi W. Pier Thank you for the reply.
I am using and run this code for test on the PC.
www.hoozi.com/.../
There are an original reference implementation of the AES algorithm in URL. But a problem here is how to use AES algorithm for LPC1768 or other ARM. Can you help me and to do this or send a sample code for this project.
Anyway thanks and hope you have a nice day ahead! Thanks in advance behbodi
If you have the source code for AES, then you can compile it on any 32-bit target machine - possibly after setting some #defines or adjusting some data types.
It's only when you have a processor with AES in hardware, that you need a processor-specific implementation that knows how to set up that hardware and how to send in/read out data from that encryption engine.
If you do not know how to get Keil to compile generic code you find on the net, then you should spend time reaching that level of expertise, because you will need it. Getting a ready project that compiles someones AES code doesn't help you much if you haven't the experience to know how it works, and why. And how to adapt as needed.
Hi Dear Per Westermark
I have the source code for AES, but I can not compile for LPC1768. I do not know, how convert this code for LPC1768. If possible for you please help me for convert this code for LPC1768. I need this code for the test speed AES algorithm from several microcontroller, also I don't programming language ARM.
Best Regards Behbodi
Have you got source code in C? I know how to get C code to run on ARM.
Hi Dear Thank you for the reply. I am using and run this code for test on the PC.
I have the source code for AES, but I can not compile for LPC1768. I do not know, how convert this code for LPC1768. If possible for you please help me for convert this code for LPC1768.
So help me to solve this issue. Best Regards Behbodi
I've looked at your code. Analyzed your code. Ensured your code will run on LPC1768. Provided a URL to the code that can be compiled to run on ARM.
http://tinyurl.com/d9zavj5
Where should I send the invoice?
Dear The final of purpose: 1- Set secret key in LPC1768 2- Send several Plain to LPC1768 3- Implementation AES Algorithm 4- received Cipher from LPC1768
Best Regaeds
Yes. It's all there. Just needs a few minor tweaks to match hardware resources. Go compile.
You want me to add my time for this response to the invoice?
Dear friend Thank you for the reply.
kind of you. If possible for you, please convert this code for LPC1768 and send me.
rashidbehbodi@yahoo.com
If possible for you, please convert this code for LPC1768 and send me.
IT'S CAPABLE OF BEING COMPILED FOR LPC1768 ALREADY!!!
Now why don't you go do it?
Dear friend My problem is: The code perfectly run in the Keil. I can not match source code with hardware LPC1768 , because I do not know how convert this code for LPC1768. When the .Bin file copy to microcontroller no special event in microcontroller. For example: I want to make 100 random data (Plain) in the microcontroller and set key, then run AES algorithm on the microcontroller(LPC1768).
I think you should reads this thread: http://www.keil.com/forum/59391/
Hi Dear Carsten Groen
The project is for my son and I I do not know......
The source looks to be something your average C compiler should be able to handle. Keil/ARM included.
For random number generation, read the LPC1768 Reference Manual see if it has an RNG in hardware. If not consider other ways of getting randomized input, perhaps by getting the user to type in a few characters, both the characters and the time between keystrokes could be used to seed the rand() operation.
For the LPC1768 specifically, find a project template or example that sets up your chip/board, and provides UART input/output, etc, and then merge and integrate the AES code/functions into that project.
Learning is a process that requires some effort, on both your parts.
"The project is for my son and I I do not know......"
If your son is a student, then he is expected to know. Or is expected to spend enough time to learn.
I don't know how to repair my car - but I wouldn't expect I can just walk out and ask random people to come and repair it for free if something breaks. Why expect some unknown people to come and write source code for free? Is there really a difference?