Decode KIc/KID algorithms unconditionally; expand packet-length labels

This commit is contained in:
catarrh committed 2026-08-17 21:40:12 +03:00
1 parent f6ce7dfe3e
commit 166cf4ed0f
2 files changed
+16 -7

No files matched your search

+2 -2
View File
@@ -664,7 +664,7 @@ function cmdRows(cmd) {
const sec = t.secured;
if (sec && !sec.raw) {
rows.push(['Secured packet', 'CPL ' + sec.cpl + ' · CHL ' + sec.chl]);
rows.push(['Secured packet', 'Command Packet Length ' + sec.cpl + ' · Command Header Length ' + sec.chl]);
const s = sec.spi || {};
rows.push(['SPI', '0x' + (s.hex || '') + ' — ' + (s.counter || '') +
(s.ciphering ? ', ciphering' : '') + ', ' + (s.rc_cc_ds || '') + ', ' + (s.por || '')]);
@@ -679,7 +679,7 @@ function cmdRows(cmd) {
const rp = t.response_packet;
if (rp && !rp.raw) {
rows.push(['Response packet', 'RPL ' + rp.rpl + ' · RHL ' + rp.rhl]);
rows.push(['Response packet', 'Response Packet Length ' + rp.rpl + ' · Response Header Length ' + rp.rhl]);
rows.push(['TAR', '0x' + rp.tar]);
rows.push(['CNTR', '0x' + rp.cntr]);
rows.push(['PCNTR', rp.pcntr]);