Searched refs:macAlg (Results 1 – 4 of 4) sorted by relevance
62 private final MacAlg macAlg; field in MAC88 macAlg = M_NULL; in MAC()96 MAC(MacAlg macAlg, ProtocolVersion protocolVersion, SecretKey key) in MAC() argument98 this.macAlg = macAlg; in MAC()99 this.macSize = macAlg.size; in MAC()104 if (macAlg == M_MD5) { in MAC()106 } else if (macAlg == M_SHA) { in MAC()108 } else if (macAlg == M_SHA256) { in MAC()110 } else if (macAlg == M_SHA384) { in MAC()113 throw new RuntimeException("Unknown Mac " + macAlg); in MAC()[all …]
368 protected Set<String> decomposes(MacAlg macAlg) { in decomposes() argument371 if (macAlg == CipherSuite.M_MD5) { in decomposes()374 } else if (macAlg == CipherSuite.M_SHA) { in decomposes()378 } else if (macAlg == CipherSuite.M_SHA256) { in decomposes()382 } else if (macAlg == CipherSuite.M_SHA384) { in decomposes()421 if (cipherSuite.macAlg != null) { in decomposes()422 components.addAll(decomposes(cipherSuite.macAlg)); in decomposes()
706 MacAlg macAlg = cipherSuite.macAlg; in newReadMAC() local709 mac = macAlg.newMac(protocolVersion, svrMacSecret); in newReadMAC()712 mac = macAlg.newMac(protocolVersion, clntMacSecret); in newReadMAC()722 MacAlg macAlg = cipherSuite.macAlg; in newWriteMAC() local725 mac = macAlg.newMac(protocolVersion, clntMacSecret); in newWriteMAC()728 mac = macAlg.newMac(protocolVersion, svrMacSecret); in newWriteMAC()1158 int hashSize = cipherSuite.macAlg.size; in calculateConnectionKeys()
110 final MacAlg macAlg; field in CipherSuite139 macAlg = M_MD5; in CipherSuite()141 macAlg = M_SHA; in CipherSuite()143 macAlg = M_SHA256; in CipherSuite()145 macAlg = M_SHA384; in CipherSuite()147 macAlg = M_NULL; in CipherSuite()149 macAlg = M_NULL; in CipherSuite()174 this.macAlg = null; in CipherSuite()