summaryrefslogtreecommitdiff
path: root/libjava/classpath/gnu/javax/crypto/jce/cipher
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/gnu/javax/crypto/jce/cipher')
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java4
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/AESSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/ARCFourSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/AnubisSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/BlowfishSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/Cast5Spi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java12
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/DESSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java14
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/KhazadSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/NullCipherSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/PBES2.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/RijndaelSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/SerpentSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/SquareSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/TripleDESSpi.java2
-rw-r--r--libjava/classpath/gnu/javax/crypto/jce/cipher/TwofishSpi.java2
17 files changed, 29 insertions, 29 deletions
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java
index 973f5890bb4..08f4e78206a 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/AESKeyWrapSpi.java
@@ -56,7 +56,7 @@ abstract class AESKeyWrapSpi
* <p>
* In wrapping, the number of 8-byte output blocks is ALWAYS one block longer
* than the input.
- *
+ *
* @param inputLength the size of the plain text.
* @return the size in bytes of <code>n + 1</code> 8-byte blocks where
* <code>n</code> is the smallest number of 8-byte blocks that contain the
@@ -74,7 +74,7 @@ abstract class AESKeyWrapSpi
* <p>
* In unwrapping, the number of 8-byte output blocks is ALWAYS one block
* shorter than the input.
- *
+ *
* @param inputLength the size of the cipher text.
* @return the size in bytes of <code>n - 1</code> 8-byte blocks where
* <code>n</code> is the smallest number of 8-byte blocks that contain the
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/AESSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/AESSpi.java
index 1322e5e8a1a..4c3e1aecc8c 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/AESSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/AESSpi.java
@@ -1,4 +1,4 @@
-/* AESSpi.java --
+/* AESSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/ARCFourSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/ARCFourSpi.java
index abcb486b59b..2e1422e6bf9 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/ARCFourSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/ARCFourSpi.java
@@ -1,4 +1,4 @@
-/* ARCFourSpi.java --
+/* ARCFourSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/AnubisSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/AnubisSpi.java
index e35e4e724ac..ab0c64867f2 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/AnubisSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/AnubisSpi.java
@@ -1,4 +1,4 @@
-/* AnubisSpi.java --
+/* AnubisSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/BlowfishSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/BlowfishSpi.java
index fec200ca6c9..55d71dbf5a1 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/BlowfishSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/BlowfishSpi.java
@@ -1,4 +1,4 @@
-/* BlowfishSpi.java --
+/* BlowfishSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/Cast5Spi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/Cast5Spi.java
index bf080340001..95a663e2f6e 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/Cast5Spi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/Cast5Spi.java
@@ -1,4 +1,4 @@
-/* Cast5Spi.java --
+/* Cast5Spi.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java
index 0863b1f1c88..0871c54027d 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/CipherAdapter.java
@@ -1,4 +1,4 @@
-/* CipherAdapter.java --
+/* CipherAdapter.java --
Copyright (C) 2002, 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
@@ -110,7 +110,7 @@ class CipherAdapter
* should be the appropriate one listed in {@link Registry}. The basic cipher
* instance is created, along with an instance of the
* {@link gnu.javax.crypto.mode.ECB} mode and no padding.
- *
+ *
* @param cipherName The cipher to instantiate.
* @param blockLen The block length to use.
*/
@@ -125,7 +125,7 @@ class CipherAdapter
/**
* Creates a new cipher adapter with the default block size.
- *
+ *
* @param cipherName The cipher to instantiate.
*/
protected CipherAdapter(String cipherName)
@@ -236,7 +236,7 @@ class CipherAdapter
/**
* Executes initialization logic after all parameters have been handled by the
* engineInit()s.
- *
+ *
* @param opmode the desired mode of operation for this instance.
* @param key the key material to use for initialization.
* @param random a source of randmoness to use if/when needed.
@@ -288,7 +288,7 @@ class CipherAdapter
// cipher, that is less than or equal to the length of the kb array.
// set keyLen to kbLength. either the cipher implementation will throw
// an InvalidKeyException, or it is implemented in a way which can deal
- // with an unsupported key-size.
+ // with an unsupported key-size.
keyLen = kbLength;
}
if (keyLen < kbLength)
@@ -348,7 +348,7 @@ class CipherAdapter
{
throw new InvalidAlgorithmParameterException();
}
-
+
attributes.put(IMode.IV, ((IvParameterSpec) params).getIV());
blockLen = cipher.defaultBlockSize();
attributes.put(IBlockCipher.CIPHER_BLOCK_SIZE, Integer.valueOf(blockLen));
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/DESSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/DESSpi.java
index 21f62b4f046..0da913a4445 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/DESSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/DESSpi.java
@@ -1,4 +1,4 @@
-/* DESSpi.java --
+/* DESSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java
index 03356a236f7..97fdd5331eb 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/KeyWrappingAlgorithmAdapter.java
@@ -94,7 +94,7 @@ abstract class KeyWrappingAlgorithmAdapter
/**
* Creates a new JCE Adapter for the designated Key Wrapping Algorithm name.
- *
+ *
* @param name the canonical name of the key-wrapping algorithm.
* @param blockSize the block size in bytes of the underlying symmetric-key
* block cipher algorithm.
@@ -116,7 +116,7 @@ abstract class KeyWrappingAlgorithmAdapter
/**
* Wraps the encoded form of a designated {@link Key}.
- *
+ *
* @param key the key-material to wrap.
* @return the wrapped key.
* @throws InvalidKeyException If the key cannot be wrapped.
@@ -131,7 +131,7 @@ abstract class KeyWrappingAlgorithmAdapter
/**
* Unwraps a previously-wrapped key-material.
- *
+ *
* @param wrappedKey the wrapped key-material to unwrap.
* @param wrappedKeyAlgorithm the canonical name of the algorithm, which the
* unwrapped key-material represents. This name is used to
@@ -286,7 +286,7 @@ abstract class KeyWrappingAlgorithmAdapter
ivBytes = ((BlockCipherParameterSpec) params).getIV();
else if (params instanceof IvParameterSpec)
ivBytes = ((IvParameterSpec) params).getIV();
-
+
initAlgorithm(opmode, kekBytes, ivBytes, random);
}
@@ -341,7 +341,7 @@ abstract class KeyWrappingAlgorithmAdapter
* <code>kwaBlockSize</code> --passed to this method through its
* constructor-- greater than or equal to the designated
* <code>inputLength</code>.
- *
+ *
* @param inputLength the size of a plain text.
* @return an estimate of the size, in bytes, of the place holder to receive
* the resulting bytes of a wrap method.
@@ -360,7 +360,7 @@ abstract class KeyWrappingAlgorithmAdapter
* <code>paddingBlockSize</code> --passed to this method through its
* constructor-- greater than or equal to the designated
* <code>inputLength</code>.
- *
+ *
* @param inputLength the size of a cipher text.
* @return an estimate of the size, in bytes, of the place holder to receive
* the resulting bytes of an uwrap method.
@@ -383,7 +383,7 @@ abstract class KeyWrappingAlgorithmAdapter
/**
* Returns the key bytes, iff it was in RAW format.
- *
+ *
* @param key the opaque JCE secret key to use as the KEK.
* @return the bytes of the encoded form of the designated kek, iff it was in
* RAW format.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/KhazadSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/KhazadSpi.java
index 6e744a2f2d9..df0833fb5b4 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/KhazadSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/KhazadSpi.java
@@ -1,4 +1,4 @@
-/* KhazadSpi.java --
+/* KhazadSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/NullCipherSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/NullCipherSpi.java
index e50e00c8eae..70ff575dab7 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/NullCipherSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/NullCipherSpi.java
@@ -1,4 +1,4 @@
-/* NullCipherSpi.java --
+/* NullCipherSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/PBES2.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/PBES2.java
index 26a6a2c2db9..9961c15b1a4 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/PBES2.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/PBES2.java
@@ -1,4 +1,4 @@
-/* PBES2.java --
+/* PBES2.java --
Copyright (C) 2003, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/RijndaelSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/RijndaelSpi.java
index ad61bca599d..f25aca02896 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/RijndaelSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/RijndaelSpi.java
@@ -1,4 +1,4 @@
-/* RijndaelSpi.java --
+/* RijndaelSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/SerpentSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/SerpentSpi.java
index fa65d34a9be..1f17b18c80d 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/SerpentSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/SerpentSpi.java
@@ -1,4 +1,4 @@
-/* SerpentSpi.java --
+/* SerpentSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/SquareSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/SquareSpi.java
index bdc656eaedb..d08aa2cd384 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/SquareSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/SquareSpi.java
@@ -1,4 +1,4 @@
-/* SquareSpi.java --
+/* SquareSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/TripleDESSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/TripleDESSpi.java
index b9ec12b5110..c22409020a5 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/TripleDESSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/TripleDESSpi.java
@@ -1,4 +1,4 @@
-/* TripleDESSpi.java --
+/* TripleDESSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.
diff --git a/libjava/classpath/gnu/javax/crypto/jce/cipher/TwofishSpi.java b/libjava/classpath/gnu/javax/crypto/jce/cipher/TwofishSpi.java
index 206e0d9f877..a1bbe4b7169 100644
--- a/libjava/classpath/gnu/javax/crypto/jce/cipher/TwofishSpi.java
+++ b/libjava/classpath/gnu/javax/crypto/jce/cipher/TwofishSpi.java
@@ -1,4 +1,4 @@
-/* TwofishSpi.java --
+/* TwofishSpi.java --
Copyright (C) 2002, 2006 Free Software Foundation, Inc.
This file is a part of GNU Classpath.