projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename MP_IS* to MP_*P, for consistency's sake. Use these macros more often.
[u/mdw/catacomb]
/
ec-info.c
diff --git
a/ec-info.c
b/ec-info.c
index
4f852c2
..
ea584de
100644
(file)
--- a/
ec-info.c
+++ b/
ec-info.c
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: ec-info.c,v 1.7 2004/04/17 09:58:37 mdw Exp
$
+ * $Id$
*
* Elliptic curve information management
*
*
* Elliptic curve information management
*
@@
-325,7
+325,7
@@
void ec_freeinfo(ec_info *ei)
static int primeeltp(mp *x, field *f)
{
static int primeeltp(mp *x, field *f)
{
- return (!MP_
ISNEG
(x) && MP_CMP(x, <, f->m));
+ return (!MP_
NEGP
(x) && MP_CMP(x, <, f->m));
}
static const char *primecheck(const ec_info *ei, grand *gr)
}
static const char *primecheck(const ec_info *ei, grand *gr)