kokke / tiny-AES-c

Small portable AES128/192/256 in C
The Unlicense
4.3k stars 1.3k forks source link

Change bitrate at runtime, via Init ? #213

Closed CyberGonzo closed 1 year ago

CyberGonzo commented 1 year ago

I think I understand the reason for setting the bitrate at design time is to reduce the size of the library ?

But is there really no option (define) to have all three and choose at run time ? Or is there really no shared code ? The way I understand it (and do correct me if I'm wrong) I will need to build 3 libraries and include all three to have all three bitrates ? Actually .. thinking about it .. that will cause symbol collision.

If you think I should be looking at a different library, kindly point me in the right direction. I prefer not too difficult since I'm totally new to encryption and it's only to open some existing data (which can come in all three bitrate flavors)