org.bouncycastle.crypto.test
Class OneStepKDFTest
java.lang.Object
org.bouncycastle.util.test.SimpleTest
org.bouncycastle.crypto.test.OneStepKDFTest
- All Implemented Interfaces:
- Test
- public class OneStepKDFTest
- extends SimpleTest
SP 800-56C Rev. 2 Section 4.1 one-step KDF: the hash option against ConcatenationKDFGenerator, the HMAC
option against values computed independently (Python hmac: HMAC(salt, counter || Z || FixedInfo) for
counter 1, 2, []), and the KMAC option against a direct KMAC computation with the standard's single
invocation and default salt.
| Methods inherited from class org.bouncycastle.util.test.SimpleTest |
areEqual, areEqual, areEqual, fail, fail, fail, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isEquals, isTrue, isTrue, perform, runTest, runTest, runTests, runTests, testException |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OneStepKDFTest
public OneStepKDFTest()
getName
public java.lang.String getName()
- Specified by:
getName in interface Test- Specified by:
getName in class SimpleTest
performTest
public void performTest()
throws java.lang.Exception
- Specified by:
performTest in class SimpleTest
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)