< prev index next >
src/java.base/share/classes/sun/security/provider/AbstractDrbg.java
Print this page
rev 58428 : [mq]: XXXXXXX-typos
@@ -488,11 +488,11 @@
//
// Technically it should be minEntropy, but CtrDRBG
// (not using derivation function) is so confusing
// (does it need only strength or seedlen of entropy?)
// that it's safer to assume minLength. In all other
- // cases minLength equals to minEntropy.
+ // cases minLength is equal to minEntropy.
return getEntropyInput(minLength, minLength, maxLength, isPr);
}
private byte[] getEntropyInput(int minEntropy, int minLength,
int maxLength, boolean pr) {
< prev index next >