projects
/
u
/
mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
First glimmerings of binary polynomial arithmetic.
[u/mdw/catacomb]
/
rabin.h
diff --git
a/rabin.h
b/rabin.h
index
f0f6532
..
d57efcd
100644
(file)
--- a/
rabin.h
+++ b/
rabin.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id: rabin.h,v 1.
4 2000/06/17 11:52:48
mdw Exp $
+ * $Id: rabin.h,v 1.
5 2000/07/09 21:32:16
mdw Exp $
*
* Miller-Rabin primality test
*
*
* Miller-Rabin primality test
*
@@
-30,6
+30,9
@@
/*----- Revision history --------------------------------------------------*
*
* $Log: rabin.h,v $
/*----- Revision history --------------------------------------------------*
*
* $Log: rabin.h,v $
+ * Revision 1.5 2000/07/09 21:32:16 mdw
+ * rabin_test: Correct error in comment.
+ *
* Revision 1.4 2000/06/17 11:52:48 mdw
* Typesetting fix.
*
* Revision 1.4 2000/06/17 11:52:48 mdw
* Typesetting fix.
*
@@
-107,7
+110,7
@@
extern void rabin_destroy(rabin */*r*/);
* Arguments: @rabin *r@ = pointer to Rabin-Miller context
* @mp *g@ = base to test the number against
*
* Arguments: @rabin *r@ = pointer to Rabin-Miller context
* @mp *g@ = base to test the number against
*
- * Returns: Either @PGEN_FAIL@ if the test failed, or @PGEN_
TRY
@
+ * Returns: Either @PGEN_FAIL@ if the test failed, or @PGEN_
PASS
@
* if it succeeded.
*
* Use: Performs a single iteration of the Rabin-Miller primality
* if it succeeded.
*
* Use: Performs a single iteration of the Rabin-Miller primality