/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/ |
D | precomp.test | 4 RUN: obj2yaml %S/Inputs/precomp-a.obj > %t1/precomp-a.yaml 5 RUN: obj2yaml %S/Inputs/precomp.obj > %t1/precomp.yaml 6 RUN: yaml2obj %t1/precomp-a.yaml > %t1/a.obj 7 RUN: yaml2obj %t1/precomp.yaml > %t1/precomp.obj 9 RUN: llvm-readobj -codeview %t1/precomp.obj | FileCheck %s -check-prefix ENDPRECOMP 11 RUN: llvm-pdbutil dump -types %t1/precomp.obj | FileCheck %s -check-prefix PDB-ENDPRECOMP 32 …1000, types count = 0x407, signature = 0x1116980E, precomp path = f:\svn\lld\test\coff\precomp\pre… 39 # // precomp.h 43 # // precomp.cpp 44 # // cl.exe precomp.cpp /Z7 /Ycprecomp.h /c [all …]
|
/external/epid-sdk/epid/member/unittests/ |
D | provision_key-test.cc | 56 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 61 EpidProvisionKey(nullptr, &pub_key, &priv_key, &precomp)); in TEST_F() 63 EpidProvisionKey(member, nullptr, &priv_key, &precomp)); in TEST_F() 65 EpidProvisionKey(member, &pub_key, nullptr, &precomp)); in TEST_F() 78 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 83 EpidProvisionKey(member, &pub_key, &priv_key, &precomp)); in TEST_F() 97 const MemberPrecomp precomp = { in TEST_F() local 104 EpidProvisionKey(member, &pub_key, &priv_key, &precomp)); in TEST_F() 113 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 122 ProvisionBulkAndStart(member, &pub_key, &priv_key, &precomp)); in TEST_F() [all …]
|
D | provision_compressed-test.cc | 59 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 65 EpidProvisionCompressed(nullptr, &pub_key, &priv_key, &precomp)); in TEST_F() 67 EpidProvisionCompressed(member, nullptr, &priv_key, &precomp)); in TEST_F() 69 EpidProvisionCompressed(member, &pub_key, nullptr, &precomp)); in TEST_F() 85 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 91 EpidProvisionCompressed(member, &pub_key, &priv_key, &precomp)); in TEST_F() 103 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 111 ProvisionCompressedAndStart(member, &pub_key, &priv_key, &precomp)); in TEST_F() 118 ProvisionCompressedAndStart(member, &pub_key, &priv_key, &precomp)); in TEST_F() 125 ProvisionCompressedAndStart(member, &pub_key, &priv_key, &precomp)); in TEST_F() [all …]
|
D | provision_credential-test.cc | 64 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 69 EpidProvisionCredential(nullptr, &pub_key, &credential, &precomp)); in TEST_F() 71 EpidProvisionCredential(member, nullptr, &credential, &precomp)); in TEST_F() 73 EpidProvisionCredential(member, &pub_key, nullptr, &precomp)); in TEST_F() 94 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 102 &credential, &precomp)); in TEST_F() 109 &credential, &precomp)); in TEST_F() 116 &credential, &precomp)); in TEST_F() 132 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 140 &credential, &precomp)); in TEST_F() [all …]
|
/external/epid-sdk/epid/member/tiny/unittests/ |
D | provision_key-test.cc | 54 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 59 EpidProvisionKey(nullptr, &pub_key, &priv_key, &precomp)); in TEST_F() 61 EpidProvisionKey(member, nullptr, &priv_key, &precomp)); in TEST_F() 63 EpidProvisionKey(member, &pub_key, nullptr, &precomp)); in TEST_F() 76 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 81 EpidProvisionKey(member, &pub_key, &priv_key, &precomp)); in TEST_F() 95 const MemberPrecomp precomp = { in TEST_F() local 102 EpidProvisionKey(member, &pub_key, &priv_key, &precomp)); in TEST_F() 111 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 120 ProvisionBulkAndStart(member, &pub_key, &priv_key, &precomp)); in TEST_F() [all …]
|
D | provision_compressed-test.cc | 58 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 63 EpidProvisionCompressed(nullptr, &pub_key, &priv_key, &precomp)); in TEST_F() 65 EpidProvisionCompressed(member, nullptr, &priv_key, &precomp)); in TEST_F() 67 EpidProvisionCompressed(member, &pub_key, nullptr, &precomp)); in TEST_F() 84 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 89 EpidProvisionCompressed(member, &pub_key, &priv_key, &precomp)); in TEST_F() 101 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 109 ProvisionCompressedAndStart(member, &pub_key, &priv_key, &precomp)); in TEST_F() 116 ProvisionCompressedAndStart(member, &pub_key, &priv_key, &precomp)); in TEST_F() 123 ProvisionCompressedAndStart(member, &pub_key, &priv_key, &precomp)); in TEST_F() [all …]
|
D | provision_credential-test.cc | 62 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 67 EpidProvisionCredential(nullptr, &pub_key, &credential, &precomp)); in TEST_F() 69 EpidProvisionCredential(member, nullptr, &credential, &precomp)); in TEST_F() 71 EpidProvisionCredential(member, &pub_key, nullptr, &precomp)); in TEST_F() 92 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 100 &credential, &precomp)); in TEST_F() 107 &credential, &precomp)); in TEST_F() 114 &credential, &precomp)); in TEST_F() 130 MemberPrecomp precomp = this->kMemberPrecomp; in TEST_F() local 138 &credential, &precomp)); in TEST_F() [all …]
|
/external/boringssl/src/crypto/fipsmodule/ec/ |
D | simple_mul.c | 32 EC_RAW_POINT precomp[32]; in ec_GFp_mont_mul_single() local 33 ec_GFp_simple_point_set_to_infinity(group, &precomp[0]); in ec_GFp_mont_mul_single() 34 ec_GFp_simple_point_copy(&precomp[1], p); in ec_GFp_mont_mul_single() 35 for (size_t j = 2; j < OPENSSL_ARRAY_SIZE(precomp); j++) { in ec_GFp_mont_mul_single() 37 ec_GFp_mont_add(group, &precomp[j], &precomp[1], &precomp[j - 1]); in ec_GFp_mont_mul_single() 39 ec_GFp_mont_dbl(group, &precomp[j], &precomp[j / 2]); in ec_GFp_mont_mul_single() 62 for (size_t j = 0; j < OPENSSL_ARRAY_SIZE(precomp); j++) { in ec_GFp_mont_mul_single() 64 ec_felem_select(group, &tmp.X, mask, &precomp[j].X, &tmp.X); in ec_GFp_mont_mul_single() 65 ec_felem_select(group, &tmp.Y, mask, &precomp[j].Y, &tmp.Y); in ec_GFp_mont_mul_single() 66 ec_felem_select(group, &tmp.Z, mask, &precomp[j].Z, &tmp.Z); in ec_GFp_mont_mul_single()
|
D | wnaf.c | 161 const EC_RAW_POINT *precomp, int digit) { in lookup_precomp() argument 164 ec_GFp_simple_point_copy(out, &precomp[digit >> 1]); in lookup_precomp() 167 ec_GFp_simple_point_copy(out, &precomp[digit >> 1]); in lookup_precomp()
|
/external/epid-sdk/epid/member/src/ |
D | startup.c | 39 MemberPrecomp const* precomp); 62 &ctx->credential.A, &ctx->precomp); in EpidMemberStartup() 87 sts = MemberReadPrecomputation(ctx, &ctx->precomp); in EpidMemberStartup() 97 MemberPrecomp const* precomp) { in MemberReadPrecomputation() argument 100 if (!ctx || !precomp || !ctx->epid2_params || !ctx) { in MemberReadPrecomputation() 111 sts = ReadFfElement(GT, &precomp->e12, sizeof(precomp->e12), e12); in MemberReadPrecomputation() 114 sts = ReadFfElement(GT, &precomp->e22, sizeof(precomp->e22), e22); in MemberReadPrecomputation() 117 sts = ReadFfElement(GT, &precomp->e2w, sizeof(precomp->e2w), e2w); in MemberReadPrecomputation() 120 sts = ReadFfElement(GT, &precomp->ea2, sizeof(precomp->ea2), ea2); in MemberReadPrecomputation()
|
D | precomp.c | 33 MemberPrecomp* precomp) { in PrecomputeMemberPairing() argument 40 if (!epid2_params || !pub_key || !A_str || !precomp) return kEpidBadArgErr; in PrecomputeMemberPairing() 58 sts = WriteFfElement(GT, e, &precomp->e12, sizeof(precomp->e12)); in PrecomputeMemberPairing() 64 sts = WriteFfElement(GT, e, &precomp->e22, sizeof(precomp->e22)); in PrecomputeMemberPairing() 70 sts = WriteFfElement(GT, e, &precomp->e2w, sizeof(precomp->e2w)); in PrecomputeMemberPairing() 80 sts = WriteFfElement(GT, e, &precomp->ea2, sizeof(precomp->ea2)); in PrecomputeMemberPairing()
|
D | write_precomp.c | 26 MemberPrecomp* precomp) { in EpidMemberWritePrecomp() argument 30 if (!precomp) { in EpidMemberWritePrecomp() 34 *precomp = ctx->precomp; in EpidMemberWritePrecomp()
|
D | provision_bulk.c | 73 ctx->precomp = *precomp_str; in EpidProvisionKey() 76 EpidZeroMemory(&ctx->precomp, sizeof(ctx->precomp)); in EpidProvisionKey()
|
D | provision_join.c | 71 ctx->precomp = *precomp_str; in EpidProvisionCredential() 74 EpidZeroMemory(&ctx->precomp, sizeof(ctx->precomp)); in EpidProvisionCredential()
|
/external/boringssl/src/crypto/poly1305/ |
D | poly1305_arm.c | 38 extern int blocks(fe1305x2 *h, const fe1305x2 *precomp, const uint8_t *in, 190 fe1305x2 *const precomp = c + 1; in CRYPTO_poly1305_init_neon() local 203 addmulmod(precomp, r, r, &zero); // precompute r^2 in CRYPTO_poly1305_init_neon() 204 addmulmod(precomp + 1, precomp, precomp, &zero); // precompute r^4 in CRYPTO_poly1305_init_neon() 216 fe1305x2 *const precomp = c + 1; in CRYPTO_poly1305_update_neon() local 232 addmulmod(h, h, precomp, &zero); in CRYPTO_poly1305_update_neon() 246 tlen -= blocks(h, precomp, in, tlen); in CRYPTO_poly1305_update_neon() 264 fe1305x2 *const precomp = c + 1; in CRYPTO_poly1305_finish_neon() local 266 addmulmod(h, h, precomp, &zero); in CRYPTO_poly1305_finish_neon() 270 precomp->v[1] = r->v[1]; in CRYPTO_poly1305_finish_neon() [all …]
|
/external/epid-sdk/epid/member/tiny/src/ |
D | provisioncredential.c | 69 PreCompDeserialize(&ctx->precomp, precomp_str); in EpidProvisionCredential() 71 PairingCompute(&ctx->precomp.ea2, &native_cred.A, &epid20_g2, in EpidProvisionCredential() 73 PairingCompute(&ctx->precomp.e12, &native_pub_key.h1, &epid20_g2, in EpidProvisionCredential() 75 PairingCompute(&ctx->precomp.e22, &native_pub_key.h2, &epid20_g2, in EpidProvisionCredential() 77 PairingCompute(&ctx->precomp.e2w, &native_pub_key.h2, &native_pub_key.w, in EpidProvisionCredential()
|
D | provisionkey.c | 78 PreCompDeserialize(&ctx->precomp, precomp_str); in EpidProvisionKey() 80 PairingCompute(&ctx->precomp.ea2, &native_priv_key.cred.A, &epid20_g2, in EpidProvisionKey() 82 PairingCompute(&ctx->precomp.e12, &native_pub_key.h1, &epid20_g2, in EpidProvisionKey() 84 PairingCompute(&ctx->precomp.e22, &native_pub_key.h2, &epid20_g2, in EpidProvisionKey() 86 PairingCompute(&ctx->precomp.e2w, &native_pub_key.h2, &native_pub_key.w, in EpidProvisionKey()
|
D | presig_compute.c | 88 Fq12MultiExp(&presig->R2, &ctx->precomp.ea2, &t.x.limbs, &ctx->precomp.e12, in EpidMemberComputePreSig() 89 &presig->rf.limbs, &ctx->precomp.e22, &t.y.limbs, in EpidMemberComputePreSig() 90 &ctx->precomp.e2w, &presig->ra.limbs); in EpidMemberComputePreSig()
|
/external/epid-sdk/epid/verifier/1.1/src/ |
D | context.c | 115 Epid11VerifierPrecomp const* precomp, in Epid11VerifierCreate() argument 154 if (precomp != NULL) { in Epid11VerifierCreate() 155 result = ReadPrecomputation(precomp, verifier_ctx); in Epid11VerifierCreate() 196 Epid11VerifierPrecomp* precomp) { in Epid11VerifierWritePrecomp() argument 203 !(ctx->epid11_params->GT) || !ctx->pub_key || !precomp) { in Epid11VerifierWritePrecomp() 211 precomp->gid = ctx->pub_key->gid; in Epid11VerifierWritePrecomp() 212 result = WriteFfElement(GT, e12, &(precomp->e12), sizeof(precomp->e12)); in Epid11VerifierWritePrecomp() 216 result = WriteFfElement(GT, e22, &(precomp->e22), sizeof(precomp->e22)); in Epid11VerifierWritePrecomp() 220 result = WriteFfElement(GT, e2w, &(precomp->e2w), sizeof(precomp->e2w)); in Epid11VerifierWritePrecomp()
|
/external/epid-sdk/epid/verifier/src/ |
D | context.c | 115 VerifierPrecomp const* precomp, in EpidVerifierCreate() argument 174 if (precomp != NULL) { in EpidVerifierCreate() 175 result = ReadPrecomputation(precomp, verifier_ctx); in EpidVerifierCreate() 226 VerifierPrecomp* precomp) { in EpidVerifierWritePrecomp() argument 236 if (!precomp) { in EpidVerifierWritePrecomp() 248 precomp->gid = ctx->pub_key->gid; in EpidVerifierWritePrecomp() 249 result = WriteFfElement(GT, e12, &(precomp->e12), sizeof(precomp->e12)); in EpidVerifierWritePrecomp() 253 result = WriteFfElement(GT, e22, &(precomp->e22), sizeof(precomp->e22)); in EpidVerifierWritePrecomp() 257 result = WriteFfElement(GT, e2w, &(precomp->e2w), sizeof(precomp->e2w)); in EpidVerifierWritePrecomp() 261 result = WriteFfElement(GT, eg12, &(precomp->eg12), sizeof(precomp->eg12)); in EpidVerifierWritePrecomp()
|
/external/epid-sdk/epid/common-testhelper/ |
D | member_wrapper-testhelper.h | 48 MemberPrecomp const& precomp, BitSupplier rnd_func, 52 HashAlg hash_alg, MemberPrecomp const& precomp, 56 MemberPrecomp const& precomp, BitSupplier rnd_func,
|
D | member_wrapper-testhelper.cc | 134 MemberPrecomp const& precomp, BitSupplier rnd_func, in MemberCtxObj() argument 141 sts = EpidProvisionKey(ctx_, &pub_key, &priv_key, &precomp); in MemberCtxObj() 158 HashAlg hash_alg, MemberPrecomp const& precomp, in MemberCtxObj() argument 172 sts = EpidProvisionKey(ctx_, &pub_key, &priv_key, &precomp); in MemberCtxObj() 190 MemberPrecomp const& precomp, BitSupplier rnd_func, in MemberCtxObj() argument 197 sts = EpidProvisionCredential(ctx_, &pub_key, &cred, &precomp); in MemberCtxObj()
|
D | verifier_wrapper-testhelper.cc | 37 VerifierPrecomp const& precomp) in VerifierCtxObj() argument 39 auto sts = EpidVerifierCreate(&pub_key, &precomp, &ctx_); in VerifierCtxObj()
|
/external/epid-sdk/epid/common-testhelper/1.1/ |
D | verifier_wrapper-testhelper.cc | 38 Epid11VerifierPrecomp const& precomp) in Epid11VerifierCtxObj() argument 40 auto sts = Epid11VerifierCreate(&pub_key, &precomp, &ctx_); in Epid11VerifierCtxObj()
|
/external/epid-sdk/epid/verifier/1.1/unittests/ |
D | context-test.cc | 106 Epid11VerifierPrecomp precomp; in TEST_F() local 109 EXPECT_EQ(kEpidBadArgErr, Epid11VerifierWritePrecomp(nullptr, &precomp)); in TEST_F() 113 Epid11VerifierPrecomp precomp; in TEST_F() local 116 EXPECT_EQ(kEpidNoErr, Epid11VerifierWritePrecomp(ctx, &precomp)); in TEST_F() 118 EXPECT_EQ(expected_precomp, precomp); in TEST_F() 122 EXPECT_EQ(kEpidNoErr, Epid11VerifierWritePrecomp(ctx2, &precomp)); in TEST_F() 123 EXPECT_EQ(expected_precomp, precomp); in TEST_F()
|