mirror of
https://github.com/lwvmobile/dsd-fme.git
synced 2026-11-16 18:57:24 -05:00
NXDN: DCALL Finish up data decryption methods;
NXDN: Fix Block Assembly on "idas" types, they do have the same blocking structure; NXDN: Fix CRC32 and "total_bytes" when padding bytes are present; NXDN: Add placeholder GPS function and reverse byte load for GPS location data found in certain DCALL messages; DMR: Init AES keyloader arrays for PDU; Misc cleanup and tweaks;
This commit is contained in:
@@ -1028,9 +1028,9 @@ void dmr_block_assembler (dsd_opts * opts, dsd_state * state, uint8_t block_byte
|
||||
R = state->rkey_array[state->payload_keyidR];
|
||||
|
||||
//loader for aes keys
|
||||
uint8_t kaes[32];
|
||||
uint8_t empt[32];
|
||||
uint8_t maes[16];
|
||||
uint8_t kaes[32]; memset(kaes, 0, sizeof(kaes));
|
||||
uint8_t empt[32]; memset(empt, 0, sizeof(empt));
|
||||
uint8_t maes[16]; memset(maes, 0, sizeof(maes));
|
||||
for (i = 0; i < 8; i++)
|
||||
{
|
||||
kaes[i+0] = ((state->rkey_array[kid+0x000]) >> (56-(i*8))) & 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user