Home
last modified time | relevance | path

Searched refs:NrProof (Results 1 – 16 of 16) sorted by relevance

/external/epid-sdk/epid/member/unittests/
Dnr_prove-test.cc47 NrProof proof; in TEST_F()
79 NrProof proof; in TEST_F()
109 NrProof proof; in TEST_F()
136 NrProof proof; in TEST_F()
162 NrProof proof; in TEST_F()
186 NrProof proof; in TEST_F()
211 NrProof proof; in TEST_F()
237 NrProof proof; in TEST_F()
264 NrProof proof; in TEST_F()
297 NrProof proof; in TEST_F()
[all …]
Dget_sigsize-test.cc34 size_t sig_size_without_sig_rl = sizeof(EpidSignature) - sizeof(NrProof); in TEST_F()
48 size_t one_entry_size = sizeof(NrProof); in TEST_F()
92 sizeof(EpidSignature) - sizeof(NrProof) + 3 * sizeof(NrProof); in TEST_F()
/external/epid-sdk/epid/member/tiny/unittests/internal/
Dnr_prove-test.cc43 NrProof proof; in TEST_F()
68 NrProof proof; in TEST_F()
88 NrProof proof; in TEST_F()
109 NrProof proof; in TEST_F()
129 NrProof proof; in TEST_F()
149 NrProof proof; in TEST_F()
169 NrProof proof; in TEST_F()
/external/epid-sdk/epid/member/src/
Dget_sigsize.c25 const size_t kMinSigSize = sizeof(EpidSignature) - sizeof(NrProof); in EpidGetSigSize()
29 if (ntohl(sig_rl->n2) > (SIZE_MAX - kMinSigSize) / sizeof(NrProof)) { in EpidGetSigSize()
32 return kMinSigSize + ntohl(sig_rl->n2) * sizeof(NrProof); in EpidGetSigSize()
Dnrprove.h28 typedef struct NrProof NrProof; typedef
69 NrProof* proof);
Dnrprove.c60 NrProof* proof) { in EpidNrProve()
/external/epid-sdk/epid/member/tiny/src/
Dnrprove.h28 typedef struct NrProof NrProof; typedef
64 SigRlEntry const* sigrl_entry, NrProof* proof);
Dsign.c33 const size_t kMinSigSize = sizeof(EpidSignature) - sizeof(NrProof); in EpidGetSigSize()
38 if (n2 > (SIZE_T_MAX - kMinSigSize) / sizeof(NrProof)) { in EpidGetSigSize()
41 return kMinSigSize + n2 * sizeof(NrProof); in EpidGetSigSize()
Dnrprove.c38 SigRlEntry const* sigrl_entry, NrProof* proof) { in EpidNrProve()
/external/epid-sdk/epid/member/tiny/unittests/
Dget_sigsize-test.cc31 size_t sig_size_without_sig_rl = sizeof(EpidSignature) - sizeof(NrProof); in TEST_F()
45 size_t one_entry_size = sizeof(NrProof); in TEST_F()
89 sizeof(EpidSignature) - sizeof(NrProof) + 3 * sizeof(NrProof); in TEST_F()
/external/epid-sdk/epid/verifier/unittests/
Dnrverify-test.cc79 NrProof nr_proof = epid_signature->sigma[0]; in TEST_F()
94 NrProof nr_proof = epid_signature->sigma[0]; in TEST_F()
109 NrProof nr_proof = epid_signature->sigma[0]; in TEST_F()
124 NrProof nr_proof = epid_signature->sigma[0]; in TEST_F()
139 NrProof nr_proof = epid_signature->sigma[0]; in TEST_F()
Dverify-test.cc64 sizeof(EpidSignature) - sizeof(NrProof) - 1, msg.data(), in TEST_F()
103 uint32_t n2 = SIZE_MAX / sizeof(NrProof) + 1; in TEST_F()
107 sig.resize(sizeof(EpidSignature) + (n2 - 1) * sizeof(NrProof)); in TEST_F()
/external/epid-sdk/epid/common/
Dtypes.h240 typedef struct NrProof { struct
245 } NrProof; argument
255 NrProof sigma[1]; ///< array of non-revoked proofs (flexible array)
/external/epid-sdk/epid/verifier/
Dapi.h480 SigRlEntry const* sigrl_entry, NrProof const* proof);
/external/epid-sdk/epid/verifier/src/
Dverify.c71 size_t const sig_header_len = (sizeof(EpidSignature) - sizeof(NrProof)); in EpidVerify()
Dnrverify.c50 SigRlEntry const* sigrl_entry, NrProof const* proof) { in EpidNrVerify()