Open sp5wwp opened 2 weeks 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
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.
The updated specification document changes the nonce/counter structure a bit, please update accordingly.