Home
last modified time | relevance | path

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 Diso_protocol.c270 if (DeepCopyUint8Buff(&randC, &params->randSelf) != HC_SUCCESS) { in ClientGenRandomProcEvent()
338 if (DeepCopyUint8Buff(&randC, &params->randPeer) != HC_SUCCESS) { in ServerGenTokenParseEvent()
342 if (DeepCopyUint8Buff(&authIdC, &params->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, &params->randPeer) != HC_SUCCESS) { in ClientGenTokenParseEvent()
455 if (DeepCopyUint8Buff(&authIdS, &params->authIdPeer) != HC_SUCCESS) { in ClientGenTokenParseEvent()
459 if (DeepCopyUint8Buff(&tokenS, &params->tokenPeer) != HC_SUCCESS) { in ClientGenTokenParseEvent()
536 if (DeepCopyUint8Buff(&tokenC, &params->tokenPeer) != HC_SUCCESS) { in ServerGenSessKeyParseEvent()
775 if (DeepCopyUint8Buff(psk, &impl->params.psk) != HC_SUCCESS) { in SetIsoPsk()
[all …]
H A Ddl_speke_protocol.c1036 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(&params->authId, &instance->params.authIdSelf) != HC_SUCCESS) { in BuildDlSpekeProtocolObj()
H A Dec_speke_protocol.c1019 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(&params->authId, &instance->params.authIdSelf) != HC_SUCCESS) { in BuildEcSpekeProtocolObj()
/ohos5.0/base/security/device_auth/common_lib/interfaces/
H A Duint8buff_utils.h32 int32_t DeepCopyUint8Buff(const Uint8Buff *buff, Uint8Buff *newBuff);
/ohos5.0/base/security/device_auth/common_lib/impl/src/
H A Duint8buff_utils.c39 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 Dauth_code_import.c263 if (DeepCopyUint8Buff(&authCode, &params->authCode) != HC_SUCCESS) { in ServerGenAuthCodeProcEvent()
335 if (DeepCopyUint8Buff(&authCode, &params->authCode) != HC_SUCCESS) { in ClientImportAuthCodeParseEvent()
537 if (DeepCopyUint8Buff(&params->authId, &(instance->params.authIdSelf)) != HC_SUCCESS) { in InitAuthCodeImportCmd()
H A Dpub_key_exchange.c703 if (DeepCopyUint8Buff(&params->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 Dexpand_sub_session.c522 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 Dkey_manager.c342 if (DeepCopyUint8Buff(&pseudonymIdBuff, returnHmac) != HC_SUCCESS) { in GenerateAndSavePseudonymId()
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/
H A Ddev_session_v2.c589 if (DeepCopyUint8Buff(&pkInfoStrBuff, &peerCert->pkInfoStr) != HC_SUCCESS) { in BuildPeerCertInfo()