/external/epid-sdk/epid/member/tiny/unittests/ |
D | provision_credential-test.cc | 40 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/ |
D | provision_credential-test.cc | 42 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 …]
|
D | storage-test.cc | 47 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/ |
D | provision_join.c | 33 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()
|
D | provision_bulk.c | 37 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()
|
D | storage.c | 36 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()
|
D | startup.c | 58 &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/ |
D | saslplainmechanism.h | 32 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()
|
D | saslcookiemechanism.h | 51 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/ |
D | pubsub_utils.py | 47 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/ |
D | RecordingOkAuthenticator.java | 28 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/ |
D | provisioncredential.c | 46 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/ |
D | multiprocess_file_storage.py | 157 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
|
D | sqlalchemy.py | 147 credential = getattr(entity, self.property_name) 148 if credential and hasattr(credential, 'set_store'): 149 credential.set_store(self) 150 return credential
|
D | multistore_file.py | 261 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/ |
D | RTCICEServer+JSON.m | 17 static NSString const *kRTCICEServerCredentialKey = @"credential"; 24 NSString *credential = dictionary[kRTCICEServerCredentialKey]; 26 credential = credential ? credential : @""; 29 password:credential];
|
/external/python/oauth2client/oauth2client/contrib/django_util/ |
D | storage.py | 59 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/ |
D | RTCIceServer.mm | 20 @synthesize credential = _credential; 26 credential:nil]; 31 credential:(NSString *)credential { 36 _credential = [credential copy];
|
D | RTCIceServer.h | 24 @property(nonatomic, copy, readonly, nullable) NSString *credential; 37 credential:(nullable NSString *)credential
|
/external/python/oauth2client/tests/contrib/django_util/ |
D | test_django_storage.py | 71 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/ |
D | tools.py | 243 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/ |
D | control | 16 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/ |
D | AuthenticatorAdapter.java | 52 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/ |
D | AuthenticatorAdapter.java | 50 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/ |
D | control | 16 entropy credential for a high entropy credential while enforcing limits 17 on how often attempts can be made. The high entropy credential is needed
|