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:
Diffstat (limited to 'core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java')
-rw-r--r--core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java44
1 files changed, 0 insertions, 44 deletions
diff --git a/core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java b/core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java
deleted file mode 100644
index c651d873..00000000
--- a/core/src/test/java/org/bouncycastle/crypto/test/CAST5Test.java
+++ /dev/null
@@ -1,44 +0,0 @@
-package org.bouncycastle.crypto.test;
-
-import org.bouncycastle.crypto.engines.CAST5Engine;
-import org.bouncycastle.crypto.params.KeyParameter;
-import org.bouncycastle.util.encoders.Hex;
-import org.bouncycastle.util.test.SimpleTest;
-
-/**
- * cast tester - vectors from http://www.ietf.org/rfc/rfc2144.txt
- */
-public class CAST5Test
- extends CipherTest
-{
- static SimpleTest[] tests = {
- new BlockCipherVectorTest(0, new CAST5Engine(),
- new KeyParameter(Hex.decode("0123456712345678234567893456789A")),
- "0123456789ABCDEF",
- "238B4FE5847E44B2"),
- new BlockCipherVectorTest(0, new CAST5Engine(),
- new KeyParameter(Hex.decode("01234567123456782345")),
- "0123456789ABCDEF",
- "EB6A711A2C02271B"),
- new BlockCipherVectorTest(0, new CAST5Engine(),
- new KeyParameter(Hex.decode("0123456712")),
- "0123456789ABCDEF",
- "7Ac816d16E9B302E"),
- };
-
- CAST5Test()
- {
- super(tests, new CAST5Engine(), new KeyParameter(new byte[16]));
- }
-
- public String getName()
- {
- return "CAST5";
- }
-
- public static void main(
- String[] args)
- {
- runTest(new CAST5Test());
- }
-}