Home
last modified time | relevance | path

Searched refs:HC_ERR_ALLOC_MEMORY (Results 1 – 25 of 78) sorted by relevance

1234

/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/lite_exchange_task/
Diso_server_bind_exchange_task.c85 res = HC_ERR_ALLOC_MEMORY; in DecryptChallenge()
91 res = HC_ERR_ALLOC_MEMORY; in DecryptChallenge()
121 res = HC_ERR_ALLOC_MEMORY; in GenAndEncAuthCode()
146 res = HC_ERR_ALLOC_MEMORY; in GenAndEncAuthCode()
180 res = HC_ERR_ALLOC_MEMORY; in GenerateAuthCodeAndImport()
185 res = HC_ERR_ALLOC_MEMORY; in GenerateAuthCodeAndImport()
199 res = HC_ERR_ALLOC_MEMORY; in GenerateAuthCodeAndImport()
204 res = HC_ERR_ALLOC_MEMORY; in GenerateAuthCodeAndImport()
227 res = HC_ERR_ALLOC_MEMORY; in ServerBindExchangeStart()
Diso_client_bind_exchange_task.c47 res = HC_ERR_ALLOC_MEMORY; in DecAndImportInner()
90 res = HC_ERR_ALLOC_MEMORY; in DecAndImportAuthCode()
95 res = HC_ERR_ALLOC_MEMORY; in DecAndImportAuthCode()
104 res = HC_ERR_ALLOC_MEMORY; in DecAndImportAuthCode()
168 return HC_ERR_ALLOC_MEMORY; in ClientBindAesEncrypt()
178 return HC_ERR_ALLOC_MEMORY; in ClientBindAesEncrypt()
212 res = HC_ERR_ALLOC_MEMORY; in ClientBindExchangeStart()
217 res = HC_ERR_ALLOC_MEMORY; in ClientBindExchangeStart()
/base/security/device_auth/services/creds_manager/src/account_related/
Daccount_related_creds_manager.c99 return HC_ERR_ALLOC_MEMORY; in VerifyPeerCertInfo()
142 return HC_ERR_ALLOC_MEMORY; in GetSharedSecretForAccountInPake()
172 return HC_ERR_ALLOC_MEMORY; in GetSharedSecretForAccountInPake()
192 return HC_ERR_ALLOC_MEMORY; in GenerateCertInfo()
206 return HC_ERR_ALLOC_MEMORY; in GenerateCertInfo()
223 return HC_ERR_ALLOC_MEMORY; in GetCertInfo()
254 return HC_ERR_ALLOC_MEMORY; in GetAccountAsymIdentityInfo()
280 return HC_ERR_ALLOC_MEMORY; in GetLocalDeviceType()
302 return HC_ERR_ALLOC_MEMORY; in GenerateAuthTokenForAccessory()
325 return HC_ERR_ALLOC_MEMORY; in GenerateAuthTokenForAccessory()
[all …]
/base/security/device_auth/services/creds_manager/src/
Dcreds_operation_utils.c37 return HC_ERR_ALLOC_MEMORY; in SetProtocolsForPinType()
47 return HC_ERR_ALLOC_MEMORY; in SetProtocolsForPinType()
57 return HC_ERR_ALLOC_MEMORY; in SetProtocolsForPinType()
73 return HC_ERR_ALLOC_MEMORY; in SetProtocolsForUidType()
92 return HC_ERR_ALLOC_MEMORY; in SetProtocolsForP2pType()
104 return HC_ERR_ALLOC_MEMORY; in SetProtocolsForP2pType()
122 return HC_ERR_ALLOC_MEMORY; in SetPreSharedUrlForProof()
Dcreds_manager.c89 return HC_ERR_ALLOC_MEMORY; in GetAccountUnrelatedIdentityInfo()
113 return HC_ERR_ALLOC_MEMORY; in GetIdentityInfo()
201 return HC_ERR_ALLOC_MEMORY; in GetCredInfosForPinType()
233 return HC_ERR_ALLOC_MEMORY; in CheckAndGetP2pCredInfo()
297 return HC_ERR_ALLOC_MEMORY; in GetSharedSecretForPinInPake()
319 return HC_ERR_ALLOC_MEMORY; in GenerateKeyAliasInIso()
375 return HC_ERR_ALLOC_MEMORY; in GetSharedSecretForPinInIso()
388 return HC_ERR_ALLOC_MEMORY; in GetSharedSecretForPinInIso()
406 return HC_ERR_ALLOC_MEMORY; in GetSharedSecretForP2pInIso()
419 return HC_ERR_ALLOC_MEMORY; in GetSharedSecretForP2pInIso()
[all …]
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/
Dpake_task_common.c31 res = HC_ERR_ALLOC_MEMORY; in ConstructOutJson()
37 res = HC_ERR_ALLOC_MEMORY; in ConstructOutJson()
151 return HC_ERR_ALLOC_MEMORY; in FillAuthId()
173 return HC_ERR_ALLOC_MEMORY; in FillAuthId()
208 return HC_ERR_ALLOC_MEMORY; in FillPkgNameAndServiceType()
223 return HC_ERR_ALLOC_MEMORY; in FillPkgNameAndServiceType()
240 return HC_ERR_ALLOC_MEMORY; in FillNonce()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/
Dexpand_sub_session.c101 return HC_ERR_ALLOC_MEMORY; in EncryptMsg()
124 return HC_ERR_ALLOC_MEMORY; in DecryptMsg()
152 return HC_ERR_ALLOC_MEMORY; in GetRecvEncData()
193 return HC_ERR_ALLOC_MEMORY; in AddSendCmdDataToList()
344 return HC_ERR_ALLOC_MEMORY; in BuildEncData()
367 return HC_ERR_ALLOC_MEMORY; in PackSendMsg()
404 return HC_ERR_ALLOC_MEMORY; in AddExpandProcess()
428 return HC_ERR_ALLOC_MEMORY; in StartExpandSubSession()
461 return HC_ERR_ALLOC_MEMORY; in ProcessExpandSubSession()
516 return HC_ERR_ALLOC_MEMORY; in CreateExpandSubSession()
[all …]
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/
Dpake_v1_protocol_common.c74 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
81 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
88 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
95 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
102 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
109 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
116 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
231 res = HC_ERR_ALLOC_MEMORY; in DeriveKeyFromSharedSecret()
243 res = HC_ERR_ALLOC_MEMORY; in DeriveKeyFromSharedSecret()
249 res = HC_ERR_ALLOC_MEMORY; in DeriveKeyFromSharedSecret()
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Diso_protocol.c164 return HC_ERR_ALLOC_MEMORY; in IsoCalToken()
214 return HC_ERR_ALLOC_MEMORY; in IsoGenSessionKey()
235 return HC_ERR_ALLOC_MEMORY; in IsoGenSessionKey()
264 return HC_ERR_ALLOC_MEMORY; in ClientGenRandomProcEvent()
332 return HC_ERR_ALLOC_MEMORY; in ServerGenTokenParseEvent()
336 return HC_ERR_ALLOC_MEMORY; in ServerGenTokenParseEvent()
352 return HC_ERR_ALLOC_MEMORY; in ServerGenTokenProcEvent()
363 return HC_ERR_ALLOC_MEMORY; in ServerGenTokenProcEvent()
445 return HC_ERR_ALLOC_MEMORY; in ClientGenTokenParseEvent()
449 return HC_ERR_ALLOC_MEMORY; in ClientGenTokenParseEvent()
[all …]
Dec_speke_protocol.c121 return HC_ERR_ALLOC_MEMORY; in GetAuthIdPeerFromInput()
134 return HC_ERR_ALLOC_MEMORY; in GetSaltFromInput()
153 return HC_ERR_ALLOC_MEMORY; in GetEpkPeerFromInput()
166 return HC_ERR_ALLOC_MEMORY; in GetKcfDataPeerFromInput()
191 return HC_ERR_ALLOC_MEMORY; in CalSalt()
230 return HC_ERR_ALLOC_MEMORY; in EcSpekeCalBase()
244 return HC_ERR_ALLOC_MEMORY; in EcSpekeCalEskSelf()
286 return HC_ERR_ALLOC_MEMORY; in EcSpekeCalEpkSelf()
335 return HC_ERR_ALLOC_MEMORY; in CalSidSelf()
363 return HC_ERR_ALLOC_MEMORY; in CalSidPeer()
[all …]
/base/security/device_auth/services/mk_agree/src/
Dmk_agree_task.c40 return HC_ERR_ALLOC_MEMORY; in GeneratePakeRequestPayload()
85 return HC_ERR_ALLOC_MEMORY; in GeneratePakeRequestPayloadData()
102 return HC_ERR_ALLOC_MEMORY; in GeneratePakeResponsePayload()
177 return HC_ERR_ALLOC_MEMORY; in GeneratePakeResponsePayloadData()
210 return HC_ERR_ALLOC_MEMORY; in GeneratePakeResponsePayloadData()
299 return HC_ERR_ALLOC_MEMORY; in GenerateMkByPeer()
381 return HC_ERR_ALLOC_MEMORY; in ParsePakeData()
450 return HC_ERR_ALLOC_MEMORY; in VerifyPeerKcf()
531 return HC_ERR_ALLOC_MEMORY; in GetDuplicateUdid()
610 return HC_ERR_ALLOC_MEMORY; in InitTaskParams()
[all …]
Dkey_manager.c42 return HC_ERR_ALLOC_MEMORY; in ConvertHashToAlias()
65 return HC_ERR_ALLOC_MEMORY; in ConvertHashToAliasWithPrefix()
277 return HC_ERR_ALLOC_MEMORY; in GeneratePseudonymPsk()
344 return HC_ERR_ALLOC_MEMORY; in GenerateAndSavePseudonymId()
351 return HC_ERR_ALLOC_MEMORY; in GenerateAndSavePseudonymId()
/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/
Dpake_v2_protocol_common.c78 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
85 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
92 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
99 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
106 return HC_ERR_ALLOC_MEMORY; in AllocDefaultParams()
216 res = HC_ERR_ALLOC_MEMORY; in ComputeSidSelf()
248 res = HC_ERR_ALLOC_MEMORY; in ComputeSidPeer()
275 int32_t res = HC_ERR_ALLOC_MEMORY; in ComputeSid()
337 return HC_ERR_ALLOC_MEMORY; in ComputeSharedSecret()
389 res = HC_ERR_ALLOC_MEMORY; in GenerateSharedSecret()
[all …]
/base/security/device_auth/services/authenticators/src/account_unrelated/iso_task/
Diso_task_common.c31 return HC_ERR_ALLOC_MEMORY; in GenerateReturnKey()
96 ret = HC_ERR_ALLOC_MEMORY; in GenerateEncResult()
107 ret = HC_ERR_ALLOC_MEMORY; in GenerateEncResult()
137 res = HC_ERR_ALLOC_MEMORY; in SendResultToFinalSelf()
181 res = HC_ERR_ALLOC_MEMORY; in GenEncResult()
215 res = HC_ERR_ALLOC_MEMORY; in CheckEncResult()
221 res = HC_ERR_ALLOC_MEMORY; in CheckEncResult()
356 return HC_ERR_ALLOC_MEMORY; in FillPkgNameAndServiceType()
394 return HC_ERR_ALLOC_MEMORY; in FillPin()
410 return HC_ERR_ALLOC_MEMORY; in AllocSeed()
[all …]
/base/security/device_auth/services/authenticators/src/account_related/auth/pake_v2_auth_task/
Dpake_v2_auth_task_common.c61 return HC_ERR_ALLOC_MEMORY; in VerifyPkSignPeer()
97 return HC_ERR_ALLOC_MEMORY; in GenerateEcdhSharedKey()
124 return HC_ERR_ALLOC_MEMORY; in GenerateEcdhSharedKey()
141 return HC_ERR_ALLOC_MEMORY; in InitCharStringBuff()
206 return HC_ERR_ALLOC_MEMORY; in ExtractSelfDeviceId()
260 return HC_ERR_ALLOC_MEMORY; in ExtractSelfDevId()
309 return HC_ERR_ALLOC_MEMORY; in GetPkInfoPeer()
315 return HC_ERR_ALLOC_MEMORY; in GetPkInfoPeer()
340 return HC_ERR_ALLOC_MEMORY; in GetAsyPubKeyInfo()
/base/security/device_auth/services/authenticators/src/account_related/auth/iso_auth_task/
Diso_auth_task_common.c51 return HC_ERR_ALLOC_MEMORY; in FillUserId()
56 return HC_ERR_ALLOC_MEMORY; in FillUserId()
97 return HC_ERR_ALLOC_MEMORY; in FillPayload()
129 return HC_ERR_ALLOC_MEMORY; in SetChallenge()
299 return HC_ERR_ALLOC_MEMORY; in GetPayloadValue()
315 return HC_ERR_ALLOC_MEMORY; in GetPayloadValue()
361 return HC_ERR_ALLOC_MEMORY; in ExtractAndVerifyPayload()
/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/
Dsave_trusted_info.c128 return HC_ERR_ALLOC_MEMORY; in ClientSendTrustedInfoProcEvent()
139 return HC_ERR_ALLOC_MEMORY; in ClientSendTrustedInfoProcEvent()
145 return HC_ERR_ALLOC_MEMORY; in ClientSendTrustedInfoProcEvent()
326 return HC_ERR_ALLOC_MEMORY; in AddTrustedGroup()
346 return HC_ERR_ALLOC_MEMORY; in AddPeerTrustedDevice()
370 return HC_ERR_ALLOC_MEMORY; in AddSelfTrustedDevice()
438 return HC_ERR_ALLOC_MEMORY; in ServerSendTrustedInfoProcEvent()
454 return HC_ERR_ALLOC_MEMORY; in ServerSendTrustedInfoProcEvent()
460 return HC_ERR_ALLOC_MEMORY; in ServerSendTrustedInfoProcEvent()
772 return HC_ERR_ALLOC_MEMORY; in InitSaveTrustedInfoCmd()
[all …]
Dpub_key_exchange.c138 return HC_ERR_ALLOC_MEMORY; in CalKeyAlias()
163 return HC_ERR_ALLOC_MEMORY; in CalServiceId()
246 return HC_ERR_ALLOC_MEMORY; in ExportSelfPubKey()
308 return HC_ERR_ALLOC_MEMORY; in GetAuthIdPeerFromInput()
330 return HC_ERR_ALLOC_MEMORY; in ServerSendPkInfoParseEvent()
470 return HC_ERR_ALLOC_MEMORY; in ClientImportPkParseEvent()
668 return HC_ERR_ALLOC_MEMORY; in InitPubkeyExchangeCmd()
672 return HC_ERR_ALLOC_MEMORY; in InitPubkeyExchangeCmd()
676 return HC_ERR_ALLOC_MEMORY; in InitPubkeyExchangeCmd()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_unrelated_group_auth/
Daccount_unrelated_group_auth.c49 return HC_ERR_ALLOC_MEMORY; in ReturnSessionKey()
152 return HC_ERR_ALLOC_MEMORY; in AddSessionKeyToSelfData()
213 return HC_ERR_ALLOC_MEMORY; in DasOnFinishToPeer()
238 return HC_ERR_ALLOC_MEMORY; in DasOnFinishToSelf()
252 return HC_ERR_ALLOC_MEMORY; in DasOnFinishToSelf()
330 return HC_ERR_ALLOC_MEMORY; in FillNonAccountAuthInfo()
/base/security/device_auth/services/group_auth/src/group_auth_manager/account_related_group_auth/
Daccount_related_group_auth.c55 return HC_ERR_ALLOC_MEMORY; in ReturnSessionKey()
86 return HC_ERR_ALLOC_MEMORY; in GetSessionKeyForAccount()
257 return HC_ERR_ALLOC_MEMORY; in FillAccountCredentialInfo()
423 return HC_ERR_ALLOC_MEMORY; in AddSelfDevInfoForServer()
520 return HC_ERR_ALLOC_MEMORY; in GetAuthParamsVecForServer()
536 return HC_ERR_ALLOC_MEMORY; in AccountOnFinishToPeer()
610 return HC_ERR_ALLOC_MEMORY; in AddTrustedDeviceForAccount()
656 return HC_ERR_ALLOC_MEMORY; in AccountOnFinishToSelf()
670 return HC_ERR_ALLOC_MEMORY; in AccountOnFinishToSelf()
/base/security/device_auth/services/protocol/src/
Dprotocol_common.c47 return HC_ERR_ALLOC_MEMORY; in InitSingleParam()
/base/security/device_auth/services/authenticators/src/account_unrelated/pake_task/standard_exchange_task/
Dstandard_exchange_message_util.c32 res = HC_ERR_ALLOC_MEMORY; in PackageNonceAndCipherToJson()
66 res = HC_ERR_ALLOC_MEMORY; in ParseNonceAndCipherFromJson()
/base/security/device_auth/services/group_manager/src/broadcast_manager/
Dbroadcast_manager.c41 return HC_ERR_ALLOC_MEMORY; in GenerateMessage()
227 return HC_ERR_ALLOC_MEMORY; in AddListenerIfNotExist()
238 return HC_ERR_ALLOC_MEMORY; in AddListenerIfNotExist()
278 return HC_ERR_ALLOC_MEMORY; in InitBroadcastManager()
/base/security/device_auth/services/protocol/src/iso_protocol/
Diso_protocol_common.c35 res = HC_ERR_ALLOC_MEMORY; in InitIsoBaseParams()
42 res = HC_ERR_ALLOC_MEMORY; in InitIsoBaseParams()
50 res = HC_ERR_ALLOC_MEMORY; in InitIsoBaseParams()
96 return HC_ERR_ALLOC_MEMORY; in IsoCalSelfToken()
141 return HC_ERR_ALLOC_MEMORY; in IsoCalPeerToken()
212 return HC_ERR_ALLOC_MEMORY; in IsoGenSessionKey()
/base/security/device_auth/services/authenticators/src/account_related/creds_manager/
Dsym_token_manager.c128 return HC_ERR_ALLOC_MEMORY; in CreateTokensFromJson()
145 return HC_ERR_ALLOC_MEMORY; in OpenTokenFile()
179 return HC_ERR_ALLOC_MEMORY; in ReadTokensFromFile()
375 return HC_ERR_ALLOC_MEMORY; in GenerateKeyAlias()
415 return HC_ERR_ALLOC_MEMORY; in ImportSymTokenToKeyManager()
458 return HC_ERR_ALLOC_MEMORY; in AddToken()
514 return HC_ERR_ALLOC_MEMORY; in DeleteSymTokenFromKeyManager()

1234