Surefire Report

Summary

[Summary] [Package List] [Test Cases]


Tests Errors Failures Skipped Success Rate Time
193 0 0 0 100% 5.622

Note: failures are anticipated and checked for with assertions while errors are unanticipated.


Package List

[Summary] [Package List] [Test Cases]


Package Tests Errors Failures Skipped Success Rate Time
civitas.crypto.algorithms 14 0 0 0 100% 0.336
civitas.crypto.proofdisclog 6 0 0 0 100% 2.063
civitas.crypto.rsakeypair 1 0 0 0 100% 0.006
civitas.crypto.encoder 11 0 0 0 100% 0.03
civitas.crypto.keypairshare 1 0 0 0 100% 0.005
civitas.crypto.keyshare 12 0 0 0 100% 0.113
civitas.crypto.publickeyciphertext 1 0 0 0 100% 0.004
civitas.crypto.proofvote 3 0 0 0 100% 0.061
civitas.crypto.signature 7 0 0 0 100% 0.085
civitas.crypto.votecapabilityshare 4 0 0 0 100% 0.021
civitas.crypto.proof1ofl 10 0 0 0 100% 0.291
civitas.crypto.parameters 21 0 0 0 100% 1.581
civitas.crypto.sharedkeyciphertext 1 0 0 0 100% 0.004
civitas.crypto.reencryptfactor 1 0 0 0 100% 0.006
civitas.crypto.proofdvr 7 0 0 0 100% 0.138
civitas.crypto.rsaprivatekey 2 0 0 0 100% 0.028
civitas.crypto.petcommitment 3 0 0 0 100% 0.017
civitas.crypto.ciphertext 9 0 0 0 100% 0.11
civitas.crypto.proofknowndisclog 7 0 0 0 100% 0.058
civitas.crypto.publickey 7 0 0 0 100% 0.03
civitas.crypto.sharedkey 6 0 0 0 100% 0.047
civitas.crypto.petshare 4 0 0 0 100% 0.025
civitas.crypto.oneoflreencryption 3 0 0 0 100% 0.091
civitas.crypto.keypair 1 0 0 0 100% 0.024
civitas.crypto.rsapublickey 15 0 0 0 100% 0.181
civitas.crypto.signedciphertext 1 0 0 0 100% 0.043
civitas.crypto.decriptionshare 13 0 0 0 100% 0.086
civitas.crypto.msg 8 0 0 0 100% 0.062
civitas.crypto 3 0 0 0 100% 0.003
civitas.crypto.petdecommitment 11 0 0 0 100% 0.073

Note: package statistics are not computed recursively, they only sum up all of its testsuites numbers.

civitas.crypto.algorithms

Class Tests Errors Failures Skipped Success Rate Time
GenerateRandomIntTest 3 0 0 0 100% 0.013
CreateFreshNonceTest 3 0 0 0 100% 0.011
ConvertHashToBigIntTest 1 0 0 0 100% 0.001
CreateFreshNonceBase64Test 3 0 0 0 100% 0.027
CreatePermutationTest 1 0 0 0 100% 0.022
GetRandomGeneratorTest 1 0 0 0 100% 0.26
ConvertToBase64Test 2 0 0 0 100% 0.002

civitas.crypto.proofdisclog

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofDiscLogEqualityTest 5 0 0 0 100% 1.003
ElGamalProofDiscLogEqualityTest 1 0 0 0 100% 1.06

civitas.crypto.rsakeypair

Class Tests Errors Failures Skipped Success Rate Time
GenerateKeyPairTest 1 0 0 0 100% 0.006

civitas.crypto.encoder

Class Tests Errors Failures Skipped Success Rate Time
SchnorrPrimeDecodeTest 1 0 0 0 100% 0.003
SafePrimeEncodeTest 2 0 0 0 100% 0.005
SafePrimeDecodeTest 5 0 0 0 100% 0.01
SchnorrPrimeEncodeTest 3 0 0 0 100% 0.012

civitas.crypto.keypairshare

Class Tests Errors Failures Skipped Success Rate Time
GenerateKeyPairShareTest 1 0 0 0 100% 0.005

civitas.crypto.keyshare

Class Tests Errors Failures Skipped Success Rate Time
ConstructElGamalKeyShareTest 3 0 0 0 100% 0.062
VerifyElGamalKeyShareTest 3 0 0 0 100% 0.032
CombineKeySharesTest 6 0 0 0 100% 0.019

civitas.crypto.publickeyciphertext

Class Tests Errors Failures Skipped Success Rate Time
EncryptPublicTest 1 0 0 0 100% 0.004

civitas.crypto.proofvote

Class Tests Errors Failures Skipped Success Rate Time
ConstructProofVoteTest 1 0 0 0 100% 0.023
VerifyProofVoteTest 2 0 0 0 100% 0.038

civitas.crypto.signature

Class Tests Errors Failures Skipped Success Rate Time
SignWithPublicKeyTest 3 0 0 0 100% 0.04
VerifyElGamalSignatureTest 4 0 0 0 100% 0.045

civitas.crypto.votecapabilityshare

Class Tests Errors Failures Skipped Success Rate Time
GenerateVoteCapabilityShareTest 1 0 0 0 100% 0.014
CombineVoteCapabilitySharesTest 3 0 0 0 100% 0.007

civitas.crypto.proof1ofl

Class Tests Errors Failures Skipped Success Rate Time
ConstructWellKnownCiphertextsTest 4 0 0 0 100% 0.077
VerifyElGamal1OfLReencryptionTest 2 0 0 0 100% 0.057
VerifyElGamalProof1OfLTest 3 0 0 0 100% 0.107
ConstructElGamalProof1OfLTest 1 0 0 0 100% 0.05

civitas.crypto.parameters

Class Tests Errors Failures Skipped Success Rate Time
LegendreSymbolTest 4 0 0 0 100% 0.017
SetUpDecodeMapTest 1 0 0 0 100% 0.005
GenerateElGamalParametersTest 3 0 0 0 100% 0.067
DecodeChoiceTest 2 0 0 0 100% 0.009
GenerateSafePrimeTest 1 0 0 0 100% 0.032
CalculateNumberOfPrimeTestsTest 1 0 0 0 100% 0.002
GenerateSchnorrPrimeTest 1 0 0 0 100% 0.34
FindGeneratorTest 1 0 0 0 100% 0.065
CheckGroupTest 7 0 0 0 100% 1.044

civitas.crypto.sharedkeyciphertext

Class Tests Errors Failures Skipped Success Rate Time
EncryptSharedTest 1 0 0 0 100% 0.004

civitas.crypto.reencryptfactor

Class Tests Errors Failures Skipped Success Rate Time
GenerateElGamalReencryptFactorTest 1 0 0 0 100% 0.006

civitas.crypto.proofdvr

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofDVRTest 3 0 0 0 100% 0.056
FakeElGamalProofDVRTest 2 0 0 0 100% 0.053
ConstructElGamalProofDVRTest 2 0 0 0 100% 0.029

civitas.crypto.rsaprivatekey

Class Tests Errors Failures Skipped Success Rate Time
CreatePrivateKeyFromBytesTest 2 0 0 0 100% 0.028

civitas.crypto.petcommitment

Class Tests Errors Failures Skipped Success Rate Time
ConstructPETCommitmentTest 1 0 0 0 100% 0.015
IsPetResultTest 2 0 0 0 100% 0.002

civitas.crypto.ciphertext

Class Tests Errors Failures Skipped Success Rate Time
ElGamalReencryptTest 2 0 0 0 100% 0.028
ElGamalEncryptTest 3 0 0 0 100% 0.031
MultiplyCiphertextsTest 4 0 0 0 100% 0.051

civitas.crypto.proofknowndisclog

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofKnowDiscLogTest 4 0 0 0 100% 0.014
ConstructProofKnowDiscLogTest 3 0 0 0 100% 0.044

civitas.crypto.publickey

Class Tests Errors Failures Skipped Success Rate Time
ElGamalPublicKeyIsAuthorizedTest 6 0 0 0 100% 0.029
GetElGamalPublicKeyNameTest 1 0 0 0 100% 0.001

civitas.crypto.sharedkey

Class Tests Errors Failures Skipped Success Rate Time
GenerateSharedKeyTest 1 0 0 0 100% 0.005
CreateSharedKeyFromBytesTest 2 0 0 0 100% 0.009
SharedKeyToWireTest 1 0 0 0 100% 0.004
DecryptSharedTest 1 0 0 0 100% 0.005
SharedKeyFromWireTest 1 0 0 0 100% 0.024

civitas.crypto.petshare

Class Tests Errors Failures Skipped Success Rate Time
ConstructPETShareTest 4 0 0 0 100% 0.025

civitas.crypto.oneoflreencryption

Class Tests Errors Failures Skipped Success Rate Time
ConstructElGamal1OfLReencryptionTest 3 0 0 0 100% 0.091

civitas.crypto.keypair

Class Tests Errors Failures Skipped Success Rate Time
GenerateElGamalKeyPairTest 1 0 0 0 100% 0.024

civitas.crypto.rsapublickey

Class Tests Errors Failures Skipped Success Rate Time
IsPublicKeyAuthorizedTest 2 0 0 0 100% 0.061
ConvertStringToPublicKeyTest 2 0 0 0 100% 0.009
DecryptPublicTest 1 0 0 0 100% 0.004
VerifyPublicKeySignatureTest 9 0 0 0 100% 0.105
ConvertPublicKeyToStringTest 1 0 0 0 100% 0.002

civitas.crypto.signedciphertext

Class Tests Errors Failures Skipped Success Rate Time
SignAndEncryptTest 1 0 0 0 100% 0.043

civitas.crypto.decriptionshare

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalDecryptionShareTest 11 0 0 0 100% 0.053
ConstructElGamalDecryptionShareTest 1 0 0 0 100% 0.026
CombineDecryptionSharesTest 1 0 0 0 100% 0.007

civitas.crypto.msg

Class Tests Errors Failures Skipped Success Rate Time
EncodeMessageTest 5 0 0 0 100% 0.019
DecryptElGamalMessageTest 3 0 0 0 100% 0.043

civitas.crypto

Class Tests Errors Failures Skipped Success Rate Time
CryptoErrorTest 3 0 0 0 100% 0.003

civitas.crypto.petdecommitment

Class Tests Errors Failures Skipped Success Rate Time
CombinePETShareDecommitmentsTest 4 0 0 0 100% 0.008
ConstructPETDecommitmentTest 2 0 0 0 100% 0.02
VerifyPETDecommitmentTest 5 0 0 0 100% 0.045

Test Cases

[Summary] [Package List] [Test Cases]

GenerateSharedKeyTest

test 0.005

CombinePETShareDecommitmentsTest

test 0.001
test2 0.001
test3 0.002
test4 0.002

ElGamalReencryptTest

test1_1 0.014
test1 0.01

GenerateVoteCapabilityShareTest

test 0.012

VerifyElGamalProofDiscLogEqualityTest

test0_1 0.223
test0_2 0.012
test0_3 0.021
test0_5 0.701
test0_6 0.01

ConstructWellKnownCiphertextsTest

test1_1 0.052
test 0.007
test1 0.006
test2 0.007

GenerateKeyPairTest

test 0.005

CreateSharedKeyFromBytesTest

test 0.006
test1 0.003

GenerateRandomIntTest

test2 0.004
test3 0.003
test4 0.004

LegendreSymbolTest

legendreSymbolTest 0.003
legendreSymbolTest1 0.002
legendreSymbolTest2 0.001
legendreSymbolTest3 0.005

SetUpDecodeMapTest

test 0.004

VerifyElGamalDecryptionShareTest

test4_1 0.027
test4_2 0.002
test4_3 0.003
test4_4 0.003
test4_5 0.002
test4_6 0.002
test4_7 0.001
test 0.002
test4 0.002
testg 0.002
testw 0.002

ConstructElGamalKeyShareTest

test_1 0.052
test_2 0.004
test 0.003

GenerateElGamalReencryptFactorTest

test 0.005

GenerateElGamalParametersTest

test_1 0.06
test_2 0.003
test_3 0.003

ConstructProofVoteTest

test2 0.02

EncodeMessageTest

test1_1 0.003
test1_2 0.003
test1_1_1 0.004
test 0.002
test1 0.004

IsPublicKeyAuthorizedTest

test2_2 0.058
test2 0.003

ElGamalEncryptTest

test0_1 0.016
test 0.006
test0 0.006

DecryptElGamalMessageTest

elGamalDecryptTest1 0.032
elGamalDecryptTest2 0.004
elGamalDecryptTest 0.004

GenerateElGamalKeyPairTest

generateElGamalKeyPairtest 0.022

ConstructElGamal1OfLReencryptionTest

test 0.057
test1 0.009
test2 0.016

CreateFreshNonceTest

test 0.003
test1 0.003
test2 0.004

VerifyElGamal1OfLReencryptionTest

test1 0.038
test2 0.008

SignAndEncryptTest

elGamalSignedEncryptTest 0.039

ElGamalProofDiscLogEqualityTest

construcProofTest 1.05

ConstructElGamalDecryptionShareTest

constructDecryptionShareTest 0.025

VerifyElGamalProofDVRTest

test2_1 0.014
test 0.018
test2 0.019

ConvertStringToPublicKeyTest

test 0.004
test1 0.005

SchnorrPrimeDecodeTest

test2 0.002

SharedKeyToWireTest

test2 0.004

VerifyElGamalProof1OfLTest

test 0.039
test1 0.053
test2 0.01

ConvertHashToBigIntTest

test 0.001

VerifyElGamalProofKnowDiscLogTest

verifyTest1 0.001
verifyTest2 0.001
verifyTest1_1 0.004
verifyTest 0.005

SignWithPublicKeyTest

test 0.028
test1 0.006
test2 0.005

ConstructElGamalProof1OfLTest

test1 0.047

SafePrimeEncodeTest

test 0.002
test2 0.002

SafePrimeDecodeTest

test3_1 0.001
test3_2 0.001
test 0.001
test3 0.001
test4 0.001

DecodeChoiceTest

test 0.005
test2 0.001

GenerateSafePrimeTest

safePrimeTest 0.031

MultiplyCiphertextsTest

test 0.012
test2 0.01
test3 0.012
test4 0.012

VerifyElGamalKeyShareTest

test1_3 0.023
test1_4 0.002
test1 0.003

CreateFreshNonceBase64Test

test 0.024
test1 0.002
test2 0.001

CombineKeySharesTest

test_1 0.004
test 0.002
test1 0.002
test2 0.002
test3 0.002
test4 0.002

FakeElGamalProofDVRTest

test1_1 0.026
test1_2 0.023

CalculateNumberOfPrimeTestsTest

test 0.002

ElGamalPublicKeyIsAuthorizedTest

equalsTest2 0.001
equalsTest3 0.022
test3 0.001
test4 0.001
test5 0.001
test6 0.002

ConstructProofKnowDiscLogTest

constructProofKnowDiscLogTest1 0.014
constructProofKnowDiscLogTest3 0.011
constructProofKnowDiscLogTest 0.015

CombineVoteCapabilitySharesTest

test 0.002
test1 0.001
test2 0.001

ConstructPETCommitmentTest

test6 0.012

VerifyElGamalSignatureTest

elGamalVerifyTest1 0.009
elGamalVerifyTest 0.013
t1 0.009
test 0.01

CombineDecryptionSharesTest

test 0.004

VerifyProofVoteTest

test2_1 0.019
test2_2 0.016

EncryptSharedTest

test 0.004

DecryptPublicTest

test 0.004

SchnorrPrimeEncodeTest

test 0.002
test1 0.003
test2 0.005

CreatePrivateKeyFromBytesTest

test 0.01
test1 0.015

GenerateKeyPairShareTest

generateKeyPairShareTest 0.005

ConstructPETShareTest

test 0.007
test2 0.005
test3 0.005
test4 0.004

ConstructElGamalProofDVRTest

test1_1 0.013
test1 0.012

EncryptPublicTest

test 0.004

GetElGamalPublicKeyNameTest

test2 0.001

GenerateSchnorrPrimeTest

schnorrPrimeTest2 0.338

IsPetResultTest

test 0.001
test1 0.001

DecryptSharedTest

test 0.004

ConstructPETDecommitmentTest

decommitmentTest 0.012
decommitmentNullTest 0.004

CreatePermutationTest

test 0.022

FindGeneratorTest

test 0.061

VerifyPETDecommitmentTest

test 0.013
test4 0.007
test5 0.007
test6 0.007
test7 0.007

GetRandomGeneratorTest

test 0.259

ConvertToBase64Test

test 0.001
test2 0.001

SharedKeyFromWireTest

test3 0.024

VerifyPublicKeySignatureTest

test1_1 0.035
test3_1 0.009
test4_1 0.008
test_1 0.007
test 0.008
test1 0.008
test2 0.008
test3 0.008
test4 0.008

ConvertPublicKeyToStringTest

test 0.001

CryptoErrorTest

test 0
test1 0
test2 0.001

CheckGroupTest

checkGroupTest1 0.002
checkGroupTest2 0.24
checkGroupTest3 0.002
checkGroupTest5 0.221
test_1 0.002
test 0.233
checkGroupTest 0.335