WARNING! Gitlab maintenance operation scheduled for Monday, 20 April between 12:00 and 14:00 (CET). During this time window, short service interruptions (less than 5 minutes) may occur. Thank you in advance for your understanding.
// int result = ::EC_POINT_set_compressed_coordinates_GFp(_ec_group, A, compressed_key, (p_compressed_mode == static_cast<int>(ecc_compressed_mode::compressed_y_1)) ? 1 : 0, _bn_ctx); // Use primary elliptic curve
// ::BN_free(compressed_key);
// // Set public keys
// BIGNUM *xy = ::BN_new();
// ::EC_POINT_point2bn(_ec_group, A, POINT_CONVERSION_UNCOMPRESSED, xy, _bn_ctx);
// if (BN_num_bytes(xy) == 0) {
// ::BN_free(xy);
// loggers::get_instance().error("security_ecc::bfk_expend_public_key: Failed to generate xy coordinates, check algorithms");
intresult=::EC_POINT_set_compressed_coordinates_GFp(_ec_group,*p_ec_point,compressed_key,(p_compressed_mode==static_cast<int>(ecc_compressed_mode::compressed_y_1))?1:0,_bn_ctx);// Use primary elliptic curve
intresult=::EC_POINT_set_compressed_coordinates_GFp(_ec_group,*p_ec_point,compressed_key,(p_compressed_mode==static_cast<int>(ecc_compressed_mode::compressed_y_1))?1:0,_bn_ctx);// Use primary elliptic curve