Home
last modified time | relevance | path

Searched refs:ecSpekeEntity (Results 1 - 3 of 3) sorted by relevance

/base/security/device_auth/services/identity_manager/src/
H A Didentity_pin.c94 ProtocolEntity *ecSpekeEntity = (ProtocolEntity *)HcMalloc(sizeof(ProtocolEntity), 0); in SetProtocolsForPinType() local
95 if (ecSpekeEntity == NULL) { in SetProtocolsForPinType()
99 ecSpekeEntity->protocolType = ALG_EC_SPEKE; in SetProtocolsForPinType()
100 ecSpekeEntity->expandProcessCmds = CMD_EXCHANGE_PK | CMD_ADD_TRUST_DEVICE; in SetProtocolsForPinType()
101 if (info->protocolVec.pushBack(&info->protocolVec, (const ProtocolEntity **)&ecSpekeEntity) == NULL) { in SetProtocolsForPinType()
103 HcFree(ecSpekeEntity); in SetProtocolsForPinType()
121 ProtocolEntity *ecSpekeEntity = (ProtocolEntity *)HcMalloc(sizeof(ProtocolEntity), 0); in SetProtocolsForDirectAuth() local
122 if (ecSpekeEntity == NULL) { in SetProtocolsForDirectAuth()
126 ecSpekeEntity->protocolType = ALG_EC_SPEKE; in SetProtocolsForDirectAuth()
127 ecSpekeEntity in SetProtocolsForDirectAuth()
[all...]
H A Didentity_p2p.c23 ProtocolEntity *ecSpekeEntity = (ProtocolEntity *)HcMalloc(sizeof(ProtocolEntity), 0); in SetProtocolsToIdentityInfo() local
24 if (ecSpekeEntity == NULL) { in SetProtocolsToIdentityInfo()
28 ecSpekeEntity->protocolType = ALG_EC_SPEKE; in SetProtocolsToIdentityInfo()
29 ecSpekeEntity->expandProcessCmds = 0; in SetProtocolsToIdentityInfo()
30 info->protocolVec.pushBack(&info->protocolVec, (const ProtocolEntity **)&ecSpekeEntity); in SetProtocolsToIdentityInfo()
H A Dcert_operation.c419 ProtocolEntity *ecSpekeEntity = (ProtocolEntity *)HcMalloc(sizeof(ProtocolEntity), 0); in GetAccountAsymIdentityInfo() local
420 if (ecSpekeEntity == NULL) { in GetAccountAsymIdentityInfo()
424 ecSpekeEntity->protocolType = ALG_EC_SPEKE; in GetAccountAsymIdentityInfo()
425 ecSpekeEntity->expandProcessCmds = CMD_ADD_TRUST_DEVICE; in GetAccountAsymIdentityInfo()
428 ecSpekeEntity->expandProcessCmds |= CMD_MK_AGREE; in GetAccountAsymIdentityInfo()
433 info->protocolVec.pushBack(&info->protocolVec, (const ProtocolEntity **)&ecSpekeEntity); in GetAccountAsymIdentityInfo()

Completed in 3 milliseconds