-
- Downloads
crypto/ccm: fix input_len check
Maximum input_len depends only on length_encoding and not auth_data_len. The current length_max value was also wrong. RFC3610 page 2 3. The message m, consisting of a string of l(m) octets where 0 <= l(m) < 2^(8L). The length restriction ensures that l(m) can be encoded in a field of L octets.
Please register or sign in to comment