Last forum posts
- JANUS support in UnetStack
- Re: The concept behind the user-classes inside of JANUS
- The concept behind the user-classes inside of JANUS
- Re: Revision of JANUS STANAG next year in March
- Proposed new Class ID: Secure Pre-Canned Message
- Re: JANUS frequency-band proposal of EDA-SALSA consortium
- Re: JANUS frequency-band proposal of EDA-SALSA consortium
- JANUS frequency-band proposal of EDA-SALSA consortium
- Re: Please generate a EMCON-forum
- Please generate a EMCON-forum
Interleaver prime computation
It affects only packets with cargo of certain lengths.
Taking the Matlab implementation, the interleaver prime computation
function was:
Where the data block length was compared with the index 'k' and not with
the prime number 'testp' as in the corrected code:
This problem also affects older versions of C and Matlab implementations.
The corrected version produces an interleaving pattern that is (for some lengths only) incompatible with the one of the previous versions.
Bellow we present a table with cargo lengths up to 256 computed with the old and new methods (consecutive lines with equal values are omitted with the .....).
We expect to upload corrected versions of the code soon.
Thank you.
Giovanni