- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
anyone knows if it's possible to have a PSoC 5LP enabled with encryption by UDBs and/or logic gates? I can't estimate if the available logic ressources are sufficient to implement it completely in 5LP hardware. The only thing I found on Cypress website is an article regarding magnetic stripe reader mentioning some kind of encryption, but not saying which type of encryption.
Regards,
Ralf
Solved! Go to Solution.
- Labels:
-
PSoC 5LP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Doing this in hardware seems impossible. It's difficult enough to build new 8-bit items in Verilog, and for most encryption you are dealing with 128 bits or more.
Why would you want to do this in hardware?
Here's a C library for AES. This should work in software for PSoC 5. GitHub - kokke/tiny-AES-c: Small portable AES128/192/256 in C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Doing this in hardware seems impossible. It's difficult enough to build new 8-bit items in Verilog, and for most encryption you are dealing with 128 bits or more.
Why would you want to do this in hardware?
Here's a C library for AES. This should work in software for PSoC 5. GitHub - kokke/tiny-AES-c: Small portable AES128/192/256 in C
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi Paul,
thank you for the link, I'll try that. Reason for hardware implementation was that I don't know how much time a PSoC 5LP needs to do AES. With the code from your link I can do some performance measurements.
Regards,
Ralf
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi ,
Can you share me some information about how to measure the performance and making Hardware AES on PSoC 5LP.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hardware AES will be unfeasible I think. I have personally implemented software AES on PSoC 5LP systems and the performance hit was fairly significant, but not unusable. I implemented a bootloader that performed firmware upgrades in the field from AES encrypted bootloadables. I had to change the CPU frequency to the maximum in the bootloader in order to have the decryption take place in a reasonable amount of time. If you are only needing to decrypt small amounts of data, it may not be a big deal. I was decrypting full hex rows for very large firmware files. It is doable but performance will obviously suffer to some extent.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am new on cypress. I have AES-CBC code and I would like to test the performance and cost(time, powerconsumption) on PSoC 5LP. If you do not mind, can you share the document or link how to test those performance? I saw some guys did it, but I could not find any tutorial or document.