group = EC_KEY_get0_group(pkey->pkey.ec); if (!EC_GROUP_get_order(group, order, NULL)) { ERR_clear_error(); return 0; } ret = BN_num_bits(order); BN_free(order); return ret; return EC_GROUP_order_bits(EC_KEY_get0_group(pkey->pkey.ec)); } static int ec_security_bits...
ec_group = EC_KEY_get0_group(ec_key);if(!(pub_key = EC_POINT_new(ec_group))) {gotoerr; }if(!(pt = EC_POINT_new(ec_group))) {gotoerr; }if(!EC_GROUP_get_order(ec_group, order, ctx)) {gotoerr; } bn_size = BN_num_bytes(order); pt_size = bn_size +1;if((num_fac...