Lines Matching refs:cipherBlockSize
90 CTR(IBlockCipher underlyingCipher, int cipherBlockSize) in CTR() argument
92 super(Registry.CTR_MODE, underlyingCipher, cipherBlockSize); in CTR()
102 this((IBlockCipher) that.cipher.clone(), that.cipherBlockSize); in CTR()
112 if (modeBlockSize > cipherBlockSize) in setup()
115 counter = new byte[cipherBlockSize]; in setup()
116 int i = cipherBlockSize - 1; in setup()
120 enc = new byte[cipherBlockSize]; in setup()
144 return new Sequence(1, cipherBlockSize).iterator(); in blockSizes()
152 if (off == cipherBlockSize) in ctr()
155 for (j = cipherBlockSize - 1; j >= 0; j--) in ctr()
162 counter[cipherBlockSize - 1]++; in ctr()