Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/quite/humla-spongycastle.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2014-06-21 10:20:00 +0400
committerPeter Dettman <peter.dettman@bouncycastle.org>2014-06-21 10:20:00 +0400
commit9069b733d96ddead68e53c231db7a0d156370bff (patch)
tree8a12519d8482f4ea7e4aa80ab97be4e0d65b2a3b /core/src/main/java/org/bouncycastle
parent3c81504ccfb70d7a525adcfddbb02260d6e0b3cf (diff)
Whitespace/spelling
Diffstat (limited to 'core/src/main/java/org/bouncycastle')
-rw-r--r--core/src/main/java/org/bouncycastle/crypto/encodings/PKCS1Encoding.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/src/main/java/org/bouncycastle/crypto/encodings/PKCS1Encoding.java b/core/src/main/java/org/bouncycastle/crypto/encodings/PKCS1Encoding.java
index 33ff5b2e..c27950a2 100644
--- a/core/src/main/java/org/bouncycastle/crypto/encodings/PKCS1Encoding.java
+++ b/core/src/main/java/org/bouncycastle/crypto/encodings/PKCS1Encoding.java
@@ -337,15 +337,15 @@ public class PKCS1Encoding
int inLen)
throws InvalidCipherTextException
{
- /*
- * If the lenght of the expected plaintext is known, we use a constant
- * time decryption. If the decryption fails, we return a random value.
- */
+ /*
+ * If the length of the expected plaintext is known, we use a constant-time decryption.
+ * If the decryption fails, we return a random value.
+ */
if (this.pLen != -1) {
return this.decodeBlockOrRandom(in, inOff, inLen);
}
- byte[] block = engine.processBlock(in, inOff, inLen);
+ byte[] block = engine.processBlock(in, inOff, inLen);
if (block.length < getOutputBlockSize())
{