Searched defs:macSize (Results 1 - 7 of 7) sorted by relevance

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/
H A DAEADParameters.java11 private int macSize; field in class:AEADParameters
17 * @param macSize macSize in bits
20 public AEADParameters(KeyParameter key, int macSize, byte[] nonce) argument
22 this(key, macSize, nonce, null);
29 * @param macSize macSize in bits
33 public AEADParameters(KeyParameter key, int macSize, byte[] nonce, byte[] associatedText) argument
37 this.macSize = macSize;
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/macs/
H A DCBCBlockCipherMac.java23 private int macSize; field in class:CBCBlockCipherMac
97 this.macSize = macSizeInBits / 8;
120 return macSize;
202 System.arraycopy(mac, 0, out, outOff, macSize);
206 return macSize;
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/
H A DCCMBlockCipher.java29 private int macSize; field in class:CCMBlockCipher
75 macSize = param.getMacSize() / 8;
84 macSize = macBlock.length / 2;
163 byte[] mac = new byte[macSize];
181 return totalData + macSize;
184 return totalData < macSize ? 0 : totalData - macSize;
204 output = new byte[inLen + macSize];
208 if (inLen < macSize)
212 output = new byte[inLen - macSize];
[all...]
H A DGCMBlockCipher.java33 private int macSize; field in class:GCMBlockCipher
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/chromium_org/net/third_party/nss/ssl/
H A Dderive.c82 unsigned int macSize; /* size of MAC secret */ local
113 macSize = pwSpec->mac_size;
126 2 * (macSize + effKeySize + ((!isExport && !explicitIV) * IVSize));
217 buildSSLKey(&key_block[i],macSize, &pwSpec->client.write_mac_key_item, \
219 i += macSize;
224 buildSSLKey(&key_block[i],macSize, &pwSpec->server.write_mac_key_item, \
226 i += macSize;
H A Dssl3con.c11721 unsigned int macSize)
11724 const unsigned int overhead = 1 /* padding length byte */ + macSize;
11746 ssl_RemoveTLSCBCPadding(sslBuffer *plaintext, unsigned int macSize) argument
11749 const unsigned int overhead = 1 /* padding length byte */ + macSize;
11803 * originalLength >= macSize
11804 * macSize <= MAX_MAC_LENGTH
11805 * plaintext->len >= macSize
11811 unsigned int macSize)
11817 unsigned macStart = macEnd - macSize;
11824 if (originalLength > macSize
11719 ssl_RemoveSSLv3CBCPadding(sslBuffer *plaintext, unsigned int blockSize, unsigned int macSize) argument
11808 ssl_CBCExtractMAC(sslBuffer *plaintext, unsigned int originalLength, SSL3Opaque* out, unsigned int macSize) argument
12101 const unsigned int macSize = crSpec->mac_size; local
[all...]
/external/google-tv-pairing-protocol/java/jar/
H A Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY.DSA META ...

Completed in 163 milliseconds