Searched refs:macSize (Results 1 - 6 of 6) sorted by relevance

/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/params/
H A DCCMParameters.java11 private int macSize; field in class:CCMParameters
17 * @param macSize macSize in bits
21 public CCMParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) argument
25 this.macSize = macSize;
36 return macSize;
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/macs/
H A DBlockCipherMac.java17 private int macSize; field in class:BlockCipherMac
54 this.macSize = macSizeInBits / 8;
77 return macSize;
149 System.arraycopy(mac, 0, out, outOff, macSize);
153 return macSize;
H A DCBCBlockCipherMac.java23 private int macSize; field in class:CBCBlockCipherMac
97 this.macSize = macSizeInBits / 8;
120 return macSize;
205 System.arraycopy(mac, 0, out, outOff, macSize);
209 return macSize;
H A DISO9797Alg3Mac.java28 private int macSize; field in class:ISO9797Alg3Mac
111 this.macSize = macSizeInBits / 8;
165 return macSize;
261 System.arraycopy(mac, 0, out, outOff, macSize);
265 return macSize;
H A DCFBBlockCipherMac.java179 private int macSize; field in class:CFBBlockCipherMac
261 this.macSize = macSizeInBits / 8;
282 return macSize;
363 System.arraycopy(mac, 0, out, outOff, macSize);
367 return macSize;
/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/modes/
H A DCCMBlockCipher.java97 int macSize = params.getMacSize() / 8;
111 out = new byte[inLen + macSize];
141 out = new byte[inLen - macSize];
143 System.arraycopy(in, inOff + inLen - macSize, macBlock, 0, macSize);
147 for (int i = macSize; i != macBlock.length; i++)

Completed in 233 milliseconds