/* cgbn_stage1.h: header for CGBN (GPU) based ecm stage 1. Copyright 2021 Seth Troisi This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; see the file COPYING. If not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02111-1307, USA. */ #ifndef _CGBN_STAGE1_H #define _CGBN_STAGE1_H 1 #include #include #ifdef __cplusplus extern "C" { #endif int cgbn_ecm_stage1(mpz_t *factors, int *array_found, const mpz_t N, const mpz_t s, uint32_t curves, uint32_t sigma, float *gputime, int verbose); #ifdef __cplusplus } #endif #endif /* _CGBN_STAGE1_H */