Searched refs:tagLen (Results 1 - 5 of 5) sorted by relevance
/openjdk7/jdk/src/share/classes/sun/security/krb5/internal/ccache/ |
H A D | Tag.java | 44 int tagLen; field in class:Tag 50 tagLen = 8; 53 length = 4 + tagLen; 57 tagLen = 0; 58 length = 4 + tagLen; 64 os.write(tagLen);
|
/openjdk7/jdk/src/share/classes/sun/security/ssl/ |
H A D | EngineInputRecord.java | 197 int tagLen = signer.MAClen(); 202 if (!box.sanityCheck(tagLen, cipheredLength)) { 210 box.decrypt(bb, tagLen); 226 if (tagLen != 0) { 227 int macOffset = bb.limit() - tagLen; 232 if (bb.remaining() < tagLen) { 239 macOffset = cipheredLength - tagLen; 299 int tagLen = signer.MAClen(); 301 int macData = lim - tagLen; 305 if (hash == null || tagLen ! [all...] |
H A D | InputRecord.java | 141 int tagLen = signer.MAClen(); 146 if (!box.sanityCheck(tagLen, cipheredLength)) { 155 box.decrypt(buf, headerSize, cipheredLength, tagLen); 169 if (tagLen != 0) { 170 int macOffset = count - tagLen; 183 macOffset = headerSize + cipheredLength - tagLen; 187 count -= tagLen; // Set the count before any MAC checking 242 int tagLen = signer.MAClen(); 245 if (hash == null || tagLen != hash.length) {
|
H A D | CipherBox.java | 397 int tagLen) throws BadPaddingException { 424 buf, offset, newLen, tagLen, blockSize, protocolVersion); 454 int decrypt(ByteBuffer bb, int tagLen) throws BadPaddingException { argument 495 bb, tagLen, blockSize, protocolVersion); 668 int tagLen, int blockSize, 676 if ((newLen - tagLen) < 0) { 710 int tagLen, int blockSize, 721 if ((newLen - tagLen) < 0) { 806 boolean sanityCheck(int tagLen, int fragmentLen) { argument 808 return fragmentLen >= tagLen; 396 decrypt(byte[] buf, int offset, int len, int tagLen) argument 667 removePadding(byte[] buf, int offset, int len, int tagLen, int blockSize, ProtocolVersion protocolVersion) argument 709 removePadding(ByteBuffer bb, int tagLen, int blockSize, ProtocolVersion protocolVersion) argument [all...] |
/openjdk7/jdk/test/com/oracle/security/ucrypto/ |
H A D | TestAES.java | 266 int tagLen[] = { 128, 120, 112, 104, 96, 64, 32 }; 276 for (int i = 0; i < tagLen.length; i++) { 277 AlgorithmParameterSpec paramSpec = new GCMParameterSpec(tagLen[i], iv); 293 System.out.println(algo + ": tagLen " + tagLen[i] + " done");
|
Completed in 134 milliseconds