Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.publickeyciphertext.tests 1 0 0 0 100% 0.01
civitas.crypto.oneoflreencryption.tests 3 0 0 0 100% 0.077
civitas.crypto.keypair.tests 1 0 0 0 100% 0.008
civitas.crypto.sharedkey.tests 6 0 0 0 100% 0.054
civitas.crypto.msg.tests 8 0 0 0 100% 0.082
civitas.crypto.signature.tests 7 0 0 0 100% 0.114
civitas.crypto.proofdvr.tests 7 0 0 0 100% 0.803
civitas.crypto.signedciphertext.tests 1 0 0 0 100% 0.038
civitas.crypto.petshare.tests 4 0 0 0 100% 0.038
civitas.crypto.votecapabilityshare.tests 4 0 0 0 100% 0.017
civitas.crypto.proofknowndisclog.tests 7 0 0 0 100% 0.083
civitas.crypto.keypairshare.tests 1 0 0 0 100% 0.009
civitas.crypto.decriptionshare.tests 13 0 0 0 100% 0.146
civitas.crypto.proofvote.tests 3 0 0 0 100% 0.084
civitas.crypto.algorithms.tests 14 0 0 0 100% 0.386
civitas.crypto.ciphertext.tests 9 0 0 0 100% 0.064
civitas.crypto.parameters.tests 21 0 0 0 100% 1.297
civitas.crypto.sharedkeyciphertext.tests 1 0 0 0 100% 0.005
civitas.crypto.publickey.tests 7 0 0 0 100% 0.049
civitas.crypto.encoder.tests 11 0 0 0 100% 0.231
civitas.crypto.petcommitment.tests 3 0 0 0 100% 0.017
civitas.crypto.rsakeypair.tests 1 0 0 0 100% 0.007
civitas.crypto.proofdisclog.tests 6 0 0 0 100% 0.061
civitas.crypto.keyshare.tests 12 0 0 0 100% 0.101
civitas.crypto.proof1ofl.tests 10 0 0 0 100% 0.276
civitas.crypto.petdecommitment.tests 11 0 0 0 100% 0.104
civitas.crypto.rsaprivatekey.tests 2 0 0 0 100% 1.253
civitas.crypto.reencryptfactor.tests 1 0 0 0 100% 0.006
civitas.crypto.rsapublickey.tests 15 0 0 0 100% 0.212
civitas.crypto.tests 3 0 0 0 100% 0.002

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

civitas.crypto.publickeyciphertext.tests

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

civitas.crypto.oneoflreencryption.tests

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

civitas.crypto.keypair.tests

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

civitas.crypto.sharedkey.tests

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

civitas.crypto.msg.tests

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

civitas.crypto.signature.tests

Class Tests Errors Failures Skipped Success Rate Time
SignWithPublicKeyTest 3 0 0 0 100% 0.065
VerifyElGamalSignatureTest 4 0 0 0 100% 0.049

civitas.crypto.proofdvr.tests

Class Tests Errors Failures Skipped Success Rate Time
ConstructElGamalProofDVRTest 2 0 0 0 100% 0.062
FakeElGamalProofDVRTest 2 0 0 0 100% 0.645
VerifyElGamalProofDVRTest 3 0 0 0 100% 0.096

civitas.crypto.signedciphertext.tests

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

civitas.crypto.petshare.tests

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

civitas.crypto.votecapabilityshare.tests

Class Tests Errors Failures Skipped Success Rate Time
CombineVoteCapabilitySharesTest 3 0 0 0 100% 0.006
GenerateVoteCapabilityShareTest 1 0 0 0 100% 0.011

civitas.crypto.proofknowndisclog.tests

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofKnowDiscLogTest 4 0 0 0 100% 0.051
ConstructProofKnowDiscLogTest 3 0 0 0 100% 0.032

civitas.crypto.keypairshare.tests

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

civitas.crypto.decriptionshare.tests

Class Tests Errors Failures Skipped Success Rate Time
CombineDecryptionSharesTest 1 0 0 0 100% 0.013
ConstructElGamalDecryptionShareTest 1 0 0 0 100% 0.045
VerifyElGamalDecryptionShareTest 11 0 0 0 100% 0.088

civitas.crypto.proofvote.tests

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

civitas.crypto.algorithms.tests

Class Tests Errors Failures Skipped Success Rate Time
ConvertHashToBigIntTest 1 0 0 0 100% 0.002
GenerateRandomIntTest 3 0 0 0 100% 0.016
GetRandomGeneratorTest 1 0 0 0 100% 0.294
CreateFreshNonceTest 3 0 0 0 100% 0.014
CreatePermutationTest 1 0 0 0 100% 0.031
ConvertToBase64Test 2 0 0 0 100% 0.002
CreateFreshNonceBase64Test 3 0 0 0 100% 0.027

civitas.crypto.ciphertext.tests

Class Tests Errors Failures Skipped Success Rate Time
ElGamalEncryptTest 3 0 0 0 100% 0.029
MultiplyCiphertextsTest 4 0 0 0 100% 0.014
ElGamalReencryptTest 2 0 0 0 100% 0.021

civitas.crypto.parameters.tests

Class Tests Errors Failures Skipped Success Rate Time
DecodeChoiceTest 2 0 0 0 100% 0.003
CheckGroupTest 7 0 0 0 100% 0.829
GenerateElGamalParametersTest 3 0 0 0 100% 0.065
LegendreSymbolTest 4 0 0 0 100% 0.007
CalculateNumberOfPrimeTestsTest 1 0 0 0 100% 0.001
SetUpDecodeMapTest 1 0 0 0 100% 0.002
GenerateSafePrimeTest 1 0 0 0 100% 0.018
GenerateSchnorrPrimeTest 1 0 0 0 100% 0.341
FindGeneratorTest 1 0 0 0 100% 0.031

civitas.crypto.sharedkeyciphertext.tests

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

civitas.crypto.publickey.tests

Class Tests Errors Failures Skipped Success Rate Time
ElGamalPublicKeyIsAuthorizedTest 6 0 0 0 100% 0.045
GetElGamalPublicKeyNameTest 1 0 0 0 100% 0.004

civitas.crypto.encoder.tests

Class Tests Errors Failures Skipped Success Rate Time
SchnorrPrimeDecodeTest 1 0 0 0 100% 0.006
SafePrimeDecodeTest 5 0 0 0 100% 0.029
SafePrimeEncodeTest 2 0 0 0 100% 0.02
SchnorrPrimeEncodeTest 3 0 0 0 100% 0.176

civitas.crypto.petcommitment.tests

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.rsakeypair.tests

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

civitas.crypto.proofdisclog.tests

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofDiscLogEqualityTest 5 0 0 0 100% 0.037
ElGamalProofDiscLogEqualityTest 1 0 0 0 100% 0.024

civitas.crypto.keyshare.tests

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

civitas.crypto.proof1ofl.tests

Class Tests Errors Failures Skipped Success Rate Time
ConstructWellKnownCiphertextsTest 4 0 0 0 100% 0.096
ConstructElGamalProof1OfLTest 1 0 0 0 100% 0.047
VerifyElGamalProof1OfLTest 3 0 0 0 100% 0.086
VerifyElGamal1OfLReencryptionTest 2 0 0 0 100% 0.047

civitas.crypto.petdecommitment.tests

Class Tests Errors Failures Skipped Success Rate Time
CombinePETShareDecommitmentsTest 4 0 0 0 100% 0.014
ConstructPETDecommitmentTest 2 0 0 0 100% 0.025
VerifyPETDecommitmentTest 5 0 0 0 100% 0.065

civitas.crypto.rsaprivatekey.tests

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

civitas.crypto.reencryptfactor.tests

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

civitas.crypto.rsapublickey.tests

Class Tests Errors Failures Skipped Success Rate Time
IsPublicKeyAuthorizedTest 2 0 0 0 100% 0.065
ConvertStringToPublicKeyTest 2 0 0 0 100% 0.012
VerifyPublicKeySignatureTest 9 0 0 0 100% 0.125
ConvertPublicKeyToStringTest 1 0 0 0 100% 0.002
DecryptPublicTest 1 0 0 0 100% 0.008

civitas.crypto.tests

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

Test Cases

[Summary] [Package List] [Test Cases]

SignWithPublicKeyTest

test 0.041
test1 0.013
test2 0.009

EncryptPublicTest

test 0.007

CombinePETShareDecommitmentsTest

test 0.002
test2 0.004
test3 0.003
test4 0.002

ConvertHashToBigIntTest

test 0.001

DecodeChoiceTest

test 0.001
test2 0.001

GenerateKeyPairTest

test 0.006

VerifyElGamalProofKnowDiscLogTest

verifyTest1 0.033
verifyTest2 0.003
verifyTest1_1 0.005
verifyTest 0.005

IsPublicKeyAuthorizedTest

test2_2 0.06
test2 0.002

CheckGroupTest

checkGroupTest1 0.002
checkGroupTest2 0.178
checkGroupTest3 0.002
checkGroupTest5 0.167
test_1 0.001
test 0.163
checkGroupTest 0.314

ConstructPETCommitmentTest

test6 0.012

CreatePrivateKeyFromBytesTest

test 1.231
test1 0.015

IsPetResultTest

test 0.001
test1 0.001

CreateSharedKeyFromBytesTest

test 0.004
test1 0.004

ConstructElGamalProofDVRTest

test1_1 0.03
test1 0.027

ConvertStringToPublicKeyTest

test 0.005
test1 0.006

ConstructProofKnowDiscLogTest

constructProofKnowDiscLogTest1 0.011
constructProofKnowDiscLogTest3 0.008
constructProofKnowDiscLogTest 0.01

SchnorrPrimeDecodeTest

test2 0.004

CryptoErrorTest

test 0
test1 0.001
test2 0

CombineKeySharesTest

test_1 0.023
test 0.002
test1 0.002
test2 0.002
test3 0.002
test4 0.002

GenerateElGamalParametersTest

test_1 0.062
test_2 0.001
test_3 0.001

LegendreSymbolTest

legendreSymbolTest 0.001
legendreSymbolTest1 0.001
legendreSymbolTest2 0.001
legendreSymbolTest3 0.003

SafePrimeDecodeTest

test3_1 0.002
test3_2 0.002
test 0.002
test3 0.008
test4 0.007

CalculateNumberOfPrimeTestsTest

test 0

CombineDecryptionSharesTest

test 0.008

FakeElGamalProofDVRTest

test1_1 0.599
test1_2 0.038

VerifyPublicKeySignatureTest

test1_1 0.029
test3_1 0.011
test4_1 0.01
test_1 0.01
test 0.015
test1 0.01
test2 0.009
test3 0.009
test4 0.015

SignAndEncryptTest

elGamalSignedEncryptTest 0.036

ConstructWellKnownCiphertextsTest

test1_1 0.052
test 0.01
test1 0.009
test2 0.007

GenerateSharedKeyTest

test 0.004

SetUpDecodeMapTest

test 0.001

DecryptSharedTest

test 0.005

VerifyElGamalKeyShareTest

test1_3 0.022
test1_4 0.004
test1 0.003

GenerateRandomIntTest

test2 0.006
test3 0.004
test4 0.005

ElGamalEncryptTest

test0_1 0.015
test 0.006
test0 0.006

GetRandomGeneratorTest

test 0.293

ElGamalPublicKeyIsAuthorizedTest

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

VerifyElGamalSignatureTest

elGamalVerifyTest1 0.012
elGamalVerifyTest 0.011
t1 0.011
test 0.011

MultiplyCiphertextsTest

test 0.002
test2 0.002
test3 0.002
test4 0.003

ConstructPETDecommitmentTest

decommitmentTest 0.015
decommitmentNullTest 0.006

ElGamalReencryptTest

test1_1 0.009
test1 0.01

GenerateElGamalReencryptFactorTest

test 0.005

GenerateSafePrimeTest

safePrimeTest 0.018

ConstructElGamalDecryptionShareTest

constructDecryptionShareTest 0.04

SafePrimeEncodeTest

test 0.012
test2 0.004

ConstructElGamalProof1OfLTest

test1 0.044

VerifyPETDecommitmentTest

test 0.014
test4 0.011
test5 0.01
test6 0.011
test7 0.012

GenerateSchnorrPrimeTest

schnorrPrimeTest2 0.341

GenerateKeyPairShareTest

generateKeyPairShareTest 0.007

SchnorrPrimeEncodeTest

test 0.136
test1 0.003
test2 0.013

ConstructPETShareTest

test 0.01
test2 0.007
test3 0.007
test4 0.008

DecryptElGamalMessageTest

elGamalDecryptTest1 0.049
elGamalDecryptTest2 0.005
elGamalDecryptTest 0.005

GenerateElGamalKeyPairTest

generateElGamalKeyPairtest 0.008

CreateFreshNonceTest

test 0.005
test1 0.004
test2 0.004

FindGeneratorTest

test 0.03

CreatePermutationTest

test 0.03

VerifyElGamalProof1OfLTest

test 0.037
test1 0.037
test2 0.008

SharedKeyToWireTest

test2 0.003

VerifyElGamal1OfLReencryptionTest

test1 0.032
test2 0.007

VerifyElGamalProofDiscLogEqualityTest

test0_1 0.011
test0_2 0.006
test0_3 0.011
test0_5 0.003
test0_6 0.003

GetElGamalPublicKeyNameTest

test2 0.002

CombineVoteCapabilitySharesTest

test 0.001
test1 0.002
test2 0.001

VerifyProofVoteTest

test2_1 0.021
test2_2 0.02

EncodeMessageTest

test1_1 0.004
test1_2 0.003
test1_1_1 0.002
test 0.003
test1 0.004

ConvertToBase64Test

test 0.001
test2 0.001

EncryptSharedTest

test 0.004

ConstructProofVoteTest

test2 0.037

ConstructElGamalKeyShareTest

test_1 0.022
test_2 0.003
test 0.003

ElGamalProofDiscLogEqualityTest

construcProofTest 0.022

VerifyElGamalDecryptionShareTest

test4_1 0.034
test4_2 0.004
test4_3 0.003
test4_4 0.003
test4_5 0.004
test4_6 0.005
test4_7 0.006
test 0.004
test4 0.005
testg 0.005
testw 0.005

ConvertPublicKeyToStringTest

test 0.002

GenerateVoteCapabilityShareTest

test 0.01

SharedKeyFromWireTest

test3 0.032

ConstructElGamal1OfLReencryptionTest

test 0.054
test1 0.008
test2 0.007

DecryptPublicTest

test 0.006

VerifyElGamalProofDVRTest

test2_1 0.032
test 0.029
test2 0.028

CreateFreshNonceBase64Test

test 0.022
test1 0.002
test2 0.001