Searched refs:pubY (Results 1 – 3 of 3) sorted by relevance
/ohos5.0/base/security/huks/frameworks/huks_standard/main/crypto_engine/openssl/src/ |
H A D | hks_openssl_ecc.c | 93 retCode = BN_bn2binpad(pubY, rawMaterial + offset, keyMaterial->ySize); in TransEccKeyToKeyBlob() 132 BIGNUM *pubY = BN_new(); in EccSaveKeyMaterial() local 136 if ((pubX == NULL) || (pubY == NULL)) { in EccSaveKeyMaterial() 156 if (pubY != NULL) { in EccSaveKeyMaterial() 157 BN_free(pubY); in EccSaveKeyMaterial() 158 pubY = NULL; in EccSaveKeyMaterial() 256 BIGNUM *pubY = BN_bin2bn(keyPair + offset, ySize, NULL); in EccInitPublicKey() local 258 if ((pubX == NULL) || (pubY == NULL) || (pub == NULL)) { in EccInitPublicKey() 280 if (pubY != NULL) { in EccInitPublicKey() 281 BN_free(pubY); in EccInitPublicKey() [all …]
|
/ohos5.0/base/security/huks/test/unittest/huks_standard_test/interface_inner_test/alg_module_test/src/ |
H A D | openssl_ecc_helper.c | 62 if (BN_bn2binpad(pubY, rawMaterial + offset, keyMaterial->ySize) <= 0) { in TransEccKeyToKeyBlob() 87 BIGNUM *pubY = BN_new(); in EccSaveKeyMaterial() local 91 if ((pubX == NULL) || (pubY == NULL)) { in EccSaveKeyMaterial() 109 if (TransEccKeyToKeyBlob(keyMaterial, pubX, pubY, priv, rawMaterial) == ECC_FAILED) { in EccSaveKeyMaterial() 126 BN_free(pubY); in EccSaveKeyMaterial() 182 BIGNUM *pubY = BN_bin2bn(keyPair + offset, ySize, NULL); in EccInitPublicKey() local 184 if ((pubX == NULL) || (pubY == NULL) || (pub == NULL)) { in EccInitPublicKey() 188 if (EC_POINT_set_affine_coordinates_GFp(ecGroup, pub, pubX, pubY, NULL) <= 0) { in EccInitPublicKey() 203 if (pubY != NULL) { in EccInitPublicKey() 204 BN_free(pubY); in EccInitPublicKey() [all …]
|
/ohos5.0/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/ |
H A D | cert_manager_app_cert_process.c | 56 BIGNUM *pubY = 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() 78 retCode = BN_bn2binpad(pubY, rawMaterial->data + offset, keyMaterial->ySize); in TransEccKeyToKeyBlob() 96 if (pubY != NULL) { in TransEccKeyToKeyBlob() 97 BN_free(pubY); in TransEccKeyToKeyBlob()
|