HomeSort by relevance Sort by last modified time
    Searched refs:macSize (Results 1 - 4 of 4) sorted by null

  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/params/
AEADParameters.java 11 private int macSize;
17 * @param macSize macSize in bits
21 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText)
25 this.macSize = macSize;
36 return macSize;
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/modes/
GCMBlockCipher.java 31 private int macSize;
99 macSize = macSizeBits / 8;
108 macSize = 16;
116 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize);
173 return len + bufOff + macSize;
176 return len + bufOff - macSize;
205 System.arraycopy(bufBlock, BLOCK_SIZE, bufBlock, 0, macSize);
227 System.arraycopy(bufBlock, BLOCK_SIZE, bufBlock, 0, macSize);
244 if (extra < macSize)
248 extra -= macSize;
    [all...]
CCMBlockCipher.java 29 private int macSize;
73 macSize = param.getMacSize() / 8;
82 macSize = macBlock.length / 2;
139 byte[] mac = new byte[macSize];
155 return data.size() + len + macSize;
159 return data.size() + len - macSize;
186 out = new byte[inLen + macSize];
216 out = new byte[inLen - macSize];
218 System.arraycopy(in, inOff + inLen - macSize, macBlock, 0, macSize);
    [all...]
  /external/bouncycastle/src/main/java/org/bouncycastle/crypto/macs/
CBCBlockCipherMac.java 23 private int macSize;
97 this.macSize = macSizeInBits / 8;
120 return macSize;
202 System.arraycopy(mac, 0, out, outOff, macSize);
206 return macSize;

Completed in 147 milliseconds