Fabcoin Core  0.16.2
P2P Digital Currency
Static Public Member Functions | List of all members
org.fabcoin.NativeSecp256k1Test Class Reference

This class holds test cases defined for testing this library. More...

Static Public Member Functions

static void testVerifyPos () throws AssertFailException
 This tests verify() for a valid signature. More...
 
static void testVerifyNeg () throws AssertFailException
 This tests verify() for a non-valid signature. More...
 
static void testSecKeyVerifyPos () throws AssertFailException
 This tests secret key verify() for a valid secretkey. More...
 
static void testSecKeyVerifyNeg () throws AssertFailException
 This tests secret key verify() for a invalid secretkey. More...
 
static void testPubKeyCreatePos () throws AssertFailException
 This tests public key create() for a valid secretkey. More...
 
static void testPubKeyCreateNeg () throws AssertFailException
 This tests public key create() for a invalid secretkey. More...
 
static void testSignPos () throws AssertFailException
 This tests sign() for a valid secretkey. More...
 
static void testSignNeg () throws AssertFailException
 This tests sign() for a invalid secretkey. More...
 
static void testPrivKeyTweakAdd_1 () throws AssertFailException
 This tests private key tweak-add. More...
 
static void testPrivKeyTweakMul_1 () throws AssertFailException
 This tests private key tweak-mul. More...
 
static void testPrivKeyTweakAdd_2 () throws AssertFailException
 This tests private key tweak-add uncompressed. More...
 
static void testPrivKeyTweakMul_2 () throws AssertFailException
 This tests private key tweak-mul uncompressed. More...
 
static void testRandomize () throws AssertFailException
 This tests seed randomization. More...
 
static void testCreateECDHSecret () throws AssertFailException
 
static void main (String[] args) throws AssertFailException
 

Detailed Description

This class holds test cases defined for testing this library.

Definition at line 12 of file NativeSecp256k1Test.java.

Member Function Documentation

static void org.fabcoin.NativeSecp256k1Test.main ( String[]  args) throws AssertFailException
inlinestatic

Definition at line 180 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testCreateECDHSecret ( ) throws AssertFailException
inlinestatic

Definition at line 170 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testPrivKeyTweakAdd_1 ( ) throws AssertFailException
inlinestatic

This tests private key tweak-add.

Definition at line 116 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testPrivKeyTweakAdd_2 ( ) throws AssertFailException
inlinestatic

This tests private key tweak-add uncompressed.

Definition at line 140 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testPrivKeyTweakMul_1 ( ) throws AssertFailException
inlinestatic

This tests private key tweak-mul.

Definition at line 128 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testPrivKeyTweakMul_2 ( ) throws AssertFailException
inlinestatic

This tests private key tweak-mul uncompressed.

Definition at line 152 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testPubKeyCreateNeg ( ) throws AssertFailException
inlinestatic

This tests public key create() for a invalid secretkey.

Definition at line 80 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testPubKeyCreatePos ( ) throws AssertFailException
inlinestatic

This tests public key create() for a valid secretkey.

Definition at line 69 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testRandomize ( ) throws AssertFailException
inlinestatic

This tests seed randomization.

Definition at line 164 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testSecKeyVerifyNeg ( ) throws AssertFailException
inlinestatic

This tests secret key verify() for a invalid secretkey.

Definition at line 57 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testSecKeyVerifyPos ( ) throws AssertFailException
inlinestatic

This tests secret key verify() for a valid secretkey.

Definition at line 45 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testSignNeg ( ) throws AssertFailException
inlinestatic

This tests sign() for a invalid secretkey.

Definition at line 104 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testSignPos ( ) throws AssertFailException
inlinestatic

This tests sign() for a valid secretkey.

Definition at line 91 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testVerifyNeg ( ) throws AssertFailException
inlinestatic

This tests verify() for a non-valid signature.

Definition at line 31 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:

static void org.fabcoin.NativeSecp256k1Test.testVerifyPos ( ) throws AssertFailException
inlinestatic

This tests verify() for a valid signature.

Definition at line 18 of file NativeSecp256k1Test.java.

Here is the call graph for this function:

Here is the caller graph for this function:


The documentation for this class was generated from the following file: