Searched refs:DeepCopyUint8Buff (Results 1 – 10 of 10) sorted by relevance
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
H A D | iso_protocol.c | 270 if (DeepCopyUint8Buff(&randC, ¶ms->randSelf) != HC_SUCCESS) { in ClientGenRandomProcEvent() 338 if (DeepCopyUint8Buff(&randC, ¶ms->randPeer) != HC_SUCCESS) { in ServerGenTokenParseEvent() 342 if (DeepCopyUint8Buff(&authIdC, ¶ms->authIdPeer) != HC_SUCCESS) { in ServerGenTokenParseEvent() 358 if (DeepCopyUint8Buff(&randS, &impl->params.randSelf) != HC_SUCCESS) { in ServerGenTokenProcEvent() 369 if (DeepCopyUint8Buff(&tokenS, &impl->params.tokenSelf) != HC_SUCCESS) { in ServerGenTokenProcEvent() 451 if (DeepCopyUint8Buff(&randS, ¶ms->randPeer) != HC_SUCCESS) { in ClientGenTokenParseEvent() 455 if (DeepCopyUint8Buff(&authIdS, ¶ms->authIdPeer) != HC_SUCCESS) { in ClientGenTokenParseEvent() 459 if (DeepCopyUint8Buff(&tokenS, ¶ms->tokenPeer) != HC_SUCCESS) { in ClientGenTokenParseEvent() 536 if (DeepCopyUint8Buff(&tokenC, ¶ms->tokenPeer) != HC_SUCCESS) { in ServerGenSessKeyParseEvent() 775 if (DeepCopyUint8Buff(psk, &impl->params.psk) != HC_SUCCESS) { in SetIsoPsk() [all …]
|
H A D | dl_speke_protocol.c | 1036 if (DeepCopyUint8Buff(psk, &impl->params.psk) != HC_SUCCESS) { in SetDlSpekePsk() 1050 if (DeepCopyUint8Buff(selfMsg, &self->protectedMsg.selfMsg) != HC_SUCCESS) { in SetDlSpekeSelfProtectedMsg() 1063 if (DeepCopyUint8Buff(peerMsg, &self->protectedMsg.peerMsg) != HC_SUCCESS) { in SetDlSpekePeerProtectedMsg() 1080 return DeepCopyUint8Buff(&self->sessionKey, returnSessionKey); in GetDlSpekeSessionKey() 1109 if (DeepCopyUint8Buff(¶ms->authId, &instance->params.authIdSelf) != HC_SUCCESS) { in BuildDlSpekeProtocolObj()
|
H A D | ec_speke_protocol.c | 1019 if (DeepCopyUint8Buff(psk, &impl->params.psk) != HC_SUCCESS) { in SetEcSpekePsk() 1033 if (DeepCopyUint8Buff(selfMsg, &self->protectedMsg.selfMsg) != HC_SUCCESS) { in SetEcSpekeSelfProtectedMsg() 1046 if (DeepCopyUint8Buff(peerMsg, &self->protectedMsg.peerMsg) != HC_SUCCESS) { in SetEcSpekePeerProtectedMsg() 1063 return DeepCopyUint8Buff(&self->sessionKey, returnSessionKey); in GetEcSpekeSessionKey() 1092 if (DeepCopyUint8Buff(¶ms->authId, &instance->params.authIdSelf) != HC_SUCCESS) { in BuildEcSpekeProtocolObj()
|
/ohos5.0/base/security/device_auth/common_lib/interfaces/ |
H A D | uint8buff_utils.h | 32 int32_t DeepCopyUint8Buff(const Uint8Buff *buff, Uint8Buff *newBuff);
|
/ohos5.0/base/security/device_auth/common_lib/impl/src/ |
H A D | uint8buff_utils.c | 39 int32_t DeepCopyUint8Buff(const Uint8Buff *buff, Uint8Buff *newBuff) in DeepCopyUint8Buff() function
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/expand_process_lib/ |
H A D | auth_code_import.c | 263 if (DeepCopyUint8Buff(&authCode, ¶ms->authCode) != HC_SUCCESS) { in ServerGenAuthCodeProcEvent() 335 if (DeepCopyUint8Buff(&authCode, ¶ms->authCode) != HC_SUCCESS) { in ClientImportAuthCodeParseEvent() 537 if (DeepCopyUint8Buff(¶ms->authId, &(instance->params.authIdSelf)) != HC_SUCCESS) { in InitAuthCodeImportCmd()
|
H A D | pub_key_exchange.c | 703 if (DeepCopyUint8Buff(¶ms->authId, &(instance->params.authIdSelf)) != HC_SUCCESS) { in InitPubkeyExchangeCmd()
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/expand_sub_session/ |
H A D | expand_sub_session.c | 522 if (DeepCopyUint8Buff(nonce, &(impl->nonce)) != HC_SUCCESS) { in CreateExpandSubSession() 527 if (DeepCopyUint8Buff(encKey, &(impl->encKey)) != HC_SUCCESS) { in CreateExpandSubSession()
|
/ohos5.0/base/security/device_auth/services/mk_agree/src/ |
H A D | key_manager.c | 342 if (DeepCopyUint8Buff(&pseudonymIdBuff, returnHmac) != HC_SUCCESS) { in GenerateAndSavePseudonymId()
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/ |
H A D | dev_session_v2.c | 589 if (DeepCopyUint8Buff(&pkInfoStrBuff, &peerCert->pkInfoStr) != HC_SUCCESS) { in BuildPeerCertInfo()
|