Bouncy Castle Cryptography Library 1.64

org.bouncycastle.crypto.test
Class ZucTest

java.lang.Object
  |
  +--org.bouncycastle.util.test.SimpleTest
        |
        +--org.bouncycastle.crypto.test.ZucTest
All Implemented Interfaces:
Test

public class ZucTest
extends SimpleTest

Test Cases for Zuc128 and Zuc256. Test Vectors taken from https://www.gsma.com/aboutus/wp-content/uploads/2014/12/eea3eia3zucv16.pdf for Zuc128 and http://www.is.cas.cn/ztzl2016/zouchongzhi/201801/W020180126529970733243.pdf for Zuc256.


Constructor Summary
ZucTest()
           
 
Method Summary
 java.lang.String getName()
           
static void main(java.lang.String[] args)
          Main entry point.
 void performTest()
           
 
Methods inherited from class org.bouncycastle.util.test.SimpleTest
areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZucTest

public ZucTest()
Method Detail

getName

public java.lang.String getName()
Overrides:
getName in class SimpleTest

performTest

public void performTest()
                 throws java.lang.Exception
Overrides:
performTest in class SimpleTest

main

public static void main(java.lang.String[] args)
Main entry point.
Parameters:
args - the argyments

Bouncy Castle Cryptography Library 1.64