capsules_extra::ieee802154::framer

Constant CRYPT_BUF_SIZE

Source
pub const CRYPT_BUF_SIZE: usize = _; // 175usize
Expand description

The needed buffer size might be bigger than an MTU, because the CCM* authentication procedure

  • adds an extra 16-byte block in front of the a and m data
  • prefixes the a data with a length encoding and pads the result
  • pads the m data to 16-byte blocks