Searched refs:peerHksPubKey (Results 1 – 1 of 1) sorted by relevance
117 struct HksBlob peerHksPubKey = { .size = 0, .data = NULL }; in HksChipsetPlatformDeriveKeyAndEcdh() local121 ret = MallocAndFillFullHksPublicKey(peerPk, &peerHksPubKey); in HksChipsetPlatformDeriveKeyAndEcdh()125 ret = HksCryptoHalAgreeKey(&platformPrivateKey, &peerHksPubKey, &ecdhSpec, sharedKey); in HksChipsetPlatformDeriveKeyAndEcdh()128 (void)(memset_s(peerHksPubKey.data, peerHksPubKey.size, 0, peerHksPubKey.size)); in HksChipsetPlatformDeriveKeyAndEcdh()130 HKS_FREE_BLOB(peerHksPubKey); in HksChipsetPlatformDeriveKeyAndEcdh()