/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/ |
H A D | pake_common.c | 25 FreeAndCleanKey(¶ms->psk); in CleanPakeSensitiveKeys() 26 FreeAndCleanKey(¶ms->base); in CleanPakeSensitiveKeys() 27 FreeAndCleanKey(¶ms->eskSelf); in CleanPakeSensitiveKeys() 28 FreeAndCleanKey(¶ms->sharedSecret); in CleanPakeSensitiveKeys() 29 FreeAndCleanKey(¶ms->sessionKey); in CleanPakeSensitiveKeys() 30 FreeAndCleanKey(¶ms->hmacKey); in CleanPakeSensitiveKeys()
|
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_v2_protocol/ |
H A D | pake_v2_protocol_common.c | 190 FreeAndCleanKey(¶ms->psk); in GeneratePakeParams() 369 FreeAndCleanKey(&sharedSecretMsg); in ComputeSharedSecret() 405 FreeAndCleanKey(¶ms->eskSelf); in GenerateSharedSecret() 426 FreeAndCleanKey(&sid); in GenerateSharedSecret() 427 FreeAndCleanKey(&tmpSharedSecret); in GenerateSharedSecret() 524 FreeAndCleanKey(&proofMsg); in GenerateProof() 562 FreeAndCleanKey(&proofMsg); in VerifyProof() 579 FreeAndCleanKey(¶ms->base); in GenerateSessionKey() 580 FreeAndCleanKey(¶ms->sharedSecret); in GenerateSessionKey()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/ |
H A D | pake_task_common.c | 77 FreeAndCleanKey(&(params->returnKey)); in GenerateOutputKey() 79 FreeAndCleanKey(&(params->baseParams.sessionKey)); in GenerateOutputKey() 107 FreeAndCleanKey(&(params->returnKey)); in SendResultToSelf() 133 FreeAndCleanKey(¶ms->baseParams.psk); in FillPskWithPin()
|
/ohos5.0/base/security/device_auth/services/protocol/src/pake_protocol/pake_v1_protocol/ |
H A D | pake_v1_protocol_common.c | 202 FreeAndCleanKey(¶ms->psk); in GeneratePakeParams() 215 FreeAndCleanKey(¶ms->base); in GeneratePakeParams() 247 FreeAndCleanKey(¶ms->sharedSecret); in DeriveKeyFromSharedSecret() 260 FreeAndCleanKey(&unionKey); in DeriveKeyFromSharedSecret() 283 FreeAndCleanKey(¶ms->eskSelf); in GenerateSessionKey()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/iso_auth_task/ |
H A D | iso_auth_task_common.c | 165 FreeAndCleanKey(outKey); in GenerateAuthTokenForAccessory() 212 FreeAndCleanKey(&authToken); in AccountAuthGeneratePsk() 422 FreeAndCleanKey(&(params->isoBaseParams.sessionKey)); in AuthIsoSendFinalToOut() 426 FreeAndCleanKey(&(params->isoBaseParams.sessionKey)); in AuthIsoSendFinalToOut()
|
/ohos5.0/base/security/device_auth/services/key_agree_sdk/src/ |
H A D | key_agree_session.c | 412 FreeAndCleanKey(&spekeSession->baseParam.psk); in FillPskAndDeviceId() 419 FreeAndCleanKey(&spekeSession->baseParam.psk); in FillPskAndDeviceId() 425 FreeAndCleanKey(&spekeSession->baseParam.psk); in FillPskAndDeviceId() 426 FreeAndCleanKey(&spekeSession->baseParam.idSelf); in FillPskAndDeviceId() 662 FreeAndCleanKey(&spekeSession->sharedSecret); in PakeClientVerifyConfirm() 940 FreeAndCleanKey(&spekeSession->sharedSecret); in DestroySpekeSession() 941 FreeAndCleanKey(&spekeSession->deviceId); in DestroySpekeSession()
|
H A D | key_agree_sdk.c | 139 FreeAndCleanKey(&spekeSession->sharedSecret); in InitKeyAgreeStartSessionParams() 140 FreeAndCleanKey(&spekeSession->deviceId); in InitKeyAgreeStartSessionParams()
|
/ohos5.0/base/security/device_auth/services/protocol/inc/ |
H A D | protocol_common.h | 33 void FreeAndCleanKey(Uint8Buff *key);
|
/ohos5.0/base/security/device_auth/services/protocol/src/ |
H A D | protocol_common.c | 22 void FreeAndCleanKey(Uint8Buff *key) in FreeAndCleanKey() function
|
/ohos5.0/base/security/device_auth/services/protocol/src/iso_protocol/ |
H A D | iso_protocol_common.c | 77 FreeAndCleanKey(¶ms->sessionKey); in DestroyIsoBaseParams() 234 FreeAndCleanKey(¶ms->sessionKey); in IsoGenSessionKey() 391 FreeAndCleanKey(¶ms->sessionKey); in IsoServerGenSessionKeyAndCalToken()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_related/auth/pake_v2_auth_task/ |
H A D | pake_v2_auth_server_task.c | 202 FreeAndCleanKey(&task->params.pakeParams.sessionKey); in SendFinalToOut() 209 FreeAndCleanKey(&task->params.pakeParams.sessionKey); in SendFinalToOut()
|
H A D | pake_v2_auth_client_task.c | 202 FreeAndCleanKey(&task->params.pakeParams.sessionKey); in SendFinalToOut() 205 FreeAndCleanKey(&task->params.pakeParams.sessionKey); in SendFinalToOut()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/standard_exchange_task/ |
H A D | standard_client_bind_exchange_task.c | 144 FreeAndCleanKey(&(params->baseParams.sessionKey)); in Process()
|
H A D | standard_server_bind_exchange_task.c | 156 FreeAndCleanKey(&(params->baseParams.sessionKey)); in Process()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/lite_exchange_task/ |
H A D | iso_server_bind_exchange_task.c | 182 FreeAndCleanKey(&authCodeBuf); in GenAndEncAuthCode()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/pake_task/pake_v1_task/pake_v1_protocol_task/ |
H A D | pake_v1_protocol_task_common.c | 318 FreeAndCleanKey(&(params->baseParams.psk)); in FillPskWithDerivedKeyHex() 325 FreeAndCleanKey(&(params->baseParams.psk)); in FillPskWithDerivedKeyHex()
|
/ohos5.0/base/security/device_auth/services/legacy/authenticators/src/account_unrelated/iso_task/iso_task_common/ |
H A D | iso_task_common.c | 79 FreeAndCleanKey(&(params->baseParams.sessionKey)); in GenerateReturnKey()
|