M17-Project / m17-tools

A set of M17 tools
GNU General Public License v3.0
29 stars 3 forks source link

Encyption update #30

Open sp5wwp opened 2 weeks ago

sp5wwp commented 2 weeks ago

The updated specification document changes the nonce/counter structure a bit, please update accordingly.

sp5wwp commented 1 week ago

Another part of the bug is that AES key length selection is not supported (wrong use of the #defines): https://github.com/M17-Project/m17-tools/blob/509546bc1e0fde412c86d2216dfb0dd11d8bb7e0/apps/m17-mod.cpp#L192-L213

sp5wwp commented 9 hours ago

One possible solution would be to replace tiny-AES-c with tinier-aes, which is its fork. It allows to use different key lengths without the need to recompile the whole code.