/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
AEADParameters.java | 11 private int macSize; 17 * @param macSize macSize in bits 20 public AEADParameters(KeyParameter key, int macSize, byte[] nonce) 22 this(key, macSize, nonce, null); 29 * @param macSize macSize in bits 33 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) 37 this.macSize = macSize; [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/ |
CCMBlockCipher.java | 29 private int macSize; 74 macSize = param.getMacSize() / 8; 83 macSize = macBlock.length / 2; 152 byte[] mac = new byte[macSize]; 170 return totalData + macSize; 173 return totalData < macSize ? 0 : totalData - macSize; 201 out = new byte[inLen + macSize]; 231 out = new byte[inLen - macSize]; 233 System.arraycopy(in, inOff + inLen - macSize, macBlock, 0, macSize) [all...] |
GCMBlockCipher.java | 33 private int macSize; 105 macSize = macSizeBits / 8; 114 macSize = 16; 122 int bufLength = forEncryption ? BLOCK_SIZE : (BLOCK_SIZE + macSize); 191 return totalData + macSize; 194 return totalData < macSize ? 0 : totalData - macSize; 202 if (totalData < macSize) 206 totalData -= macSize; 302 System.arraycopy(bufBlock, BLOCK_SIZE, bufBlock, 0, macSize); [all...] |
/external/dropbear/ |
packet.c | 156 unsigned char macsize; local 160 macsize = ses.keys->recv_algo_mac->hashsize; 210 len = buf_getint(ses.decryptreadbuf) + 4 + macsize; 216 (len < MIN_PACKET_LEN + macsize) || 217 ((len - macsize) % blocksize != 0)) { 230 unsigned char macsize; local 236 macsize = ses.keys->recv_algo_mac->hashsize; 243 buf_resize(ses.decryptreadbuf, ses.readbuf->len - macsize); 250 len = ses.readbuf->len - macsize - blocksize; 255 while (ses.readbuf->pos < ses.readbuf->len - macsize) { 317 unsigned int macsize; local 413 unsigned char blocksize, macsize; local 522 unsigned int macsize; local [all...] |
/external/bouncycastle/bcprov/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;
|
/external/mdnsresponder/mDNSCore/ |
DNSDigest.c | 1436 mDNSu32 macsize; local [all...] |
uDNS.c | 2445 mDNSu32 macsize; local [all...] |