Gaëtan Harter fa33eacd1f
crypto/ccm: fix _fits_in_nbytes function
Function is broken with num_bytes >= 4.

Could happen when storing input_len with len_encoding >= 4.
It can take values from 2 to 8, so make it work for cases it would overflow.
2018-05-07 15:08:00 +02:00
..
2017-06-27 18:58:33 +02:00
2018-05-07 15:08:00 +02:00
2016-02-28 22:46:28 +01:00