Searched refs:macSize (Results 1 - 6 of 6) sorted by relevance
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/params/ |
H A D | AEADParameters.java | 11 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 D | CBCBlockCipherMac.java | 23 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 D | GCMBlockCipher.java | 33 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...] |
H A D | CCMBlockCipher.java | 29 private int macSize; field in class:CCMBlockCipher 74 macSize = param.getMacSize() / 8; 83 macSize = macBlock.length / 2; 157 byte[] mac = new byte[macSize]; 175 return totalData + macSize; 178 return totalData < macSize ? 0 : totalData - macSize; 215 output = new byte[inLen + macSize]; 242 output = new byte[inLen - macSize]; 244 System.arraycopy(in, inOff + inLen - macSize, macBloc [all...] |
/external/chromium_org/net/third_party/nss/ssl/ |
H A D | derive.c | 82 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 D | ssl3con.c | 11634 unsigned int macSize) 11637 const unsigned int overhead = 1 /* padding length byte */ + macSize; 11659 ssl_RemoveTLSCBCPadding(sslBuffer *plaintext, unsigned int macSize) argument 11662 const unsigned int overhead = 1 /* padding length byte */ + macSize; 11716 * originalLength >= macSize 11717 * macSize <= MAX_MAC_LENGTH 11718 * plaintext->len >= macSize 11724 unsigned int macSize) 11730 unsigned macStart = macEnd - macSize; 11737 if (originalLength > macSize 11632 ssl_RemoveSSLv3CBCPadding(sslBuffer *plaintext, unsigned int blockSize, unsigned int macSize) argument 11721 ssl_CBCExtractMAC(sslBuffer *plaintext, unsigned int originalLength, SSL3Opaque* out, unsigned int macSize) argument 12014 const unsigned int macSize = crSpec->mac_size; local [all...] |
Completed in 167 milliseconds