#include "system.h"
#include "mpbarrett.h"
#include "mp.h"
#include "popt.h"
#include "debug.h"
Go to the source code of this file.
Functions | |
static int | Zmpbinv_w (const mpbarrett *b, size_t xsize, const mpw *xdata, mpw *result, mpw *wksp) |
static int | Ympbinv_w (const mpbarrett *b, size_t xsize, const mpw *xdata, mpw *result, mpw *wksp) |
static int | Xmpbinv_w (const mpbarrett *b, size_t xsize, const mpw *xdata, mpw *result, mpw *wksp) |
Computes the inverse (modulo b) of x, and returns 1 if x was invertible. | |
int | main (int argc, const char *argv[]) |
Variables | |
static int | _debug = 0 |
static const char * | dsa_q = "a1b35510319a59825c721e73e41d687ffe351bc9" |
static const char * | dsa_s [] |
static const char * | dsa_w_good [] |
static const char * | dsa_w_bad [] |
static struct poptOption | optionsTable [] |
int main | ( | int | argc, | |
const char * | argv[] | |||
) |
Definition at line 466 of file tinv.c.
References dsa_q, dsa_s, dsa_w_bad, dsa_w_good, optionsTable, Xmpbinv_w(), Ympbinv_w(), and Zmpbinv_w().
static int Xmpbinv_w | ( | const mpbarrett * | b, | |
size_t | xsize, | |||
const mpw * | xdata, | |||
mpw * | result, | |||
mpw * | wksp | |||
) | [static] |
static int Ympbinv_w | ( | const mpbarrett * | b, | |
size_t | xsize, | |||
const mpw * | xdata, | |||
mpw * | result, | |||
mpw * | wksp | |||
) | [static] |
static int Zmpbinv_w | ( | const mpbarrett * | b, | |
size_t | xsize, | |||
const mpw * | xdata, | |||
mpw * | result, | |||
mpw * | wksp | |||
) | [static] |
const char* dsa_q = "a1b35510319a59825c721e73e41d687ffe351bc9" [static] |
const char* dsa_s[] [static] |
Initial value:
{ "22e917d8a47462c09748e00aebbab5fd93793495", "0476b30eb86899c6785fad4f7a62e43d59481273", "8adbca132a0e6a2d2ee5bb2cd837b350c9f8db42", "026efa7a5a60d29921ec93f503b5c483d131d8c4", "2e4ec3c986b5a1f8f77b0b9f911d4e1b0ed8d869", "259e4859e65c2528d3c35eaf2717d8963c834e94", "45462b3534c2ff7a13f232a4e6e4460c61b2e232", "0a73e678141aea7b4e5195afb7db3e9ec00f9f85", NULL }
Definition at line 417 of file tinv.c.
Referenced by main().
const char* dsa_w_bad[] [static] |
Initial value:
{ "e97b9895cb99acf9c819a4b24a0b8ce6902f3442", "f7434b4c2b2722abec888ea3a90eb940be954d82", "ed15be40c189255fed77e21d5fd92a54cdfa7165", "dc06930c3dc6a45035d1d8078c92149d1694ab3a", "ca28dc5abdfdc4c3680b8d37ac2cc8f47eff8323", "cb6b555c47133ad7c1759dc2bb5c2a69e1021a10", "d82915ceb5e724fb65d6b177671826133cc1c238", "2659140a40cb05e85c536a299327addb0a762b8a", NULL }
Definition at line 445 of file tinv.c.
Referenced by main().
const char* dsa_w_good[] [static] |
Initial value:
{ "8b2eeda5fd34067c248bc3262e28f5668e64500b", "98f6a05c5cc17c2e48faad178d2c21c0bcca694b", "8ec91350f3237ee249ea009143f692d4cc2f8d2e", "7db9e81c6f60fdd29243f67b70af7d1d14c9c703", "6bdc316aef981e45c47dabab904a31747d349eec", "6d1eaa6c78ad945a1de7bc369f7992e9df3735d9", "79dc6adee7817e7dc248cfeb4b358e933af6de01", "2659140a40cb05e85c536a299327addb0a762b8a", NULL }
Definition at line 431 of file tinv.c.
Referenced by main().
struct poptOption optionsTable[] [static] |