/external/epid-sdk/epid/member/unittests/ |
storage-test.cc | 45 GroupPubKey const pub_key = this->kGroupPublicKey; local 51 nullptr, &pub_key, &credential, nv_index)); 55 EpidNvWriteMembershipCredential(tpm, &pub_key, nullptr, nv_index)); 66 GroupPubKey pub_key = this->kGroupPublicKey; local 72 tpm, nv_index, &pub_key, &credential)); 81 GroupPubKey pub_key = this->kGroupPublicKey; local 87 EXPECT_EQ(kEpidNoErr, EpidNvWriteMembershipCredential(tpm, &pub_key, 91 nullptr, nv_index, &pub_key, &credential)); 95 EpidNvReadMembershipCredential(tpm, nv_index, &pub_key, nullptr)); 106 GroupPubKey pub_key = this->kGroupPublicKey local [all...] |
decompress_privkey-test.cc | 37 auto const& pub_key = this->kGrpXKey; local 43 EpidDecompressPrivKey(&pub_key, nullptr, &priv_key)); 45 EpidDecompressPrivKey(&pub_key, &compressed_privkey, nullptr)); 49 auto const& pub_key = this->kGrpXKey; local 54 EpidDecompressPrivKey(&pub_key, &compressed_privkey, &priv_key)); 59 auto const& pub_key = this->kGrpYKey; local 63 EpidDecompressPrivKey(&pub_key, &compressed_privkey, &priv_key)); 84 auto const& pub_key = this->kGrpXKey; local 90 EpidDecompressPrivKey(&pub_key, &compressed_privkey_ax, &priv_key)); 95 &pub_key, &compressed_privkey_seed, &priv_key)) [all...] |
iskeyvalid-test.cc | 43 const GroupPubKey pub_key = this->kGroupPublicKey; local 52 &pub_key.h1, &pub_key.w)); 53 EXPECT_FALSE(EpidMemberIsKeyValid(member, nullptr, &priv_key.x, &pub_key.h1, 54 &pub_key.w)); 55 EXPECT_FALSE(EpidMemberIsKeyValid(member, &priv_key.A, nullptr, &pub_key.h1, 56 &pub_key.w)); 58 &pub_key.w)); 60 &pub_key.h1, nullptr)); 71 const GroupPubKey pub_key = this->kGroupPublicKey local 90 GroupPubKey pub_key = this->kGroupPublicKey; local [all...] |
provision_compressed-test.cc | 40 MemberCtx* ctx, GroupPubKey const* pub_key, 44 sts = EpidProvisionCompressed(ctx, pub_key, compressed_privkey, precomp_str); 54 GroupPubKey pub_key = this->kGrpXKey; local 65 EpidProvisionCompressed(nullptr, &pub_key, &priv_key, &precomp)); 69 EpidProvisionCompressed(member, &pub_key, nullptr, &precomp)); 71 EpidProvisionCompressed(nullptr, &pub_key, &priv_key, nullptr)); 75 EpidProvisionCompressed(member, &pub_key, nullptr, nullptr)); 80 GroupPubKey pub_key = this->kGrpXKey; local 91 EpidProvisionCompressed(member, &pub_key, &priv_key, &precomp)); 93 EpidProvisionCompressed(member, &pub_key, &priv_key, nullptr)) 98 GroupPubKey pub_key = this->kGrpXKey; local 153 GroupPubKey pub_key = this->kGrpXKey; local [all...] |
provision_credential-test.cc | 41 GroupPubKey const* pub_key, 45 sts = EpidProvisionCredential(ctx, pub_key, credential, precomp_str); 55 GroupPubKey pub_key = this->kGrpXKey; local 69 EpidProvisionCredential(nullptr, &pub_key, &credential, &precomp)); 73 EpidProvisionCredential(member, &pub_key, nullptr, &precomp)); 75 EpidProvisionCredential(nullptr, &pub_key, &credential, nullptr)); 79 EpidProvisionCredential(member, &pub_key, nullptr, nullptr)); 84 GroupPubKey pub_key = this->kGrpXKey; local 101 EXPECT_EQ(kEpidBadArgErr, ProvisionCredentialAndStart(member, &pub_key, 103 EXPECT_EQ(kEpidBadArgErr, ProvisionCredentialAndStart(member, &pub_key, 123 GroupPubKey pub_key = this->kGrpXKey; local 196 GroupPubKey pub_key = this->kGrpXKey; local 221 GroupPubKey pub_key = this->kGrpXKey; local 240 GroupPubKey pub_key = this->kGrpXKey; local 256 const GroupPubKey* pub_key = reinterpret_cast<const GroupPubKey*>( local 278 const GroupPubKey* pub_key = reinterpret_cast<const GroupPubKey*>( local 303 GroupPubKey pub_key = this->kGrpXKey; local [all...] |
provision_key-test.cc | 40 EpidStatus ProvisionBulkAndStart(MemberCtx* ctx, GroupPubKey const* pub_key, 44 sts = EpidProvisionKey(ctx, pub_key, priv_key, precomp_str); 54 GroupPubKey pub_key = this->kGroupPublicKey; local 61 EpidProvisionKey(nullptr, &pub_key, &priv_key, &precomp)); 65 EpidProvisionKey(member, &pub_key, nullptr, &precomp)); 67 EpidProvisionKey(nullptr, &pub_key, &priv_key, nullptr)); 71 EpidProvisionKey(member, &pub_key, nullptr, nullptr)); 76 GroupPubKey pub_key = this->kGroupPublicKey; local 83 EpidProvisionKey(member, &pub_key, &priv_key, &precomp)); 84 EXPECT_EQ(kEpidNoErr, EpidProvisionKey(member, &pub_key, &priv_key, nullptr)) 90 const GroupPubKey pub_key = { local 111 GroupPubKey pub_key = this->kGroupPublicKey; local 183 GroupPubKey pub_key = this->kGroupPublicKey; local 201 GroupPubKey pub_key = this->kGroupPublicKey; local 227 GroupPubKey pub_key = this->kGroupPublicKey; local [all...] |
/external/epid-sdk/epid/verifier/1.1/unittests/ |
check_privrl_entry-test.cc | 36 auto& pub_key = this->kPubKeyStr; local 40 Epid11VerifierCtxObj verifier(pub_key); 55 auto& pub_key = this->kPubKeyStr; local 60 Epid11VerifierCtxObj verifier(pub_key); 71 auto& pub_key = this->kPubKeyStr; local 76 Epid11VerifierCtxObj verifier(pub_key);
|
verify-test.cc | 152 auto& pub_key = this->kPubKeyStr; local 158 Epid11VerifierCtxObj verifier(pub_key); 168 auto& pub_key = this->kPubKeyStr; local 174 Epid11VerifierCtxObj verifier(pub_key); 184 auto& pub_key = this->kPubKeyStr; local 190 Epid11VerifierCtxObj verifier(pub_key); 200 auto& pub_key = this->kPubKeyStr; local 206 Epid11VerifierCtxObj verifier(pub_key); 275 auto& pub_key = this->kPubKeyStr; local 284 Epid11VerifierCtxObj verifier(pub_key); 295 auto& pub_key = this->kPubKeyStr; local 313 auto& pub_key = this->kPubKeyStr; local 333 auto& pub_key = this->kPubKeyStr; local 351 auto& pub_key = this->kPubKeyStr; local 369 auto& pub_key = this->kPubKeyStr; local 388 auto& pub_key = this->kPubKeyStr; local 402 auto& pub_key = this->kPubKeyStr; local 416 auto& pub_key = this->kPubKeyStr; local 430 auto& pub_key = this->kPubKeyStr; local 444 auto& pub_key = this->kPubKeyStr; local 458 auto& pub_key = this->kPubKeyStr; local 477 auto& pub_key = this->kPubKeyStr; local 521 auto& pub_key = this->kPubKeyStr; local 540 auto& pub_key = this->kPubKeyStr; local 555 auto& pub_key = this->kPubKeyStr; local 570 auto& pub_key = this->kPubKeyStr; local 585 auto& pub_key = this->kPubKeyStr; local 600 auto& pub_key = this->kPubKeyStr; local 685 auto& pub_key = this->kPubKeyStr; local 698 auto& pub_key = this->kPubKeyStr; local 721 auto& pub_key = this->kPubKeyStr; local 732 auto& pub_key = this->kPubKeyStr; local 752 auto& pub_key = this->kPubKeyStrForMsg0_255; local [all...] |
/external/epid-sdk/epid/verifier/unittests/ |
check_privrl_entry-test.cc | 37 auto& pub_key = this->kGrpXKey; local 41 VerifierCtxObj verifier(pub_key); 55 auto& pub_key = this->kGrpXKey; local 60 VerifierCtxObj verifier(pub_key); 72 auto& pub_key = this->kPubKeyIkgfStr; local 77 VerifierCtxObj verifier(pub_key); 88 auto& pub_key = this->kGrpXKey; local 93 VerifierCtxObj verifier(pub_key); 104 auto& pub_key = this->kPubKeyIkgfStr; local 109 VerifierCtxObj verifier(pub_key); [all...] |
verify-test.cc | 158 auto& pub_key = this->kGrpXKey; local 163 VerifierCtxObj verifier(pub_key); 175 auto& pub_key = this->kGrpXKey; local 180 VerifierCtxObj verifier(pub_key); 192 auto& pub_key = this->kGrpXKey; local 204 VerifierCtxObj verifier(pub_key); 408 auto& pub_key = this->kGrpXKey; local 414 VerifierCtxObj verifier(pub_key); 429 auto& pub_key = this->kGrpXKey; local 435 VerifierCtxObj verifier(pub_key); 448 auto& pub_key = this->kPubKeyRevGroupIkgfStr; local 469 auto& pub_key = this->kGrpXKey; local 490 auto& pub_key = this->kGrpXKey; local 526 auto& pub_key = this->kGrpXKey; local 550 auto& pub_key = this->kGrpXKey; local 574 auto& pub_key = this->kPubKeyIkgfStr; local 598 auto& pub_key = this->kGrpXKey; local 622 auto& pub_key = this->kGrpXKey; local 640 auto& pub_key = this->kGrpXKey; local 658 auto& pub_key = this->kPubKeyIkgfStr; local 691 auto& pub_key = this->kGrpXKey; local 710 auto& pub_key = this->kGrpXKey; local 733 auto& pub_key = this->kGrpXKey; local 754 auto& pub_key = this->kGrpXKey; local 771 auto& pub_key = this->kPubKeyIkgfStr; local 792 auto& pub_key = this->kGrpXKey; local 813 auto& pub_key = this->kGrpXKey; local 831 auto& pub_key = this->kPubKeyIkgfStr; local 847 auto& pub_key = this->kPubKeyIkgfStr; local 884 auto& pub_key = this->kGrpXKey; local 914 auto& pub_key = this->kGrpXKey; local 944 auto& pub_key = this->kGrpXKey; local 974 auto& pub_key = this->kGrpXKey; local 1010 auto& pub_key = this->kGrpXKey; local 1024 auto& pub_key = this->kGrpXKey; local 1051 auto& pub_key = this->kGrpXKey; local 1063 auto& pub_key = this->kGrpXKey; local 1086 auto& pub_key = this->kPubKeyIkgfStr; local 1108 auto& pub_key = this->kGrpXKey; local 1135 auto& pub_key = this->kGrpXKey; local 1157 auto& pub_key = this->kGrpXKey; local 1184 auto& pub_key = this->kGrpXKey; local 1203 auto& pub_key = this->kGrpXKey; local 1225 auto& pub_key = this->kGrpXKey; local 1252 auto& pub_key = this->kGrpXKey; local 1274 auto& pub_key = this->kPubKeySigRlVerify; local [all...] |
/external/epid-sdk/epid/member/tiny/unittests/ |
decompress_privkey-test.cc | 37 auto const& pub_key = this->kGrpXKey; local 43 EpidDecompressPrivKey(&pub_key, nullptr, &priv_key)); 45 EpidDecompressPrivKey(&pub_key, &compressed_privkey, nullptr)); 49 auto const& pub_key = this->kGrpXKey; local 54 EpidDecompressPrivKey(&pub_key, &compressed_privkey, &priv_key)); 59 auto const& pub_key = this->kGrpYKey; local 63 EpidDecompressPrivKey(&pub_key, &compressed_privkey, &priv_key)); 85 auto const& pub_key = this->kGrpXKey; local 91 EpidDecompressPrivKey(&pub_key, &compressed_privkey_ax, &priv_key)); 96 &pub_key, &compressed_privkey_seed, &priv_key)) [all...] |
provision_compressed-test.cc | 39 MemberCtx* ctx, GroupPubKey const* pub_key, 43 sts = EpidProvisionCompressed(ctx, pub_key, compressed_privkey, precomp_str); 53 GroupPubKey pub_key = this->kGrpXKey; local 63 EpidProvisionCompressed(nullptr, &pub_key, &priv_key, &precomp)); 67 EpidProvisionCompressed(member, &pub_key, nullptr, &precomp)); 69 EpidProvisionCompressed(nullptr, &pub_key, &priv_key, nullptr)); 73 EpidProvisionCompressed(member, &pub_key, nullptr, nullptr)); 79 GroupPubKey pub_key = this->kGrpXKey; local 89 EpidProvisionCompressed(member, &pub_key, &priv_key, &precomp)); 91 EpidProvisionCompressed(member, &pub_key, &priv_key, nullptr)) 96 GroupPubKey pub_key = this->kGrpXKey; local 151 GroupPubKey pub_key = this->kGrpXKey; local [all...] |
provision_key-test.cc | 38 EpidStatus ProvisionBulkAndStart(MemberCtx* ctx, GroupPubKey const* pub_key, 42 sts = EpidProvisionKey(ctx, pub_key, priv_key, precomp_str); 52 GroupPubKey pub_key = this->kGroupPublicKey; local 59 EpidProvisionKey(nullptr, &pub_key, &priv_key, &precomp)); 63 EpidProvisionKey(member, &pub_key, nullptr, &precomp)); 65 EpidProvisionKey(nullptr, &pub_key, &priv_key, nullptr)); 69 EpidProvisionKey(member, &pub_key, nullptr, nullptr)); 74 GroupPubKey pub_key = this->kGroupPublicKey; local 81 EpidProvisionKey(member, &pub_key, &priv_key, &precomp)); 82 EXPECT_EQ(kEpidNoErr, EpidProvisionKey(member, &pub_key, &priv_key, nullptr)) 88 const GroupPubKey pub_key = { local 109 GroupPubKey pub_key = this->kGroupPublicKey; local 181 GroupPubKey pub_key = this->kGroupPublicKey; local 199 GroupPubKey pub_key = this->kGroupPublicKey; local 223 GroupPubKey pub_key = this->kGroupPublicKey; local [all...] |
provision_credential-test.cc | 39 GroupPubKey const* pub_key, 43 sts = EpidProvisionCredential(ctx, pub_key, credential, precomp_str); 53 GroupPubKey pub_key = this->kGrpXKey; local 67 EpidProvisionCredential(nullptr, &pub_key, &credential, &precomp)); 71 EpidProvisionCredential(member, &pub_key, nullptr, &precomp)); 73 EpidProvisionCredential(nullptr, &pub_key, &credential, nullptr)); 77 EpidProvisionCredential(member, &pub_key, nullptr, nullptr)); 82 GroupPubKey pub_key = this->kGrpXKey; local 99 EXPECT_EQ(kEpidBadArgErr, ProvisionCredentialAndStart(member, &pub_key, 101 EXPECT_EQ(kEpidBadArgErr, ProvisionCredentialAndStart(member, &pub_key, 121 GroupPubKey pub_key = this->kGrpXKey; local 194 GroupPubKey pub_key = this->kGrpXKey; local 219 GroupPubKey pub_key = this->kGrpXKey; local 238 GroupPubKey pub_key = this->kGrpXKey; local 254 const GroupPubKey* pub_key = reinterpret_cast<const GroupPubKey*>( local 276 const GroupPubKey* pub_key = reinterpret_cast<const GroupPubKey*>( local 298 GroupPubKey pub_key = this->kGrpXKey; local [all...] |
context-test.cc | 163 GroupPubKey pub_key = this->kGroupPublicKey; local 168 EXPECT_EQ(kEpidNoErr, EpidProvisionKey(member, &pub_key, &priv_key, nullptr));
|
sign-test.cc | 681 auto& pub_key = this->kGrpXKey; local 685 MemberCtxObj member(pub_key, priv_key, &Prng::Generate, &my_prng) [all...] |
/external/epid-sdk/example/verifysig/src/ |
verifysig.c | 45 GroupPubKey pub_key = {0}; local 48 cacert, &pub_key); 61 result = EpidVerifierCreate(&pub_key, *verifier_precomp, &ctx);
|
verifysig11.c | 44 Epid11GroupPubKey pub_key = {0}; local 47 cacert, &pub_key); 60 result = Epid11VerifierCreate(&pub_key, *verifier_precomp, &ctx);
|
/external/epid-sdk/epid/verifier/1.1/src/ |
context.h | 30 Epid11GroupPubKey_* pub_key; ///< Group public key member in struct:Epid11VerifierCtx
|
/external/epid-sdk/example/signmsg/src/ |
signmsg.c | 48 GroupPubKey pub_key = {0}; local 62 &pub_key); 70 sts = EpidDecompressPrivKey(&pub_key, (CompressedPrivKey*)priv_key_ptr, 111 sts = EpidProvisionKey(member, &pub_key, &priv_key, member_precomp); 116 sts = EpidProvisionCredential(member, &pub_key, &member_credential,
|
/external/epid-sdk/epid/member/tiny/src/ |
context.h | 60 GroupPubKey pub_key; ///< group public key member in struct:MemberCtx
|
/external/epid-sdk/epid/verifier/src/ |
context.h | 30 GroupPubKey_* pub_key; ///< group public key member in struct:VerifierCtx
|
/external/boringssl/src/include/openssl/ |
dsa.h | 108 // DSA_set0_key sets |dsa|'s public and private key to |pub_key| and |priv_key|, 112 // |priv_key| may be NULL, but |pub_key| must either be non-NULL or already 114 OPENSSL_EXPORT int DSA_set0_key(DSA *dsa, BIGNUM *pub_key, BIGNUM *priv_key); 402 BIGNUM *pub_key; // y public key member in struct:dsa_st
|
/external/nos/host/android/hals/keymaster/ |
import_key.cpp | 203 const EC_POINT *pub_key = EC_KEY_get0_public_key(ec_key); local 208 pub_key, x.get(), y.get(), NULL)) {
|
/external/boringssl/src/crypto/dh/ |
dh.c | 110 BN_clear_free(dh->pub_key); 120 *out_pub_key = dh->pub_key; 127 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) { 128 if (pub_key != NULL) { 129 BN_free(dh->pub_key); 130 dh->pub_key = pub_key; 296 BIGNUM *pub_key = NULL, *priv_key = NULL; local 318 if (dh->pub_key == NULL) { 319 pub_key = BN_new() [all...] |