3DES (or AES or DES) on a micro for secure communications?

Status
Not open for further replies.

blapcb

Full Member level 3
Joined
Jan 7, 2007
Messages
188
Helped
2
Reputation
4
Reaction score
0
Trophy points
1,296
Location
Planet earth (most of the time)
Activity points
2,766
I need to implement some type of embedded security over a serial link, like 3DES (or DES or AES), and really don't know where to start to look, so some pointers would be really helpful.

- Can this be implemented only in software? (code space?)
- Does anyone sell a library that can be used?
- Do the two units (which can be any two units) have to know the keys in advance?

Thanks!
 

You can find a couple of block ciphers implemented in asm for AVR and '51 on http://www.efton.sk/crypt . Although these are considered weaker than AES/3DES (mainly due to shorter key, which is still longer than on plain DES), for many microcontroller-based application they are more than sufficient. That might give you at least a rough picture, perhaps.

Nevertheless, security is a much broader topic than just implementing a block cipher...

JW
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…