Re: [PATCH] Some CCM mode documentation

2014-04-29 Thread Owen Kirby
Niels, Yep, that looks good. Thanks, Owen On 14-04-29 10:16 AM, Niels Möller wrote: > Owen Kirby writes: > >> It also occurs to me that the my formula for calculating the maximum >> message size from L is completely wrong. L basically specifies the size >> of the counter field (in bytes), so it

Re: [PATCH] Some CCM mode documentation

2014-04-29 Thread Niels Möller
Owen Kirby writes: > It also occurs to me that the my formula for calculating the maximum > message size from L is completely wrong. L basically specifies the size > of the counter field (in bytes), so it should really be maxlength = (1 > << (L*8)) - 1. Is the following correct? Intended for ccm