/external/epid-sdk/epid/member/unittests/ |
D | context-test.cc | 71 Prng my_prng; in TEST_F() 73 SetMemberParams(&Prng::Generate, &my_prng, nullptr, ¶ms); in TEST_F() 82 Prng my_prng; in TEST_F() 85 SetMemberParams(&Prng::Generate, &my_prng, nullptr, ¶ms); in TEST_F() 103 Prng my_prng; in TEST_F() 106 SetMemberParams(&Prng::Generate, &my_prng, &f, ¶ms); in TEST_F() 122 Prng my_prng; in TEST_F() 125 SetMemberParams(&Prng::Generate, &my_prng, &f, ¶ms); in TEST_F() 137 Prng my_prng; in TEST_F() 140 SetMemberParams(&Prng::Generate, &my_prng, nullptr, ¶ms); in TEST_F() [all …]
|
D | signbasic-test.cc | 45 Prng my_prng; in TEST_F() 47 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 65 Prng my_prng; in TEST_F() 67 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 74 Prng my_prng; in TEST_F() 76 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 94 Prng my_prng; in TEST_F() 96 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 105 Prng my_prng; in TEST_F() 107 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() [all …]
|
D | presig-test.cc | 45 Prng my_prng; in TEST_F() 47 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 53 Prng my_prng; in TEST_F() 55 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 63 Prng my_prng; in TEST_F() 65 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 75 Prng my_prng; in TEST_F() 77 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 98 Prng my_prng; in TEST_F() 100 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() [all …]
|
D | sign-test.cc | 45 Prng my_prng; in TEST_F() 47 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 69 Prng my_prng; in TEST_F() 71 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 93 Prng my_prng; in TEST_F() 95 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 110 Prng my_prng; in TEST_F() 111 MemberCtxObj member(&Prng::Generate, &my_prng); in TEST_F() 124 Prng my_prng; in TEST_F() 126 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() [all …]
|
D | nr_prove-test.cc | 35 Prng my_prng; in TEST_F() 37 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 72 Prng my_prng; in TEST_F() 74 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 100 Prng my_prng; in TEST_F() 104 &Prng::Generate, &my_prng); in TEST_F() 129 Prng my_prng; in TEST_F() 131 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 153 Prng my_prng; in TEST_F() 157 &Prng::Generate, &my_prng); in TEST_F() [all …]
|
D | join_request-test.cc | 128 Prng prng; in TEST_F() 130 SetMemberParams(Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 143 Prng prng; in TEST_F() 160 SetMemberParams(Prng::Generate, &prng, &f, ¶ms); in TEST_F() 170 Prng prng; in TEST_F() 185 SetMemberParams(Prng::Generate, &prng, &f, ¶ms); in TEST_F() 210 Prng prng; in TEST_F() 224 SetMemberParams(Prng::Generate, &prng, &f, ¶ms); in TEST_F() 235 Prng prng; in TEST_F() 244 SetMemberParams(Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() [all …]
|
D | provision_credential-test.cc | 54 Prng prng; in TEST_F() 66 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() 83 Prng prng; in TEST_F() 96 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() 122 Prng prng; in TEST_F() 134 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() 195 Prng prng; in TEST_F() 208 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() 220 Prng prng; in TEST_F() 232 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() [all …]
|
D | provision_key-test.cc | 53 Prng prng; in TEST_F() 58 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 75 Prng prng; in TEST_F() 80 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 89 Prng prng; in TEST_F() 101 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 109 Prng prng; in TEST_F() 116 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 177 Prng prng; in TEST_F() 187 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() [all …]
|
D | storage-test.cc | 40 Prng my_prng; in TEST_F() 42 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F() 61 Prng my_prng; in TEST_F() 63 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F() 76 Prng my_prng; in TEST_F() 78 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F() 101 Prng my_prng; in TEST_F() 103 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
|
D | privateexp-test.cc | 36 Prng my_prng; in TEST_F() 38 MemberCtxObj member(&Prng::Generate, &my_prng); in TEST_F() 54 Prng my_prng; in TEST_F() 56 MemberCtxObj member(&Prng::Generate, &my_prng); in TEST_F() 73 Prng my_prng; in TEST_F() 75 MemberCtxObj member(&Prng::Generate, &my_prng); in TEST_F() 101 Prng my_prng; in TEST_F() 103 MemberCtxObj member(&Prng::Generate, &my_prng); in TEST_F() 130 Prng my_prng; in TEST_F() 132 MemberCtxObj member(&Prng::Generate, &my_prng); in TEST_F()
|
/external/epid-sdk/epid/member/tiny/unittests/ |
D | context-test.cc | 66 Prng my_prng; in TEST_F() 68 SetMemberParams(&Prng::Generate, &my_prng, nullptr, ¶ms); in TEST_F() 77 Prng my_prng; in TEST_F() 80 SetMemberParams(&Prng::Generate, &my_prng, nullptr, ¶ms); in TEST_F() 98 Prng my_prng; in TEST_F() 101 SetMemberParams(&Prng::Generate, &my_prng, &f, ¶ms); in TEST_F() 117 Prng my_prng; in TEST_F() 120 SetMemberParams(&Prng::Generate, &my_prng, &f, ¶ms); in TEST_F() 132 Prng my_prng; in TEST_F() 135 SetMemberParams(&Prng::Generate, &my_prng, nullptr, ¶ms); in TEST_F() [all …]
|
D | presig-test.cc | 45 Prng my_prng; in TEST_F() 47 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 53 Prng my_prng; in TEST_F() 55 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 63 Prng my_prng; in TEST_F() 65 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 76 Prng my_prng; in TEST_F() 78 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 99 Prng my_prng; in TEST_F() 101 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() [all …]
|
D | sign-test.cc | 44 Prng my_prng; in TEST_F() 46 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 68 Prng my_prng; in TEST_F() 70 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 84 Prng my_prng; in TEST_F() 86 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 99 Prng my_prng; in TEST_F() 101 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 123 Prng my_prng; in TEST_F() 125 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() [all …]
|
D | join_request-test.cc | 127 Prng prng; in TEST_F() 129 SetMemberParams(Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 145 Prng prng; in TEST_F() 147 SetMemberParams(Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 155 Prng prng; in TEST_F() 172 SetMemberParams(Prng::Generate, &prng, &f, ¶ms); in TEST_F() 182 Prng prng; in TEST_F() 197 SetMemberParams(Prng::Generate, &prng, &f, ¶ms); in TEST_F() 222 Prng prng; in TEST_F() 236 SetMemberParams(Prng::Generate, &prng, &f, ¶ms); in TEST_F() [all …]
|
D | provision_credential-test.cc | 52 Prng prng; in TEST_F() 64 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() 81 Prng prng; in TEST_F() 94 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() 120 Prng prng; in TEST_F() 132 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() 193 Prng prng; in TEST_F() 206 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() 218 Prng prng; in TEST_F() 230 SetMemberParams(&Prng::Generate, &prng, &f, ¶ms); in TEST_F() [all …]
|
D | provision_key-test.cc | 51 Prng prng; in TEST_F() 56 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 73 Prng prng; in TEST_F() 78 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 87 Prng prng; in TEST_F() 99 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 107 Prng prng; in TEST_F() 114 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() 175 Prng prng; in TEST_F() 185 SetMemberParams(&Prng::Generate, &prng, nullptr, ¶ms); in TEST_F() [all …]
|
/external/epid-sdk/epid/member/tpm2/unittests/ |
D | nv-test.cc | 40 Prng my_prng; in TEST() 42 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST() 76 Prng my_prng; in TEST() 78 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST() 115 Prng my_prng; in TEST() 117 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST() 125 Prng my_prng; in TEST() 127 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST() 144 Prng my_prng; in TEST() 146 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST() [all …]
|
D | commit-simulator-test.cc | 48 Prng my_prng; in TEST_F() 50 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() 61 Prng the_same_prng; in TEST_F() 66 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F() 92 Prng my_prng; in TEST_F() 94 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() 106 Prng the_same_prng; in TEST_F() 111 FfGetRandom(params.fp, &zero, &Prng::Generate, &the_same_prng, r)); in TEST_F() 137 Prng my_prng; in TEST_F() 139 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() [all …]
|
D | commit-test.cc | 46 Prng my_prng; in TEST_F() 48 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() 83 Prng my_prng; in TEST_F() 85 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() 104 Prng my_prng; in TEST_F() 106 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, NULL, epid2params); in TEST_F() 123 Prng my_prng; in TEST_F() 125 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() 143 Prng my_prng; in TEST_F() 145 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() [all …]
|
D | load_external-simulator-test.cc | 35 Prng my_prng; in TEST_F() 38 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F() 43 Prng my_prng; in TEST_F() 46 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F() 51 Prng my_prng; in TEST_F() 54 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F()
|
D | load_external-test.cc | 33 Prng my_prng; in TEST_F() 36 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F() 44 Prng my_prng; in TEST_F() 47 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F() 53 Prng my_prng; in TEST_F() 56 Tpm2CtxObj ctx(&Prng::Generate, &my_prng, &f_str, epid2params); in TEST_F()
|
D | sign-test.cc | 82 Prng my_prng; in TEST_F() 85 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &f, epid2params); in TEST_F() 116 Prng my_prng; in TEST_F() 119 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &f, epid2params); in TEST_F() 162 Prng my_prng; in TEST_F() 164 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() 186 Prng my_prng; in TEST_F() 188 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() 213 Prng my_prng; in TEST_F() 215 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, &this->kMemberFValue, epid2params); in TEST_F() [all …]
|
D | getrandom-test.cc | 36 Prng my_prng; in TEST_F() 39 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F() 45 Prng my_prng; in TEST_F() 47 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F() 57 Prng my_prng; in TEST_F() 59 Tpm2CtxObj tpm(&Prng::Generate, &my_prng, nullptr, epid2params); in TEST_F()
|
/external/epid-sdk/epid/member/tiny/unittests/internal/ |
D | nr_prove-test.cc | 37 Prng my_prng; in TEST_F() 39 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 61 Prng my_prng; in TEST_F() 63 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 81 Prng my_prng; in TEST_F() 83 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 101 Prng my_prng; in TEST_F() 103 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 121 Prng my_prng; in TEST_F() 123 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() [all …]
|
D | signbasic-test.cc | 43 Prng my_prng; in TEST_F() 45 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 57 Prng my_prng; in TEST_F() 59 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 73 Prng my_prng; in TEST_F() 75 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F() 91 Prng my_prng; in TEST_F() 93 this->kMemberPrecomp, &Prng::Generate, &my_prng); in TEST_F()
|