summary refs log tree commit diff
path: root/crypto/src
diff options
context:
space:
mode:
authorPeter Dettman <peter.dettman@bouncycastle.org>2022-11-27 11:51:02 +0700
committerPeter Dettman <peter.dettman@bouncycastle.org>2022-11-27 11:51:02 +0700
commit998296173779624a1ef42fc6febdb7178da5bef5 (patch)
tree545e7705673ba7d15182aeacadac7a69e77f6753 /crypto/src
parentRefactoring in Math.EC.Rfc8032 (diff)
downloadBouncyCastle.NET-ed25519-998296173779624a1ef42fc6febdb7178da5bef5.tar.xz
Update comments
Diffstat (limited to 'crypto/src')
-rw-r--r--crypto/src/crypto/engines/DesEdeWrapEngine.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/src/crypto/engines/DesEdeWrapEngine.cs b/crypto/src/crypto/engines/DesEdeWrapEngine.cs
index 6832ab9d6..07f751ab9 100644
--- a/crypto/src/crypto/engines/DesEdeWrapEngine.cs
+++ b/crypto/src/crypto/engines/DesEdeWrapEngine.cs
@@ -158,7 +158,7 @@ namespace Org.BouncyCastle.Crypto.Engines
             Array.Copy(this.iv, 0, TEMP2, 0, this.iv.Length);
             Array.Copy(TEMP1, 0, TEMP2, this.iv.Length, TEMP1.Length);
 
-            // Reverse the order of the octets in TEMP2 and call the result TEMP3.
+            // Reverse the order of the octets in TEMP2.
             Array.Reverse(TEMP2);
 
 			// Encrypt TEMP3 in CBC mode using the KEK and an initialization vector
@@ -232,7 +232,7 @@ namespace Org.BouncyCastle.Crypto.Engines
 				engine.ProcessBlock(input, inOff + currentBytePos, TEMP2, currentBytePos);
             }
 
-            // Reverse the order of the octets in TEMP3 and call the result TEMP2.
+            // Reverse the order of the octets in TEMP2.
             Array.Reverse(TEMP2);
 
 			// Decompose TEMP2 into IV, the first 8 octets, and TEMP1, the remaining octets.