Home
last modified time | relevance | path

Searched refs:credential (Results 1 – 25 of 178) sorted by relevance

12345678

/external/epid-sdk/epid/member/tiny/unittests/
Dprovision_credential-test.cc40 MembershipCredential const* credential, in ProvisionCredentialAndStart() argument
43 sts = EpidProvisionCredential(ctx, pub_key, credential, precomp_str); in ProvisionCredentialAndStart()
55 MembershipCredential credential; in TEST_F() local
56 credential.A = this->kGrpXMember9PrivKey.A; in TEST_F()
57 credential.gid = this->kGrpXMember9PrivKey.gid; in TEST_F()
58 credential.x = this->kGrpXMember9PrivKey.x; in TEST_F()
67 EpidProvisionCredential(nullptr, &pub_key, &credential, &precomp)); in TEST_F()
69 EpidProvisionCredential(member, nullptr, &credential, &precomp)); in TEST_F()
73 EpidProvisionCredential(nullptr, &pub_key, &credential, nullptr)); in TEST_F()
75 EpidProvisionCredential(member, nullptr, &credential, nullptr)); in TEST_F()
[all …]
/external/epid-sdk/epid/member/unittests/
Dprovision_credential-test.cc42 MembershipCredential const* credential, in ProvisionCredentialAndStart() argument
45 sts = EpidProvisionCredential(ctx, pub_key, credential, precomp_str); in ProvisionCredentialAndStart()
57 MembershipCredential credential; in TEST_F() local
58 credential.A = this->kGrpXMember9PrivKey.A; in TEST_F()
59 credential.gid = this->kGrpXMember9PrivKey.gid; in TEST_F()
60 credential.x = this->kGrpXMember9PrivKey.x; in TEST_F()
69 EpidProvisionCredential(nullptr, &pub_key, &credential, &precomp)); in TEST_F()
71 EpidProvisionCredential(member, nullptr, &credential, &precomp)); in TEST_F()
75 EpidProvisionCredential(nullptr, &pub_key, &credential, nullptr)); in TEST_F()
77 EpidProvisionCredential(member, nullptr, &credential, nullptr)); in TEST_F()
[all …]
Dstorage-test.cc47 MembershipCredential const credential = in TEST_F() local
51 nullptr, &pub_key, &credential, nv_index)); in TEST_F()
53 tpm, nullptr, &credential, nv_index)); in TEST_F()
68 MembershipCredential credential = in TEST_F() local
72 tpm, nv_index, &pub_key, &credential)); in TEST_F()
83 MembershipCredential credential = in TEST_F() local
88 &credential, nv_index)); in TEST_F()
91 nullptr, nv_index, &pub_key, &credential)); in TEST_F()
93 tpm, nv_index, nullptr, &credential)); in TEST_F()
110 MembershipCredential credential; in TEST_F() local
[all …]
/external/epid-sdk/epid/member/src/
Dprovision_join.c33 MembershipCredential const* credential, in EpidProvisionCredential() argument
39 if (!pub_key || !credential || !ctx) { in EpidProvisionCredential()
43 if (memcmp(&pub_key->gid, &credential->gid, sizeof(GroupId))) { in EpidProvisionCredential()
52 if (!EpidMemberIsKeyValid(ctx, &credential->A, &credential->x, &pub_key->h1, in EpidProvisionCredential()
57 sts = EpidNvWriteMembershipCredential(ctx->tpm2_ctx, pub_key, credential, in EpidProvisionCredential()
78 ctx->credential.A = credential->A; in EpidProvisionCredential()
79 ctx->credential.x = credential->x; in EpidProvisionCredential()
80 ctx->credential.gid = credential->gid; in EpidProvisionCredential()
Dprovision_bulk.c37 MembershipCredential credential = {0}; in EpidProvisionKey() local
54 credential.A = priv_key->A; in EpidProvisionKey()
55 credential.x = priv_key->x; in EpidProvisionKey()
56 credential.gid = priv_key->gid; in EpidProvisionKey()
68 sts = EpidNvWriteMembershipCredential(ctx->tpm2_ctx, pub_key, &credential, in EpidProvisionKey()
83 ctx->credential.A = credential.A; in EpidProvisionKey()
84 ctx->credential.x = credential.x; in EpidProvisionKey()
85 ctx->credential.gid = credential.gid; in EpidProvisionKey()
Dstorage.c36 MembershipCredential const* credential, uint32_t nv_index) { in EpidNvWriteMembershipCredential() argument
39 if (!ctx || !pub_key || !credential) return kEpidBadArgErr; in EpidNvWriteMembershipCredential()
44 sizeof(*pub_key) + sizeof(*credential)); in EpidNvWriteMembershipCredential()
49 sts = Tpm2NvWrite(ctx, nv_index, sizeof(*credential), sizeof(*pub_key), in EpidNvWriteMembershipCredential()
50 credential); in EpidNvWriteMembershipCredential()
60 MembershipCredential* credential) { in EpidNvReadMembershipCredential() argument
62 if (!ctx || !pub_key || !credential) return kEpidBadArgErr; in EpidNvReadMembershipCredential()
66 sts = Tpm2NvRead(ctx, nv_index, sizeof(*credential), sizeof(*pub_key), in EpidNvReadMembershipCredential()
67 credential); in EpidNvReadMembershipCredential()
Dstartup.c58 &ctx->credential); in EpidMemberStartup()
62 &ctx->credential.A, &ctx->precomp); in EpidMemberStartup()
72 sts = ReadEcPoint(G1, &ctx->credential.A, sizeof(ctx->credential.A), A); in EpidMemberStartup()
75 sts = ReadFfElement(Fp, &ctx->credential.x, sizeof(ctx->credential.x), x); in EpidMemberStartup()
/external/webrtc/webrtc/libjingle/xmpp/
Dsaslplainmechanism.h32 rtc::FormatCryptString credential; in StartSaslAuth() local
33 credential.Append("\0", 1); in StartSaslAuth()
34 credential.Append(user_jid_.node()); in StartSaslAuth()
35 credential.Append("\0", 1); in StartSaslAuth()
36 credential.Append(&password_); in StartSaslAuth()
37 el->AddText(Base64EncodeFromArray(credential.GetData(), credential.GetLength())); in StartSaslAuth()
Dsaslcookiemechanism.h51 std::string credential; in StartSaslAuth() local
52 credential.append("\0", 1); in StartSaslAuth()
53 credential.append(username_); in StartSaslAuth()
54 credential.append("\0", 1); in StartSaslAuth()
55 credential.append(cookie_); in StartSaslAuth()
56 el->AddText(Base64Encode(credential)); in StartSaslAuth()
/external/autotest/site_utils/
Dpubsub_utils.py47 self.credential = self._get_credential()
56 credential = GoogleCredentials.from_stream(self.credential_file)
57 if credential.create_scoped_required():
58 credential = credential.create_scoped(PUBSUB_SCOPES)
59 return credential
71 credentials=self.credential)
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/
DRecordingOkAuthenticator.java28 public final String credential; field in RecordingOkAuthenticator
30 public RecordingOkAuthenticator(String credential) { in RecordingOkAuthenticator() argument
31 this.credential = credential; in RecordingOkAuthenticator()
48 .addHeader("Authorization", credential) in authenticate()
56 .addHeader("Proxy-Authorization", credential) in authenticateProxy()
/external/epid-sdk/epid/member/tiny/src/
Dprovisioncredential.c46 MembershipCredential const* credential, MemberPrecomp const* precomp_str) { in EpidProvisionCredential() argument
49 if (!pub_key || !credential || !ctx) { in EpidProvisionCredential()
52 if (0 != memcmp(&pub_key->gid, &credential->gid, sizeof(GroupId))) { in EpidProvisionCredential()
56 MembershipCredentialDeserialize(&native_cred, credential); in EpidProvisionCredential()
64 ctx->credential = *credential; in EpidProvisionCredential()
/external/python/oauth2client/oauth2client/contrib/
Dmultiprocess_file_storage.py157 credential = client.Credentials.new_from_json(credential_json)
158 credentials[key] = credential
178 for key, credential in iteritems(credentials):
179 credential_json = credential.to_json()
337 credential = self._backend.locked_get(self._key)
339 if credential is not None:
340 credential.set_store(self)
342 return credential
Dsqlalchemy.py147 credential = getattr(entity, self.property_name)
148 if credential and hasattr(credential, 'set_store'):
149 credential.set_store(self)
150 return credential
Dmultistore_file.py261 credential = self._multistore._get_credential(self._key)
262 if credential:
263 credential.set_store(self)
264 return credential
408 key, credential = self._decode_credential_from_json(cred_entry)
409 self._data[key] = credential
427 credential = None
428 credential = client.Credentials.new_from_json(
430 return (key, credential)
/external/webrtc/webrtc/examples/objc/AppRTCDemo/
DRTCICEServer+JSON.m17 static NSString const *kRTCICEServerCredentialKey = @"credential";
24 NSString *credential = dictionary[kRTCICEServerCredentialKey];
26 credential = credential ? credential : @"";
29 password:credential];
/external/python/oauth2client/oauth2client/contrib/django_util/
Dstorage.py59 credential = getattr(entities[0], self.property_name)
60 if getattr(credential, 'set_store', None) is not None:
61 credential.set_store(self)
62 return credential
/external/webrtc/webrtc/api/objc/
DRTCIceServer.mm20 @synthesize credential = _credential;
26 credential:nil];
31 credential:(NSString *)credential {
36 _credential = [credential copy];
DRTCIceServer.h24 @property(nonatomic, copy, readonly, nullable) NSString *credential;
37 credential:(nullable NSString *)credential
/external/python/oauth2client/tests/contrib/django_util/
Dtest_django_storage.py71 credential = storage.locked_get()
73 credential, fake_model_with_credentials.credentials)
85 credential = storage.locked_get()
86 self.assertIsNone(credential)
101 credential = storage.locked_get()
103 credential, fake_model_with_credentials.credentials)
/external/python/oauth2client/oauth2client/
Dtools.py243 credential = flow.step2_exchange(code, http=http)
247 storage.put(credential)
248 credential.set_store(storage)
251 return credential
/external/autotest/client/site_tests/platform_CryptohomeLECredentialManager/
Dcontrol16 entropy credential for a high entropy credential while enforcing limits
17 on how often attempts can be made. The high entropy credential is needed
/external/okhttp/repackaged/okhttp/src/main/java/com/android/okhttp/internal/http/
DAuthenticatorAdapter.java52 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticate() local
54 .header("Authorization", credential) in authenticate()
76 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticateProxy() local
78 .header("Proxy-Authorization", credential) in authenticateProxy()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/
DAuthenticatorAdapter.java50 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticate() local
52 .header("Authorization", credential) in authenticate()
74 String credential = Credentials.basic(auth.getUserName(), new String(auth.getPassword())); in authenticateProxy() local
76 .header("Proxy-Authorization", credential) in authenticateProxy()
/external/autotest/server/site_tests/platform_CryptohomeLECredentialManagerServer/
Dcontrol16 entropy credential for a high entropy credential while enforcing limits
17 on how often attempts can be made. The high entropy credential is needed

12345678