KCcmBlockCipher(IBlockCipher) | Base constructor. Nb value is set to 4. |
KCcmBlockCipher(IBlockCipher, Int32) | Constructor allowing Nb configuration. Nb is a parameter specified in CCM mode of DSTU7624 standard. This parameter specifies maximum possible length of input.It should be calculated as follows: Nb = 1 / 8 * (-3 + log[2]Nmax) + 1, where Nmax - length of input message in bits.For practical reasons Nmax usually less than 4Gb, e.g. for Nmax = 2^32 - 1, Nb = 4. |