Home
last modified time | relevance | path

Searched refs:Prng (Results 1 – 25 of 38) sorted by relevance

12

/external/epid-sdk/epid/member/unittests/
Dcontext-test.cc71 Prng my_prng; in TEST_F()
73 SetMemberParams(&Prng::Generate, &my_prng, nullptr, &params); in TEST_F()
82 Prng my_prng; in TEST_F()
85 SetMemberParams(&Prng::Generate, &my_prng, nullptr, &params); in TEST_F()
103 Prng my_prng; in TEST_F()
106 SetMemberParams(&Prng::Generate, &my_prng, &f, &params); in TEST_F()
122 Prng my_prng; in TEST_F()
125 SetMemberParams(&Prng::Generate, &my_prng, &f, &params); in TEST_F()
137 Prng my_prng; in TEST_F()
140 SetMemberParams(&Prng::Generate, &my_prng, nullptr, &params); in TEST_F()
[all …]
Dsignbasic-test.cc45 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 …]
Dpresig-test.cc45 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 …]
Dsign-test.cc45 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 …]
Dnr_prove-test.cc35 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 …]
Djoin_request-test.cc128 Prng prng; in TEST_F()
130 SetMemberParams(Prng::Generate, &prng, nullptr, &params); in TEST_F()
143 Prng prng; in TEST_F()
160 SetMemberParams(Prng::Generate, &prng, &f, &params); in TEST_F()
170 Prng prng; in TEST_F()
185 SetMemberParams(Prng::Generate, &prng, &f, &params); in TEST_F()
210 Prng prng; in TEST_F()
224 SetMemberParams(Prng::Generate, &prng, &f, &params); in TEST_F()
235 Prng prng; in TEST_F()
244 SetMemberParams(Prng::Generate, &prng, nullptr, &params); in TEST_F()
[all …]
Dprovision_credential-test.cc54 Prng prng; in TEST_F()
66 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
83 Prng prng; in TEST_F()
96 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
122 Prng prng; in TEST_F()
134 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
195 Prng prng; in TEST_F()
208 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
220 Prng prng; in TEST_F()
232 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
[all …]
Dprovision_key-test.cc53 Prng prng; in TEST_F()
58 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
75 Prng prng; in TEST_F()
80 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
89 Prng prng; in TEST_F()
101 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
109 Prng prng; in TEST_F()
116 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
177 Prng prng; in TEST_F()
187 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
[all …]
Dstorage-test.cc40 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()
Dprivateexp-test.cc36 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/
Dcontext-test.cc66 Prng my_prng; in TEST_F()
68 SetMemberParams(&Prng::Generate, &my_prng, nullptr, &params); in TEST_F()
77 Prng my_prng; in TEST_F()
80 SetMemberParams(&Prng::Generate, &my_prng, nullptr, &params); in TEST_F()
98 Prng my_prng; in TEST_F()
101 SetMemberParams(&Prng::Generate, &my_prng, &f, &params); in TEST_F()
117 Prng my_prng; in TEST_F()
120 SetMemberParams(&Prng::Generate, &my_prng, &f, &params); in TEST_F()
132 Prng my_prng; in TEST_F()
135 SetMemberParams(&Prng::Generate, &my_prng, nullptr, &params); in TEST_F()
[all …]
Dpresig-test.cc45 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 …]
Dsign-test.cc44 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 …]
Djoin_request-test.cc127 Prng prng; in TEST_F()
129 SetMemberParams(Prng::Generate, &prng, nullptr, &params); in TEST_F()
145 Prng prng; in TEST_F()
147 SetMemberParams(Prng::Generate, &prng, nullptr, &params); in TEST_F()
155 Prng prng; in TEST_F()
172 SetMemberParams(Prng::Generate, &prng, &f, &params); in TEST_F()
182 Prng prng; in TEST_F()
197 SetMemberParams(Prng::Generate, &prng, &f, &params); in TEST_F()
222 Prng prng; in TEST_F()
236 SetMemberParams(Prng::Generate, &prng, &f, &params); in TEST_F()
[all …]
Dprovision_credential-test.cc52 Prng prng; in TEST_F()
64 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
81 Prng prng; in TEST_F()
94 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
120 Prng prng; in TEST_F()
132 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
193 Prng prng; in TEST_F()
206 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
218 Prng prng; in TEST_F()
230 SetMemberParams(&Prng::Generate, &prng, &f, &params); in TEST_F()
[all …]
Dprovision_key-test.cc51 Prng prng; in TEST_F()
56 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
73 Prng prng; in TEST_F()
78 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
87 Prng prng; in TEST_F()
99 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
107 Prng prng; in TEST_F()
114 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
175 Prng prng; in TEST_F()
185 SetMemberParams(&Prng::Generate, &prng, nullptr, &params); in TEST_F()
[all …]
/external/epid-sdk/epid/member/tpm2/unittests/
Dnv-test.cc40 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 …]
Dcommit-simulator-test.cc48 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 …]
Dcommit-test.cc46 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 …]
Dload_external-simulator-test.cc35 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()
Dload_external-test.cc33 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()
Dsign-test.cc82 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 …]
Dgetrandom-test.cc36 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/
Dnr_prove-test.cc37 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 …]
Dsignbasic-test.cc43 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()

12