Searched refs:ecY (Results 1 – 2 of 2) sorted by relevance
/ohos5.0/base/security/huks/utils/crypto_adapter/ |
H A D | hks_client_service_adapter.c | 157 BIGNUM *ecY = NULL; in EccToX509PublicKey() local 166 ecY = BN_bin2bn(y->data, y->size, NULL); in EccToX509PublicKey() 167 if (ecX == NULL || ecY == NULL) { in EccToX509PublicKey() 172 if (EC_KEY_set_public_key_affine_coordinates(ecKey, ecX, ecY) == 0) { in EccToX509PublicKey() 192 SELF_FREE_PTR(ecY, BN_free) in EccToX509PublicKey()
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/three_stage_test/src/ |
H A D | hks_chipset_platform_encrypt_test.cpp | 249 auto ecY = std::unique_ptr<BIGNUM, void(*)(BIGNUM *&)>(BN_bin2bn(rawPk.data() + in ConvertRawEcPubKeyToX509Key() local 251 EXPECT_NE(ecY, nullptr); in ConvertRawEcPubKeyToX509Key() 252 …EXPECT_EQ(EC_KEY_set_public_key_affine_coordinates(ecKey.get(), ecX.get(), ecY.get()), HKS_OPENSSL… in ConvertRawEcPubKeyToX509Key()
|