Home
last modified time | relevance | path

Searched refs:pubX (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/
H A Dhks_openssl_ecc.c86 retCode = BN_bn2binpad(pubX, rawMaterial + offset, keyMaterial->xSize); in TransEccKeyToKeyBlob()
131 BIGNUM *pubX = BN_new(); in EccSaveKeyMaterial() local
136 if ((pubX == NULL) || (pubY == NULL)) { in EccSaveKeyMaterial()
152 if (pubX != NULL) { in EccSaveKeyMaterial()
153 BN_free(pubX); in EccSaveKeyMaterial()
154 pubX = NULL; in EccSaveKeyMaterial()
254 BIGNUM *pubX = BN_bin2bn(keyPair + offset, xSize, NULL); in EccInitPublicKey() local
258 if ((pubX == NULL) || (pubY == NULL) || (pub == NULL)) { in EccInitPublicKey()
275 if (pubX != NULL) { in EccInitPublicKey()
276 BN_free(pubX); in EccInitPublicKey()
[all …]
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/
H A Dopenssl_ecc_helper.c57 if (BN_bn2binpad(pubX, rawMaterial + offset, keyMaterial->xSize) <= 0) { in TransEccKeyToKeyBlob()
86 BIGNUM *pubX = BN_new(); in EccSaveKeyMaterial() local
91 if ((pubX == NULL) || (pubY == NULL)) { in EccSaveKeyMaterial()
122 if (pubX != NULL) { in EccSaveKeyMaterial()
123 BN_free(pubX); in EccSaveKeyMaterial()
125 if (pubX != NULL) { in EccSaveKeyMaterial()
180 BIGNUM *pubX = BN_bin2bn(keyPair + offset, xSize, NULL); in EccInitPublicKey() local
184 if ((pubX == NULL) || (pubY == NULL) || (pub == NULL)) { in EccInitPublicKey()
198 if (pubX != NULL) { in EccInitPublicKey()
199 BN_free(pubX); in EccInitPublicKey()
[all …]
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_app_cert_process.c55 BIGNUM *pubX = BN_new(); in TransEccKeyToKeyBlob() local
58 if ((pubX == NULL) || (pubY == NULL)) { in TransEccKeyToKeyBlob()
64 …e = EC_POINT_get_affine_coordinates_GFp(ecGroup, EC_KEY_get0_public_key(eccKey), pubX, pubY, NULL); in TransEccKeyToKeyBlob()
71 retCode = BN_bn2binpad(pubX, rawMaterial->data + offset, keyMaterial->xSize); in TransEccKeyToKeyBlob()
93 if (pubX != NULL) { in TransEccKeyToKeyBlob()
94 BN_free(pubX); in TransEccKeyToKeyBlob()