Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.338
civitas.crypto.proofdisclog 6 0 0 0 100% 2.078
civitas.crypto.rsakeypair 1 0 0 0 100% 0.007
civitas.crypto.encoder 11 0 0 0 100% 0.033
civitas.crypto.keypairshare 1 0 0 0 100% 0.005
civitas.crypto.keyshare 12 0 0 0 100% 0.108
civitas.crypto.publickeyciphertext 1 0 0 0 100% 0.005
civitas.crypto.proofvote 3 0 0 0 100% 0.06
civitas.crypto.signature 7 0 0 0 100% 0.084
civitas.crypto.votecapabilityshare 4 0 0 0 100% 0.013
civitas.crypto.proof1ofl 10 0 0 0 100% 0.285
civitas.crypto.parameters 21 0 0 0 100% 1.69
civitas.crypto.sharedkeyciphertext 1 0 0 0 100% 0.005
civitas.crypto.reencryptfactor 1 0 0 0 100% 0.006
civitas.crypto.proofdvr 7 0 0 0 100% 0.148
civitas.crypto.rsaprivatekey 2 0 0 0 100% 0.036
civitas.crypto.petcommitment 3 0 0 0 100% 0.017
civitas.crypto.ciphertext 9 0 0 0 100% 0.133
civitas.crypto.proofknowndisclog 7 0 0 0 100% 0.059
civitas.crypto.publickey 7 0 0 0 100% 0.04
civitas.crypto.sharedkey 6 0 0 0 100% 0.047
civitas.crypto.petshare 4 0 0 0 100% 0.03
civitas.crypto.oneoflreencryption 3 0 0 0 100% 0.102
civitas.crypto.keypair 1 0 0 0 100% 0.023
civitas.crypto.rsapublickey 15 0 0 0 100% 0.202
civitas.crypto.signedciphertext 1 0 0 0 100% 0.052
civitas.crypto.decriptionshare 13 0 0 0 100% 0.095
civitas.crypto.msg 8 0 0 0 100% 0.051
civitas.crypto 3 0 0 0 100% 0.002
civitas.crypto.petdecommitment 11 0 0 0 100% 0.107

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.014
CreateFreshNonceTest 3 0 0 0 100% 0.019
ConvertHashToBigIntTest 1 0 0 0 100% 0.001
CreateFreshNonceBase64Test 3 0 0 0 100% 0.028
CreatePermutationTest 1 0 0 0 100% 0.023
GetRandomGeneratorTest 1 0 0 0 100% 0.25
ConvertToBase64Test 2 0 0 0 100% 0.003

civitas.crypto.proofdisclog

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofDiscLogEqualityTest 5 0 0 0 100% 0.983
ElGamalProofDiscLogEqualityTest 1 0 0 0 100% 1.095

civitas.crypto.rsakeypair

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

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.007
SafePrimeDecodeTest 5 0 0 0 100% 0.014
SchnorrPrimeEncodeTest 3 0 0 0 100% 0.009

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.06
VerifyElGamalKeyShareTest 3 0 0 0 100% 0.029
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.005

civitas.crypto.proofvote

Class Tests Errors Failures Skipped Success Rate Time
ConstructProofVoteTest 1 0 0 0 100% 0.021
VerifyProofVoteTest 2 0 0 0 100% 0.039

civitas.crypto.signature

Class Tests Errors Failures Skipped Success Rate Time
SignWithPublicKeyTest 3 0 0 0 100% 0.046
VerifyElGamalSignatureTest 4 0 0 0 100% 0.038

civitas.crypto.votecapabilityshare

Class Tests Errors Failures Skipped Success Rate Time
GenerateVoteCapabilityShareTest 1 0 0 0 100% 0.008
CombineVoteCapabilitySharesTest 3 0 0 0 100% 0.005

civitas.crypto.proof1ofl

Class Tests Errors Failures Skipped Success Rate Time
ConstructWellKnownCiphertextsTest 4 0 0 0 100% 0.083
VerifyElGamal1OfLReencryptionTest 2 0 0 0 100% 0.049
VerifyElGamalProof1OfLTest 3 0 0 0 100% 0.101
ConstructElGamalProof1OfLTest 1 0 0 0 100% 0.052

civitas.crypto.parameters

Class Tests Errors Failures Skipped Success Rate Time
LegendreSymbolTest 4 0 0 0 100% 0.023
SetUpDecodeMapTest 1 0 0 0 100% 0.01
GenerateElGamalParametersTest 3 0 0 0 100% 0.076
DecodeChoiceTest 2 0 0 0 100% 0.019
GenerateSafePrimeTest 1 0 0 0 100% 0.027
CalculateNumberOfPrimeTestsTest 1 0 0 0 100% 0.002
GenerateSchnorrPrimeTest 1 0 0 0 100% 0.387
FindGeneratorTest 1 0 0 0 100% 0.08
CheckGroupTest 7 0 0 0 100% 1.066

civitas.crypto.sharedkeyciphertext

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

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.065
FakeElGamalProofDVRTest 2 0 0 0 100% 0.046
ConstructElGamalProofDVRTest 2 0 0 0 100% 0.037

civitas.crypto.rsaprivatekey

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

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.021
ElGamalEncryptTest 3 0 0 0 100% 0.044
MultiplyCiphertextsTest 4 0 0 0 100% 0.068

civitas.crypto.proofknowndisclog

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofKnowDiscLogTest 4 0 0 0 100% 0.012
ConstructProofKnowDiscLogTest 3 0 0 0 100% 0.047

civitas.crypto.publickey

Class Tests Errors Failures Skipped Success Rate Time
ElGamalPublicKeyIsAuthorizedTest 6 0 0 0 100% 0.035
GetElGamalPublicKeyNameTest 1 0 0 0 100% 0.005

civitas.crypto.sharedkey

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

civitas.crypto.petshare

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

civitas.crypto.oneoflreencryption

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

civitas.crypto.keypair

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

civitas.crypto.rsapublickey

Class Tests Errors Failures Skipped Success Rate Time
IsPublicKeyAuthorizedTest 2 0 0 0 100% 0.067
ConvertStringToPublicKeyTest 2 0 0 0 100% 0.015
DecryptPublicTest 1 0 0 0 100% 0.006
VerifyPublicKeySignatureTest 9 0 0 0 100% 0.112
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.052

civitas.crypto.decriptionshare

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalDecryptionShareTest 11 0 0 0 100% 0.057
ConstructElGamalDecryptionShareTest 1 0 0 0 100% 0.029
CombineDecryptionSharesTest 1 0 0 0 100% 0.009

civitas.crypto.msg

Class Tests Errors Failures Skipped Success Rate Time
EncodeMessageTest 5 0 0 0 100% 0.018
DecryptElGamalMessageTest 3 0 0 0 100% 0.033

civitas.crypto

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

civitas.crypto.petdecommitment

Class Tests Errors Failures Skipped Success Rate Time
CombinePETShareDecommitmentsTest 4 0 0 0 100% 0.01
ConstructPETDecommitmentTest 2 0 0 0 100% 0.033
VerifyPETDecommitmentTest 5 0 0 0 100% 0.064

Test Cases

[Summary] [Package List] [Test Cases]

GenerateSharedKeyTest

test 0.004

CombinePETShareDecommitmentsTest

test 0.002
test2 0.002
test3 0.002
test4 0.002

ElGamalReencryptTest

test1_1 0.01
test1 0.009

GenerateVoteCapabilityShareTest

test 0.007

VerifyElGamalProofDiscLogEqualityTest

test0_1 0.178
test0_2 0.009
test0_3 0.013
test0_5 0.72
test0_6 0.017

ConstructWellKnownCiphertextsTest

test1_1 0.056
test 0.008
test1 0.007
test2 0.007

GenerateKeyPairTest

test 0.005

CreateSharedKeyFromBytesTest

test 0.003
test1 0.003

GenerateRandomIntTest

test2 0.005
test3 0.004
test4 0.004

LegendreSymbolTest

legendreSymbolTest 0.005
legendreSymbolTest1 0.001
legendreSymbolTest2 0.001
legendreSymbolTest3 0.01

SetUpDecodeMapTest

test 0.002

VerifyElGamalDecryptionShareTest

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

ConstructElGamalKeyShareTest

test_1 0.051
test_2 0.004
test 0.003

GenerateElGamalReencryptFactorTest

test 0.004

GenerateElGamalParametersTest

test_1 0.067
test_2 0.003
test_3 0.002

ConstructProofVoteTest

test2 0.017

EncodeMessageTest

test1_1 0.002
test1_2 0.005
test1_1_1 0.003
test 0.002
test1 0.004

IsPublicKeyAuthorizedTest

test2_2 0.064
test2 0.003

ElGamalEncryptTest

test0_1 0.018
test 0.011
test0 0.008

DecryptElGamalMessageTest

elGamalDecryptTest1 0.025
elGamalDecryptTest2 0.002
elGamalDecryptTest 0.002

GenerateElGamalKeyPairTest

generateElGamalKeyPairtest 0.02

ConstructElGamal1OfLReencryptionTest

test 0.058
test1 0.012
test2 0.02

CreateFreshNonceTest

test 0.004
test1 0.006
test2 0.006

VerifyElGamal1OfLReencryptionTest

test1 0.038
test2 0.005

SignAndEncryptTest

elGamalSignedEncryptTest 0.045

ElGamalProofDiscLogEqualityTest

construcProofTest 1.081

ConstructElGamalDecryptionShareTest

constructDecryptionShareTest 0.027

VerifyElGamalProofDVRTest

test2_1 0.02
test 0.021
test2 0.02

ConvertStringToPublicKeyTest

test 0.009
test1 0.005

SchnorrPrimeDecodeTest

test2 0.002

SharedKeyToWireTest

test2 0.003

VerifyElGamalProof1OfLTest

test 0.041
test1 0.049
test2 0.007

ConvertHashToBigIntTest

test 0.001

VerifyElGamalProofKnowDiscLogTest

verifyTest1 0.002
verifyTest2 0.001
verifyTest1_1 0.003
verifyTest 0.004

SignWithPublicKeyTest

test 0.031
test1 0.007
test2 0.006

ConstructElGamalProof1OfLTest

test1 0.048

SafePrimeEncodeTest

test 0.003
test2 0.001

SafePrimeDecodeTest

test3_1 0.001
test3_2 0.004
test 0.002
test3 0.001
test4 0.002

DecodeChoiceTest

test 0.001
test2 0.009

GenerateSafePrimeTest

safePrimeTest 0.026

MultiplyCiphertextsTest

test 0.022
test2 0.018
test3 0.011
test4 0.012

VerifyElGamalKeyShareTest

test1_3 0.022
test1_4 0.002
test1 0.002

CreateFreshNonceBase64Test

test 0.022
test1 0.002
test2 0.001

CombineKeySharesTest

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

FakeElGamalProofDVRTest

test1_1 0.022
test1_2 0.021

CalculateNumberOfPrimeTestsTest

test 0.001

ElGamalPublicKeyIsAuthorizedTest

equalsTest2 0.002
equalsTest3 0.024
test3 0.001
test4 0
test5 0.001
test6 0.002

ConstructProofKnowDiscLogTest

constructProofKnowDiscLogTest1 0.015
constructProofKnowDiscLogTest3 0.011
constructProofKnowDiscLogTest 0.017

CombineVoteCapabilitySharesTest

test 0.001
test1 0.001
test2 0.001

ConstructPETCommitmentTest

test6 0.012

VerifyElGamalSignatureTest

elGamalVerifyTest1 0.009
elGamalVerifyTest 0.009
t1 0.008
test 0.008

CombineDecryptionSharesTest

test 0.005

VerifyProofVoteTest

test2_1 0.02
test2_2 0.016

EncryptSharedTest

test 0.004

DecryptPublicTest

test 0.006

SchnorrPrimeEncodeTest

test 0.001
test1 0.001
test2 0.003

CreatePrivateKeyFromBytesTest

test 0.016
test1 0.016

GenerateKeyPairShareTest

generateKeyPairShareTest 0.005

ConstructPETShareTest

test 0.009
test2 0.007
test3 0.006
test4 0.005

ConstructElGamalProofDVRTest

test1_1 0.016
test1 0.017

EncryptPublicTest

test 0.005

GetElGamalPublicKeyNameTest

test2 0.004

GenerateSchnorrPrimeTest

schnorrPrimeTest2 0.386

IsPetResultTest

test 0.001
test1 0.001

DecryptSharedTest

test 0.004

ConstructPETDecommitmentTest

decommitmentTest 0.023
decommitmentNullTest 0.006

CreatePermutationTest

test 0.022

FindGeneratorTest

test 0.076

VerifyPETDecommitmentTest

test 0.014
test4 0.011
test5 0.011
test6 0.011
test7 0.01

GetRandomGeneratorTest

test 0.249

ConvertToBase64Test

test 0.001
test2 0

SharedKeyFromWireTest

test3 0.027

VerifyPublicKeySignatureTest

test1_1 0.041
test3_1 0.009
test4_1 0.009
test_1 0.008
test 0.009
test1 0.009
test2 0.009
test3 0.009
test4 0.008

ConvertPublicKeyToStringTest

test 0.002

CryptoErrorTest

test 0
test1 0.001
test2 0

CheckGroupTest

checkGroupTest1 0.002
checkGroupTest2 0.25
checkGroupTest3 0.001
checkGroupTest5 0.225
test_1 0.003
test 0.228
checkGroupTest 0.347