Searched refs:agreeSharedSecret (Results 1 – 5 of 5) sorted by relevance
/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_ec_common/ |
D | pake_protocol_ec_common.c | 99 res = params->loader->agreeSharedSecret(&eskSelfBuff, &baseBuff, alg, ¶ms->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/ |
D | hks_core_service.c | 661 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/ |
D | alg_defs.h | 151 AgreeSharedSecretFunc agreeSharedSecret; member
|
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/ |
D | ec_speke_protocol.c | 290 res = GetLoaderInstance()->agreeSharedSecret(&eskSelfBuff, &baseBuff, algo, ¶ms->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/ |
D | huks_adapter.c | 1374 .agreeSharedSecret = AgreeSharedSecret,
|