diff options
Diffstat (limited to 'gnu/javax/crypto/mode')
-rw-r--r-- | gnu/javax/crypto/mode/BaseMode.java | 12 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/CBC.java | 6 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/CFB.java | 6 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/CTR.java | 10 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/EAX.java | 2 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/ECB.java | 6 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/IAuthenticatedMode.java | 2 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/ICM.java | 6 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/IMode.java | 4 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/ModeFactory.java | 6 | ||||
-rw-r--r-- | gnu/javax/crypto/mode/OFB.java | 6 |
11 files changed, 33 insertions, 33 deletions
diff --git a/gnu/javax/crypto/mode/BaseMode.java b/gnu/javax/crypto/mode/BaseMode.java index 02e432290..831dd9664 100644 --- a/gnu/javax/crypto/mode/BaseMode.java +++ b/gnu/javax/crypto/mode/BaseMode.java @@ -1,4 +1,4 @@ -/* BaseMode.java -- +/* BaseMode.java -- Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -74,7 +74,7 @@ public abstract class BaseMode /** * Trivial constructor for use by concrete subclasses. - * + * * @param name the canonical name prefix of this mode. * @param underlyingCipher the implementation of the underlying cipher. * @param cipherBlockSize the block size, in bytes, in which to operate the @@ -124,7 +124,7 @@ public abstract class BaseMode * the same block size as its underlying block cipher. As mentioned earlier, * the block size of the underlying block cipher itself is specified in one of * the method(s) available in the factory class. - * + * * @return the default value, in bytes, of the mode's block size. * @see ModeFactory */ @@ -136,7 +136,7 @@ public abstract class BaseMode /** * Returns the default value, in bytes, of the underlying block cipher key * size. - * + * * @return the default value, in bytes, of the underlying cipher's key size. */ public int defaultKeySize() @@ -152,7 +152,7 @@ public abstract class BaseMode * is that currently configured for the underlying block cipher. Concrete * implementations may override this behaviour to signal their ability to * support other values. - * + * * @return an {@link Iterator} over the supported block sizes. */ public Iterator blockSizes() @@ -166,7 +166,7 @@ public abstract class BaseMode * Returns an {@link Iterator} over the supported underlying block cipher key * sizes. Each element returned by this object is an instance of * {@link Integer}. - * + * * @return an {@link Iterator} over the supported key sizes. */ public Iterator keySizes() diff --git a/gnu/javax/crypto/mode/CBC.java b/gnu/javax/crypto/mode/CBC.java index f3b3fb331..31c445f4e 100644 --- a/gnu/javax/crypto/mode/CBC.java +++ b/gnu/javax/crypto/mode/CBC.java @@ -1,4 +1,4 @@ -/* CBC.java -- +/* CBC.java -- Copyright (C) 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -45,7 +45,7 @@ import gnu.javax.crypto.cipher.IBlockCipher; * The Cipher Block Chaining mode. This mode introduces feedback into the cipher * by XORing the previous ciphertext block with the plaintext block before * encipherment. That is, encrypting looks like this: - * + * * <pre> * C<sub>i</sub> = E<sub>K</sub>(P<sub>i</sub>ˆ C<sub>i-1</sub>) * </pre> @@ -66,7 +66,7 @@ public class CBC /** * Package-private constructor for the factory class. - * + * * @param underlyingCipher The cipher implementation. * @param cipherBlockSize The cipher's block size. */ diff --git a/gnu/javax/crypto/mode/CFB.java b/gnu/javax/crypto/mode/CFB.java index 6fc006373..c5f06e11c 100644 --- a/gnu/javax/crypto/mode/CFB.java +++ b/gnu/javax/crypto/mode/CFB.java @@ -1,4 +1,4 @@ -/* CFB.java -- +/* CFB.java -- Copyright (C) 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -83,7 +83,7 @@ public class CFB /** * Package-private constructor for the factory class. - * + * * @param underlyingCipher The cipher implementation. * @param cipherBlockSize The cipher's block size. */ @@ -94,7 +94,7 @@ public class CFB /** * Cloneing constructor. - * + * * @param that The instance being cloned. */ private CFB(CFB that) diff --git a/gnu/javax/crypto/mode/CTR.java b/gnu/javax/crypto/mode/CTR.java index 0c856b483..56ea58c25 100644 --- a/gnu/javax/crypto/mode/CTR.java +++ b/gnu/javax/crypto/mode/CTR.java @@ -1,4 +1,4 @@ -/* CTR.java -- +/* CTR.java -- Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -49,14 +49,14 @@ import java.util.Iterator; * The implementation of the Counter Mode. * <p> * The algorithm steps are formally described as follows: - * + * * <pre> * CTR Encryption: O[j] = E(K)(T[j]); for j = 1, 2...n; * C[j] = P[j] ˆ O[j]; for j = 1, 2...n. * CTR Decryption: O[j] = E(K)(T[j]); for j = 1, 2...n; * P[j] = C[j] ˆ O[j]; for j = 1, 2...n. * </pre> - * + * * <p> * where <code>P</code> is the plaintext, <code>C</code> is the ciphertext, * <code>E(K)</code> is the underlying block cipher encryption function @@ -83,7 +83,7 @@ public class CTR /** * Trivial package-private constructor for use by the Factory class. - * + * * @param underlyingCipher the underlying cipher implementation. * @param cipherBlockSize the underlying cipher block size to use. */ @@ -94,7 +94,7 @@ public class CTR /** * Private constructor for cloning purposes. - * + * * @param that the instance to clone. */ private CTR(CTR that) diff --git a/gnu/javax/crypto/mode/EAX.java b/gnu/javax/crypto/mode/EAX.java index 401616b9f..b3e4a6a4e 100644 --- a/gnu/javax/crypto/mode/EAX.java +++ b/gnu/javax/crypto/mode/EAX.java @@ -1,4 +1,4 @@ -/* EAX.java -- +/* EAX.java -- Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. diff --git a/gnu/javax/crypto/mode/ECB.java b/gnu/javax/crypto/mode/ECB.java index 665e526ca..7e02b0187 100644 --- a/gnu/javax/crypto/mode/ECB.java +++ b/gnu/javax/crypto/mode/ECB.java @@ -1,4 +1,4 @@ -/* ECB.java -- +/* ECB.java -- Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -75,7 +75,7 @@ public class ECB { /** * Trivial package-private constructor for use by the Factory class. - * + * * @param underlyingCipher the underlying cipher implementation. * @param cipherBlockSize the underlying cipher block size to use. */ @@ -86,7 +86,7 @@ public class ECB /** * Private constructor for cloning purposes. - * + * * @param that the mode to clone. */ private ECB(ECB that) diff --git a/gnu/javax/crypto/mode/IAuthenticatedMode.java b/gnu/javax/crypto/mode/IAuthenticatedMode.java index 703679dc0..51a5547f2 100644 --- a/gnu/javax/crypto/mode/IAuthenticatedMode.java +++ b/gnu/javax/crypto/mode/IAuthenticatedMode.java @@ -1,4 +1,4 @@ -/* IAuthenticatedMode.java -- +/* IAuthenticatedMode.java -- Copyright (C) 2004, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. diff --git a/gnu/javax/crypto/mode/ICM.java b/gnu/javax/crypto/mode/ICM.java index 833ddb18f..a4737bcdf 100644 --- a/gnu/javax/crypto/mode/ICM.java +++ b/gnu/javax/crypto/mode/ICM.java @@ -1,4 +1,4 @@ -/* ICM.java -- +/* ICM.java -- Copyright (C) 2001, 2002, 2003, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -103,7 +103,7 @@ public class ICM /** * Trivial package-private constructor for use by the Factory class. - * + * * @param underlyingCipher the underlying cipher implementation. * @param cipherBlockSize the underlying cipher block size to use. */ @@ -114,7 +114,7 @@ public class ICM /** * Private constructor for cloning purposes. - * + * * @param that the instance to clone. */ private ICM(ICM that) diff --git a/gnu/javax/crypto/mode/IMode.java b/gnu/javax/crypto/mode/IMode.java index 30485117d..72c99ba73 100644 --- a/gnu/javax/crypto/mode/IMode.java +++ b/gnu/javax/crypto/mode/IMode.java @@ -1,4 +1,4 @@ -/* IMode.java -- +/* IMode.java -- Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -110,7 +110,7 @@ public interface IMode * A convenience method. Effectively invokes the <code>encryptBlock()</code> * or <code>decryptBlock()</code> method depending on the operational state * of the instance. - * + * * @param in the plaintext. * @param inOffset index of <code>in</code> from which to start considering * data. diff --git a/gnu/javax/crypto/mode/ModeFactory.java b/gnu/javax/crypto/mode/ModeFactory.java index d1acdf4e5..c1108ea11 100644 --- a/gnu/javax/crypto/mode/ModeFactory.java +++ b/gnu/javax/crypto/mode/ModeFactory.java @@ -1,4 +1,4 @@ -/* ModeFactory.java -- +/* ModeFactory.java -- Copyright (C) 2001, 2002, 2004, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -65,7 +65,7 @@ public class ModeFactory /** * Returns an instance of a block cipher mode of operations given its name and * characteristics of the underlying block cipher. - * + * * @param mode the case-insensitive name of the mode of operations. * @param cipher the case-insensitive name of the block cipher. * @param cipherBlockSize the block size, in bytes, of the underlying cipher. @@ -126,7 +126,7 @@ public class ModeFactory /** * Returns a {@link Set} of names of mode supported by this <i>Factory</i>. - * + * * @return a {@link Set} of mode names (Strings). */ public static final Set getNames() diff --git a/gnu/javax/crypto/mode/OFB.java b/gnu/javax/crypto/mode/OFB.java index c8b6d7e97..087f99132 100644 --- a/gnu/javax/crypto/mode/OFB.java +++ b/gnu/javax/crypto/mode/OFB.java @@ -1,4 +1,4 @@ -/* OFB.java -- +/* OFB.java -- Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc. This file is a part of GNU Classpath. @@ -125,7 +125,7 @@ public class OFB /** * Trivial package-private constructor for use by the Factory class. - * + * * @param underlyingCipher the underlying cipher implementation. * @param cipherBlockSize the underlying cipher block size to use. */ @@ -136,7 +136,7 @@ public class OFB /** * Private constructor for cloning purposes. - * + * * @param that the mode to clone. */ private OFB(OFB that) |