IoT data filter
The IoT data filter receives an eight-bit stream and dispatches each block to a function selected at its interface. DES encryption and decryption share the cipher datapath, with a 64-bit key and a 64-bit data word packed into each input block. Two alternating buffers support block assembly while an earlier block is processed. Checksum and sorting modes share the stream interface and publish their results through the same valid output.
Select the operation
The byte counter advances on enabled input. Sixteen input bytes fill one 128-bit block. In DES and checksum modes, the load selector alternates the two block registers. Sorting consumes bytes directly from the stream.
Encrypt or decrypt
The top level separates each completed block into its key and payload. Permutations, round-key selection, Feistel logic and S-boxes implement DES. The mode input selects encryption or decryption; output combines the key with the transformed 64-bit data.
Carry the polynomial remainder
Checksum mode advances an eleven-bit window containing the running remainder and the next eight bits. The generator polynomial is x³ + x² + 1. Its three-bit remainder is returned on the shared output.
Order a block of bytes
A chain of compare-and-insert elements maintains sorted byte values as inputs arrive. After sixteen bytes, the packed 128-bit result contains the ordered block.
Qualify the result
The operation selector chooses the cipher, checksum or sorted data. The byte counter qualifies valid according to the selected datapath’s schedule.