Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
This isn't a Linux question, but I don't know where else to turn.
I need to write an encrypted bootloader for a dsPIC33, and I don't know what encryption algorithm to use, or even where to start looking. It needs to be a moderately strong symmetrical algorithm that doesn't take up a lot of code space. So I guess that provides some boundaries. The value of the program it will be protecting is not particularly high, but I have a lot of time invested in developing it. Mostly, I don't want to see a knockoff of my product appear on ebay with my code installed, and the IP thief referring questions to me - which I have run into before.
I don't need help with coding or any of that. I just need a starting point with the names of some publicly available encryption algorithms that would be appropriate for my needs.
Of those, which is the simplest to implement with the smallest code footprint? It's just going to be used to flash new firmware into either a dsPIC33FJ64MC802 or a dsPIC33FJ128MC802. I haven't gotten the twofish test to work yet. I'm going through the platform.h at the moment to try to set that up for Linux. After that, I'll do the same on the dsPIC33.
Thanks for the help, veerain. Getting the twofish code from the author's site to work was a problem, as it was written for Borland C, as well as being old. Combine that with a newbie to keys and encryption, and you see the problem. But, I've managed to get one of the public versions going, and have cut the object size down to something manageable on the PIC. More importantly, it actually worked! =) So, looks like this is a go.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.