Surefire Report

Summary

[Summary] [Package List] [Test Cases]


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

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.009
civitas.crypto.oneoflreencryption.tests 3 0 0 0 100% 0.081
civitas.crypto.keypair.tests 1 0 0 0 100% 0.007
civitas.crypto.sharedkey.tests 6 0 0 0 100% 0.046
civitas.crypto.msg.tests 8 0 0 0 100% 0.067
civitas.crypto.signature.tests 7 0 0 0 100% 0.095
civitas.crypto.proofdvr.tests 7 0 0 0 100% 0.877
civitas.crypto.signedciphertext.tests 1 0 0 0 100% 0.038
civitas.crypto.petshare.tests 4 0 0 0 100% 0.067
civitas.crypto.votecapabilityshare.tests 4 0 0 0 100% 0.016
civitas.crypto.proofknowndisclog.tests 7 0 0 0 100% 0.081
civitas.crypto.keypairshare.tests 1 0 0 0 100% 0.008
civitas.crypto.decriptionshare.tests 13 0 0 0 100% 0.125
civitas.crypto.proofvote.tests 3 0 0 0 100% 0.09
civitas.crypto.algorithms.tests 14 0 0 0 100% 0.376
civitas.crypto.ciphertext.tests 9 0 0 0 100% 0.055
civitas.crypto.parameters.tests 21 0 0 0 100% 1.426
civitas.crypto.sharedkeyciphertext.tests 1 0 0 0 100% 0.009
civitas.crypto.publickey.tests 7 0 0 0 100% 0.036
civitas.crypto.encoder.tests 11 0 0 0 100% 0.224
civitas.crypto.petcommitment.tests 3 0 0 0 100% 0.02
civitas.crypto.rsakeypair.tests 1 0 0 0 100% 0.008
civitas.crypto.proofdisclog.tests 6 0 0 0 100% 0.088
civitas.crypto.keyshare.tests 12 0 0 0 100% 0.108
civitas.crypto.proof1ofl.tests 10 0 0 0 100% 0.362
civitas.crypto.petdecommitment.tests 11 0 0 0 100% 0.106
civitas.crypto.rsaprivatekey.tests 2 0 0 0 100% 1.321
civitas.crypto.reencryptfactor.tests 1 0 0 0 100% 0.007
civitas.crypto.rsapublickey.tests 15 0 0 0 100% 0.252
civitas.crypto.tests 3 0 0 0 100% 0.006

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.009

civitas.crypto.oneoflreencryption.tests

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

civitas.crypto.keypair.tests

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

civitas.crypto.sharedkey.tests

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

civitas.crypto.msg.tests

Class Tests Errors Failures Skipped Success Rate Time
DecryptElGamalMessageTest 3 0 0 0 100% 0.048
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.053
VerifyElGamalSignatureTest 4 0 0 0 100% 0.042

civitas.crypto.proofdvr.tests

Class Tests Errors Failures Skipped Success Rate Time
ConstructElGamalProofDVRTest 2 0 0 0 100% 0.069
FakeElGamalProofDVRTest 2 0 0 0 100% 0.7
VerifyElGamalProofDVRTest 3 0 0 0 100% 0.108

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.067

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.01

civitas.crypto.proofknowndisclog.tests

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofKnowDiscLogTest 4 0 0 0 100% 0.041
ConstructProofKnowDiscLogTest 3 0 0 0 100% 0.04

civitas.crypto.keypairshare.tests

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

civitas.crypto.decriptionshare.tests

Class Tests Errors Failures Skipped Success Rate Time
CombineDecryptionSharesTest 1 0 0 0 100% 0.014
ConstructElGamalDecryptionShareTest 1 0 0 0 100% 0.038
VerifyElGamalDecryptionShareTest 11 0 0 0 100% 0.073

civitas.crypto.proofvote.tests

Class Tests Errors Failures Skipped Success Rate Time
VerifyProofVoteTest 2 0 0 0 100% 0.037
ConstructProofVoteTest 1 0 0 0 100% 0.053

civitas.crypto.algorithms.tests

Class Tests Errors Failures Skipped Success Rate Time
ConvertHashToBigIntTest 1 0 0 0 100% 0.001
GenerateRandomIntTest 3 0 0 0 100% 0.015
GetRandomGeneratorTest 1 0 0 0 100% 0.288
CreateFreshNonceTest 3 0 0 0 100% 0.016
CreatePermutationTest 1 0 0 0 100% 0.022
ConvertToBase64Test 2 0 0 0 100% 0.005
CreateFreshNonceBase64Test 3 0 0 0 100% 0.029

civitas.crypto.ciphertext.tests

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

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.967
GenerateElGamalParametersTest 3 0 0 0 100% 0.066
LegendreSymbolTest 4 0 0 0 100% 0.007
CalculateNumberOfPrimeTestsTest 1 0 0 0 100% 0.001
SetUpDecodeMapTest 1 0 0 0 100% 0.001
GenerateSafePrimeTest 1 0 0 0 100% 0.022
GenerateSchnorrPrimeTest 1 0 0 0 100% 0.334
FindGeneratorTest 1 0 0 0 100% 0.025

civitas.crypto.sharedkeyciphertext.tests

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

civitas.crypto.publickey.tests

Class Tests Errors Failures Skipped Success Rate Time
ElGamalPublicKeyIsAuthorizedTest 6 0 0 0 100% 0.034
GetElGamalPublicKeyNameTest 1 0 0 0 100% 0.002

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.032
SafePrimeEncodeTest 2 0 0 0 100% 0.012
SchnorrPrimeEncodeTest 3 0 0 0 100% 0.174

civitas.crypto.petcommitment.tests

Class Tests Errors Failures Skipped Success Rate Time
ConstructPETCommitmentTest 1 0 0 0 100% 0.018
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.008

civitas.crypto.proofdisclog.tests

Class Tests Errors Failures Skipped Success Rate Time
VerifyElGamalProofDiscLogEqualityTest 5 0 0 0 100% 0.056
ElGamalProofDiscLogEqualityTest 1 0 0 0 100% 0.032

civitas.crypto.keyshare.tests

Class Tests Errors Failures Skipped Success Rate Time
CombineKeySharesTest 6 0 0 0 100% 0.041
VerifyElGamalKeyShareTest 3 0 0 0 100% 0.037
ConstructElGamalKeyShareTest 3 0 0 0 100% 0.03

civitas.crypto.proof1ofl.tests

Class Tests Errors Failures Skipped Success Rate Time
ConstructWellKnownCiphertextsTest 4 0 0 0 100% 0.109
ConstructElGamalProof1OfLTest 1 0 0 0 100% 0.061
VerifyElGamalProof1OfLTest 3 0 0 0 100% 0.138
VerifyElGamal1OfLReencryptionTest 2 0 0 0 100% 0.054

civitas.crypto.petdecommitment.tests

Class Tests Errors Failures Skipped Success Rate Time
CombinePETShareDecommitmentsTest 4 0 0 0 100% 0.012
ConstructPETDecommitmentTest 2 0 0 0 100% 0.028
VerifyPETDecommitmentTest 5 0 0 0 100% 0.066

civitas.crypto.rsaprivatekey.tests

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

civitas.crypto.reencryptfactor.tests

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

civitas.crypto.rsapublickey.tests

Class Tests Errors Failures Skipped Success Rate Time
IsPublicKeyAuthorizedTest 2 0 0 0 100% 0.072
ConvertStringToPublicKeyTest 2 0 0 0 100% 0.014
VerifyPublicKeySignatureTest 9 0 0 0 100% 0.157
ConvertPublicKeyToStringTest 1 0 0 0 100% 0.003
DecryptPublicTest 1 0 0 0 100% 0.006

civitas.crypto.tests

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

Test Cases

[Summary] [Package List] [Test Cases]

SignWithPublicKeyTest

test 0.031
test1 0.011
test2 0.01

EncryptPublicTest

test 0.007

CombinePETShareDecommitmentsTest

test 0.002
test2 0.002
test3 0.002
test4 0.002

ConvertHashToBigIntTest

test 0.001

DecodeChoiceTest

test 0.001
test2 0.001

GenerateKeyPairTest

test 0.008

VerifyElGamalProofKnowDiscLogTest

verifyTest1 0.026
verifyTest2 0.001
verifyTest1_1 0.005
verifyTest 0.007

IsPublicKeyAuthorizedTest

test2_2 0.068
test2 0.003

CheckGroupTest

checkGroupTest1 0.002
checkGroupTest2 0.235
checkGroupTest3 0.001
checkGroupTest5 0.226
test_1 0.001
test 0.207
checkGroupTest 0.292

ConstructPETCommitmentTest

test6 0.014

CreatePrivateKeyFromBytesTest

test 1.301
test1 0.014

IsPetResultTest

test 0.001
test1 0.001

CreateSharedKeyFromBytesTest

test 0.004
test1 0.004

ConstructElGamalProofDVRTest

test1_1 0.032
test1 0.032

ConvertStringToPublicKeyTest

test 0.009
test1 0.005

ConstructProofKnowDiscLogTest

constructProofKnowDiscLogTest1 0.012
constructProofKnowDiscLogTest3 0.009
constructProofKnowDiscLogTest 0.014

SchnorrPrimeDecodeTest

test2 0.003

CryptoErrorTest

test 0
test1 0.002
test2 0.001

CombineKeySharesTest

test_1 0.026
test 0.002
test1 0.002
test2 0.002
test3 0.002
test4 0.002

GenerateElGamalParametersTest

test_1 0.063
test_2 0.001
test_3 0.002

LegendreSymbolTest

legendreSymbolTest 0.001
legendreSymbolTest1 0.001
legendreSymbolTest2 0.001
legendreSymbolTest3 0.003

SafePrimeDecodeTest

test3_1 0.005
test3_2 0.002
test 0.005
test3 0.002
test4 0.006

CalculateNumberOfPrimeTestsTest

test 0

CombineDecryptionSharesTest

test 0.008

FakeElGamalProofDVRTest

test1_1 0.65
test1_2 0.043

VerifyPublicKeySignatureTest

test1_1 0.048
test3_1 0.019
test4_1 0.012
test_1 0.014
test 0.016
test1 0.01
test2 0.009
test3 0.01
test4 0.009

SignAndEncryptTest

elGamalSignedEncryptTest 0.036

ConstructWellKnownCiphertextsTest

test1_1 0.06
test 0.011
test1 0.011
test2 0.008

GenerateSharedKeyTest

test 0.004

SetUpDecodeMapTest

test 0.001

DecryptSharedTest

test 0.004

VerifyElGamalKeyShareTest

test1_3 0.028
test1_4 0.004
test1 0.002

GenerateRandomIntTest

test2 0.005
test3 0.004
test4 0.005

ElGamalEncryptTest

test0_1 0.013
test 0.005
test0 0.004

GetRandomGeneratorTest

test 0.288

ElGamalPublicKeyIsAuthorizedTest

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

VerifyElGamalSignatureTest

elGamalVerifyTest1 0.01
elGamalVerifyTest 0.009
t1 0.009
test 0.008

MultiplyCiphertextsTest

test 0.003
test2 0.003
test3 0.002
test4 0.003

ConstructPETDecommitmentTest

decommitmentTest 0.018
decommitmentNullTest 0.006

ElGamalReencryptTest

test1_1 0.008
test1 0.007

GenerateElGamalReencryptFactorTest

test 0.006

GenerateSafePrimeTest

safePrimeTest 0.02

ConstructElGamalDecryptionShareTest

constructDecryptionShareTest 0.033

SafePrimeEncodeTest

test 0.006
test2 0.003

ConstructElGamalProof1OfLTest

test1 0.058

VerifyPETDecommitmentTest

test 0.013
test4 0.012
test5 0.012
test6 0.011
test7 0.011

GenerateSchnorrPrimeTest

schnorrPrimeTest2 0.334

GenerateKeyPairShareTest

generateKeyPairShareTest 0.007

SchnorrPrimeEncodeTest

test 0.133
test1 0.003
test2 0.014

ConstructPETShareTest

test 0.02
test2 0.009
test3 0.013
test4 0.014

DecryptElGamalMessageTest

elGamalDecryptTest1 0.033
elGamalDecryptTest2 0.006
elGamalDecryptTest 0.006

GenerateElGamalKeyPairTest

generateElGamalKeyPairtest 0.007

CreateFreshNonceTest

test 0.006
test1 0.004
test2 0.003

FindGeneratorTest

test 0.024

CreatePermutationTest

test 0.021

VerifyElGamalProof1OfLTest

test 0.06
test1 0.065
test2 0.009

SharedKeyToWireTest

test2 0.002

VerifyElGamal1OfLReencryptionTest

test1 0.037
test2 0.008

VerifyElGamalProofDiscLogEqualityTest

test0_1 0.016
test0_2 0.009
test0_3 0.017
test0_5 0.005
test0_6 0.003

GetElGamalPublicKeyNameTest

test2 0.001

CombineVoteCapabilitySharesTest

test 0.001
test1 0.001
test2 0.001

VerifyProofVoteTest

test2_1 0.017
test2_2 0.015

EncodeMessageTest

test1_1 0.003
test1_2 0.003
test1_1_1 0.002
test 0.003
test1 0.005

ConvertToBase64Test

test 0.001
test2 0.003

EncryptSharedTest

test 0.009

ConstructProofVoteTest

test2 0.049

ConstructElGamalKeyShareTest

test_1 0.021
test_2 0.003
test 0.003

ElGamalProofDiscLogEqualityTest

construcProofTest 0.029

VerifyElGamalDecryptionShareTest

test4_1 0.027
test4_2 0.005
test4_3 0.004
test4_4 0.004
test4_5 0.004
test4_6 0.004
test4_7 0.004
test 0.004
test4 0.004
testg 0.004
testw 0.004

ConvertPublicKeyToStringTest

test 0.002

GenerateVoteCapabilityShareTest

test 0.008

SharedKeyFromWireTest

test3 0.026

ConstructElGamal1OfLReencryptionTest

test 0.058
test1 0.008
test2 0.008

DecryptPublicTest

test 0.005

VerifyElGamalProofDVRTest

test2_1 0.044
test 0.03
test2 0.027

CreateFreshNonceBase64Test

test 0.025
test1 0.001
test2 0.001