MCPcopy Create free account
hub / github.com/CongducPham/LowCostLoRaGw / LSC_setMIC

Function LSC_setMIC

Arduino/libraries/LSC_Encrypt/src/LSC_Encrypt.cpp:278–310  ·  view source on GitHub ↗

Compute the LSC MIC from a seq_in buffer of size size_mesg. Buffer should have 4 available extra at the end to be append the 4-byte MIC IN: seq_in is the source buffer seq_out is a buffer of size at least equal to seq_in size_mesg is the size of the data on which the MIC is computed fcount is a random number, usually the packet sequence number to allow decryption at the other end OUT: seq_in wil

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

local_lsc_create_pktFunction · 0.85
local_lsc_create_pktFunction · 0.85

Calls 2

LSC_encryptFunction · 0.85
xorshift32Function · 0.70

Tested by

no test coverage detected