Package org.bouncycastle.crypto.test
Class LEATest
- java.lang.Object
-
- org.bouncycastle.util.test.SimpleTest
-
- org.bouncycastle.crypto.test.LEATest
-
- All Implemented Interfaces:
Test
public class LEATest extends SimpleTest
Test Cases for LEA Cipher. Test Vectors taken from https://en.wikipedia.org/wiki/LEA_(cipher).html
-
-
Constructor Summary
Constructors Constructor Description LEATest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getName()
static void
main(java.lang.String[] args)
Main entry point.void
performTest()
void
testFromVectorFile()
Execute test vector file.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getName
in interfaceTest
- Specified by:
getName
in classSimpleTest
-
performTest
public void performTest() throws java.lang.Exception
- Specified by:
performTest
in classSimpleTest
- Throws:
java.lang.Exception
-
testFromVectorFile
public void testFromVectorFile() throws java.lang.Exception
Execute test vector file.- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args)
Main entry point.- Parameters:
args
- the argyments
-
-