Searched refs:returnSessionKey (Results 1 – 6 of 6) sorted by relevance
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/ |
H A D | auth_sub_session.c | 123 static int32_t GetSessionKey(AuthSubSession *self, Uint8Buff *returnSessionKey) in GetSessionKey() argument 125 if ((self == NULL) || (returnSessionKey == NULL)) { in GetSessionKey() 130 return impl->instance->getSessionKey(impl->instance, returnSessionKey); in GetSessionKey()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/ |
H A D | iso_task_common.c | 142 uint8_t *returnSessionKey = NULL; in SendResultToFinalSelf() local 147 returnSessionKey = (uint8_t *)HcMalloc(params->keyLen, 0); in SendResultToFinalSelf() 148 if (returnSessionKey == NULL) { in SendResultToFinalSelf() 153 res = GenerateReturnKey(params, returnSessionKey, params->keyLen); in SendResultToFinalSelf() 158 …GOTO_ERR_AND_SET_RET(AddByteToJson(sendToSelf, FIELD_SESSION_KEY, returnSessionKey, params->keyLen… in SendResultToFinalSelf() 164 if (returnSessionKey != NULL) { in SendResultToFinalSelf() 165 (void)memset_s(returnSessionKey, params->keyLen, 0, params->keyLen); in SendResultToFinalSelf() 167 HcFree(returnSessionKey); in SendResultToFinalSelf()
|
/ohos5.0/base/security/device_auth/services/session_manager/inc/session/v2/auth_sub_session/ |
H A D | auth_sub_session.h | 37 int32_t (*getSessionKey)(AuthSubSession *self, Uint8Buff *returnSessionKey);
|
/ohos5.0/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
H A D | iso_protocol.c | 809 static int32_t GetIsoSessionKey(BaseProtocol *self, Uint8Buff *returnSessionKey) in GetIsoSessionKey() argument 811 if ((self == NULL) || (returnSessionKey == NULL)) { in GetIsoSessionKey() 819 return DeepCopyUint8Buff(&self->sessionKey, returnSessionKey); in GetIsoSessionKey()
|
H A D | dl_speke_protocol.c | 1070 static int32_t GetDlSpekeSessionKey(BaseProtocol *self, Uint8Buff *returnSessionKey) in GetDlSpekeSessionKey() argument 1072 if ((self == NULL) || (returnSessionKey == NULL)) { in GetDlSpekeSessionKey() 1080 return DeepCopyUint8Buff(&self->sessionKey, returnSessionKey); in GetDlSpekeSessionKey()
|
H A D | ec_speke_protocol.c | 1053 static int32_t GetEcSpekeSessionKey(BaseProtocol *self, Uint8Buff *returnSessionKey) in GetEcSpekeSessionKey() argument 1055 if ((self == NULL) || (returnSessionKey == NULL)) { in GetEcSpekeSessionKey() 1063 return DeepCopyUint8Buff(&self->sessionKey, returnSessionKey); in GetEcSpekeSessionKey()
|