This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Need AES Algorithm for LPC1768

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

Parents Reply Children
  • 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).

    Best Regards
    Behbodi

  • Former Member
    0 Former Member in reply to Hadi Eskandari

    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?