/base/security/device_auth/test/unittest/deviceauth/source/ |
H A D | identity_manager_test.cpp | 187 ret = identity->getSharedSecretByUrl(nullptr, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 189 ret = identity->getSharedSecretByUrl(in, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 191 ret = identity->getSharedSecretByUrl(in, &presharedUrl, ALG_EC_SPEKE, nullptr); in HWTEST_F() 200 ret = identity->getSharedSecretByPeerCert(nullptr, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 202 ret = identity->getSharedSecretByPeerCert(in, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 205 ret = identity->getSharedSecretByPeerCert(in, &peerCertInfo, ALG_EC_SPEKE, nullptr); in HWTEST_F() 240 ret = identity->getSharedSecretByUrl(in, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 242 ret = identity->getSharedSecretByUrl(nullptr, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 244 ret = identity->getSharedSecretByUrl(in, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 246 ret = identity->getSharedSecretByUrl(in, &presharedUrl, ALG_EC_SPEKE, nullpt in HWTEST_F() [all...] |
H A D | deviceauth_func_test.cpp | 1269 int32_t res = GetSharedSecretByPeerCert(in, certInfo, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1274 res = GetSharedSecretByPeerCert(nullptr, nullptr, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F()
|
/base/security/device_auth/services/identity_manager/inc/ |
H A D | identity_defines.h | 61 typedef enum { ALG_EC_SPEKE = 0x0001, ALG_DL_SPEKE = 0x0002, ALG_ISO = 0x0004 } ProtocolAlgType; enumerator
|
/base/security/device_auth/test/fuzztest/creds_manager/credsmanager_fuzzer/ |
H A D | credsmanager_fuzzer.cpp | 1288 (void)GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in CredsManagerTest41() 1305 (void)GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in CredsManagerTest42() 1322 (void)GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in CredsManagerTest43() 1338 (void)GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in CredsManagerTest44() 1674 (void)GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in CredsManagerTest58() 1693 (void)GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in CredsManagerTest59() 1714 (void)GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in CredsManagerTest60() 1743 res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in CredsManagerTest61() 1754 int32_t res = GetSharedSecretByPeerCert(nullptr, nullptr, ALG_EC_SPEKE, nullptr); in CredsManagerTest62() 1759 res = GetSharedSecretByPeerCert(json, nullptr, ALG_EC_SPEKE, nullpt in CredsManagerTest62() [all...] |
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/creds_manager/ |
H A D | creds_manager_test.cpp | 1383 int32_t res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1404 int32_t res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1425 int32_t res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1445 int32_t res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1800 int32_t res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1823 int32_t res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1848 int32_t res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1878 res = GetSharedSecretByUrl(json, &presharedUrl, ALG_EC_SPEKE, &sharedSecret); in HWTEST_F() 1887 int32_t res = GetSharedSecretByPeerCert(nullptr, nullptr, ALG_EC_SPEKE, nullptr); in HWTEST_F() 1891 res = GetSharedSecretByPeerCert(json, nullptr, ALG_EC_SPEKE, nullpt in HWTEST_F() [all...] |
/base/security/device_auth/services/identity_manager/src/ |
H A D | identity_pin.c | 99 ecSpekeEntity->protocolType = ALG_EC_SPEKE; in SetProtocolsForPinType() 126 ecSpekeEntity->protocolType = ALG_EC_SPEKE; in SetProtocolsForDirectAuth()
|
H A D | identity_p2p.c | 28 ecSpekeEntity->protocolType = ALG_EC_SPEKE; in SetProtocolsToIdentityInfo()
|
H A D | identity_group.c | 114 entity->protocolType = ALG_EC_SPEKE; in SetProtocolsToIdentityInfo() 915 if (protocolType != ALG_EC_SPEKE) { in GetSharedSecretByPeerCert()
|
H A D | cert_operation.c | 424 ecSpekeEntity->protocolType = ALG_EC_SPEKE; in GetAccountAsymIdentityInfo()
|
/base/security/device_auth/services/session_manager/src/session/v2/ |
H A D | dev_session_v2.c | 185 int32_t credType = (impl->protocolEntity.protocolType == ALG_EC_SPEKE ? ASYMMETRIC_CRED : SYMMETRIC_CRED); in CmdSaveTrustedInfoGenerator() 1337 if (entity->protocolType == ALG_EC_SPEKE) { in AddAuthSubSessionToVec() 1777 return ALG_EC_SPEKE; in GetAlgTypeByProtocolType()
|