1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/sys/crypto/modes
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
..
cbc.c crypto/cbc: constify input buffers 2017-06-27 18:58:33 +02:00
ccm.c crypto/ccm: fix _fits_in_nbytes function 2018-05-07 15:08:00 +02:00
ctr.c Unified Cipher API and Block cipher operation modes 2015-07-22 19:18:34 +02:00
ecb.c core: header cleanup 2016-02-28 22:46:28 +01:00
Makefile Unified Cipher API and Block cipher operation modes 2015-07-22 19:18:34 +02:00