Home
last modified time | relevance | path

Searched refs:agreeSharedSecret (Results 1 – 5 of 5) sorted by relevance

/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_ec_common/
Dpake_protocol_ec_common.c99 res = params->loader->agreeSharedSecret(&eskSelfBuff, &baseBuff, alg, &params->epkSelf); in GenerateEcPakeParams()
129 res = params->loader->agreeSharedSecret(&eskSelfBuff, &epkPeerBuff, alg, sharedSecret); in AgreeEcSharedSecret()
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_core_service.c661 uint32_t unwrapSuite, struct HksBlob *agreeSharedSecret, const struct HksParamSet *inParamSet) in AgreeSharedSecretWithPeerPublicKey() argument
688 agreeSharedSecret->size = sharedSecret.size; in AgreeSharedSecretWithPeerPublicKey()
689 agreeSharedSecret->data = sharedSecret.data; in AgreeSharedSecretWithPeerPublicKey()
715 const struct HksBlob *agreeSharedSecret, uint32_t *partOffset, struct HksBlob *outKekBlob) in DecryptKekWithAgreeSharedSecret() argument
748 ret = HksCryptoHalDecrypt(agreeSharedSecret, decKekUsageSpec, &kekEncDataPart, &kek); in DecryptKekWithAgreeSharedSecret()
852 …c void ClearAndFreeKeyBlobsIfNeed(struct HksBlob *peerPublicKey, struct HksBlob *agreeSharedSecret, in ClearAndFreeKeyBlobsIfNeed() argument
865 if (agreeSharedSecret->data != NULL) { in ClearAndFreeKeyBlobsIfNeed()
866 … (void)memset_s(agreeSharedSecret->data, agreeSharedSecret->size, 0, agreeSharedSecret->size); in ClearAndFreeKeyBlobsIfNeed()
867 HKS_FREE(agreeSharedSecret->data); in ClearAndFreeKeyBlobsIfNeed()
1340 struct HksBlob agreeSharedSecret = { 0, NULL }; in HksCoreImportWrappedKey() local
[all …]
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
Dalg_defs.h151 AgreeSharedSecretFunc agreeSharedSecret; member
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
Dec_speke_protocol.c290 res = GetLoaderInstance()->agreeSharedSecret(&eskSelfBuff, &baseBuff, algo, &params->epkSelf); in EcSpekeCalEpkSelf()
320 int32_t res = GetLoaderInstance()->agreeSharedSecret(&eskSelfBuff, &epkPeerBuff, algo, p); in CalP()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
Dhuks_adapter.c1374 .agreeSharedSecret = AgreeSharedSecret,