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.StringgetName()static voidmain(java.lang.String[] args)Main entry point.voidperformTest()voidtestFromVectorFile()Execute test vector file.
-
-
-
Method Detail
-
getName
public java.lang.String getName()
- Specified by:
getNamein interfaceTest- Specified by:
getNamein classSimpleTest
-
performTest
public void performTest() throws java.lang.Exception- Specified by:
performTestin classSimpleTest- Throws:
java.lang.Exception
-
testFromVectorFile
public void testFromVectorFile() throws java.lang.ExceptionExecute test vector file.- Throws:
java.lang.Exception
-
main
public static void main(java.lang.String[] args)
Main entry point.- Parameters:
args- the argyments
-
-