DMR: Setup a KS start (offset) value to apply specifically for chained p_head where the second p_head is only partially encrypted;

This commit is contained in:
lwvmobile
2025-03-01 12:57:25 -05:00
parent f5fad8d5e0
commit df56d421f8
4 changed files with 28 additions and 3 deletions

View File

@@ -664,6 +664,7 @@ typedef struct
uint8_t data_conf_data[2]; //flag for confirmed data blocks per slot
uint8_t data_block_poc[2]; //padding octets in the header (needed for Data PDU Decryption)
uint16_t data_byte_ctr[2]; //number of bytes acculumated
uint8_t data_ks_start[2]; //where the start of the keystream should be applied to PDU data
uint8_t dmr_pdu_sf[2][24*128]; //unified pdu 'superframe' //[slot][byte] -- increased capacity to 127(+1) full rate blocks
uint8_t cap_plus_csbk_bits[2][12*8*8]; //CSBK Cap+ FL initial and appended block bit storage, by slot
uint8_t cap_plus_block_num[2]; //received block number storage -- per timeslot