Searched refs:blockLen (Results 1 - 2 of 2) sorted by relevance

/openjdk7/jdk/src/share/classes/com/sun/crypto/provider/
H A DHmacCore.java53 private final int blockLen; field in class:HmacCore
61 this.blockLen = bl;
62 this.k_ipad = new byte[blockLen];
63 this.k_opad = new byte[blockLen];
80 this.blockLen = other.blockLen;
125 if (secret.length > blockLen) {
133 for (int i = 0; i < blockLen; i++) {
/openjdk7/jdk/src/share/classes/sun/security/ssl/
H A DInputRecord.java288 int blockLen = signer.hashBlockLen();
291 // (blockLen - minimalPaddingLen) is the maximum message size of
294 fullLen += 13 - (blockLen - minimalPaddingLen);
295 usedLen += 13 - (blockLen - minimalPaddingLen);
297 // Note: fullLen is always not less than usedLen, and blockLen
302 return 0x01 + (int)(Math.ceil(fullLen/(1.0d * blockLen)) -
303 Math.ceil(usedLen/(1.0d * blockLen))) * signer.hashBlockLen();

Completed in 32 milliseconds