Constant capsules::ieee802154::framer::CRYPT_BUF_SIZE
[−]
[src]
pub const CRYPT_BUF_SIZE: usize=
radio::MAX_MTU + 3 * 16
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