Searched refs:macAlg (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DMAC.java62 private final MacAlg macAlg; field in class:MAC
88 macAlg = M_NULL;
96 MAC(MacAlg macAlg, ProtocolVersion protocolVersion, SecretKey key) argument
98 this.macAlg = macAlg;
99 this.macSize = macAlg.size;
104 if (macAlg == M_MD5) {
106 } else if (macAlg == M_SHA) {
108 } else if (macAlg == M_SHA256) {
110 } else if (macAlg
[all...]
H A DSSLAlgorithmConstraints.java368 protected Set<String> decomposes(MacAlg macAlg) { argument
371 if (macAlg == CipherSuite.M_MD5) {
374 } else if (macAlg == CipherSuite.M_SHA) {
378 } else if (macAlg == CipherSuite.M_SHA256) {
382 } else if (macAlg == CipherSuite.M_SHA384) {
421 if (cipherSuite.macAlg != null) {
422 components.addAll(decomposes(cipherSuite.macAlg));
459 // to cipherSuite.cipher and cipherSuite.macAlg.
H A DHandshaker.java706 MacAlg macAlg = cipherSuite.macAlg;
709 mac = macAlg.newMac(protocolVersion, svrMacSecret);
712 mac = macAlg.newMac(protocolVersion, clntMacSecret);
722 MacAlg macAlg = cipherSuite.macAlg;
725 mac = macAlg.newMac(protocolVersion, clntMacSecret);
728 mac = macAlg.newMac(protocolVersion, svrMacSecret);
1158 int hashSize = cipherSuite.macAlg.size;
H A DCipherSuite.java110 final MacAlg macAlg; field in class:CipherSuite
139 macAlg = M_MD5;
141 macAlg = M_SHA;
143 macAlg = M_SHA256;
145 macAlg = M_SHA384;
147 macAlg = M_NULL;
149 macAlg = M_NULL;
174 this.macAlg = null;

Completed in 397 milliseconds