Home
last modified time | relevance | path

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

/base/security/huks/services/huks_standard/huks_engine/main/core/src/
H A Dhks_core_service_key_generate.c410 uint32_t unwrapSuite, struct HksBlob *agreeSharedSecret, const struct HksParamSet *inParamSet) in AgreeSharedSecretWithPeerPublicKey()
437 agreeSharedSecret->size = sharedSecret.size; in AgreeSharedSecretWithPeerPublicKey()
438 agreeSharedSecret->data = sharedSecret.data; in AgreeSharedSecretWithPeerPublicKey()
464 const struct HksBlob *agreeSharedSecret, uint32_t *partOffset, struct HksBlob *outKekBlob) in DecryptKekWithAgreeSharedSecret()
497 ret = HksCryptoHalDecrypt(agreeSharedSecret, decKekUsageSpec, &kekEncDataPart, &kek); in DecryptKekWithAgreeSharedSecret()
601 static void ClearAndFreeKeyBlobsIfNeed(struct HksBlob *peerPublicKey, struct HksBlob *agreeSharedSecret, in ClearAndFreeKeyBlobsIfNeed() argument
614 if (agreeSharedSecret->data != NULL) { in ClearAndFreeKeyBlobsIfNeed()
615 (void)memset_s(agreeSharedSecret->data, agreeSharedSecret->size, 0, agreeSharedSecret in ClearAndFreeKeyBlobsIfNeed()
409 AgreeSharedSecretWithPeerPublicKey(const struct HksBlob *wrappingKey, const struct HksBlob *publicKey, uint32_t unwrapSuite, struct HksBlob *agreeSharedSecret, const struct HksParamSet *inParamSet) AgreeSharedSecretWithPeerPublicKey() argument
463 DecryptKekWithAgreeSharedSecret(const struct HksBlob *wrappedKeyData, const struct HksBlob *agreeSharedSecret, uint32_t *partOffset, struct HksBlob *outKekBlob) DecryptKekWithAgreeSharedSecret() argument
799 struct HksBlob agreeSharedSecret = { 0, NULL }; HksCoreImportWrappedKey() local
[all...]
/base/security/device_auth/services/protocol/src/pake_protocol/pake_protocol_ec_common/
H A Dpake_protocol_ec_common.c101 res = params->loader->agreeSharedSecret(&eskSelfParams, &baseBuff, alg, &params->epkSelf); in GenerateEcPakeParams()
133 res = params->loader->agreeSharedSecret(&eskSelfParams, &epkPeerBuff, alg, sharedSecret); in AgreeEcSharedSecret()
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/
H A Dalg_defs.h168 AgreeSharedSecretFunc agreeSharedSecret; member
/base/security/device_auth/services/session_manager/src/session/v2/auth_sub_session/protocol_lib/
H A Dec_speke_protocol.c299 res = GetLoaderInstance()->agreeSharedSecret(&eskSelfParams, &baseBuff, algo, &params->epkSelf); in EcSpekeCalEpkSelf()
330 int32_t res = GetLoaderInstance()->agreeSharedSecret(&eskSelfParams, &epkPeerBuff, algo, p); in CalP()
/base/security/device_auth/deps_adapter/key_management_adapter/impl/src/
H A Dhuks_adapter.c2261 .agreeSharedSecret = AgreeSharedSecret,

Completed in 9 milliseconds