~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix documentation for mkphrase. Oops.
[catacomb]
/
mpmont.h
diff --git
a/mpmont.h
b/mpmont.h
index
b931162
..
44be367
100644
(file)
--- a/
mpmont.h
+++ b/
mpmont.h
@@
-1,6
+1,6
@@
/* -*-c-*-
*
/* -*-c-*-
*
- * $Id
: mpmont.h,v 1.8 2004/04/08 01:36:15 mdw Exp
$
+ * $Id$
*
* Montgomery reduction
*
*
* Montgomery reduction
*
@@
-92,13
+92,13
@@
typedef struct mpmont {
* Arguments: @mpmont *mm@ = pointer to Montgomery reduction context
* @mp *m@ = modulus to use
*
* Arguments: @mpmont *mm@ = pointer to Montgomery reduction context
* @mp *m@ = modulus to use
*
- * Returns:
---
+ * Returns:
Zero on success, nonzero on error.
*
* Use: Initializes a Montgomery reduction context ready for use.
* The argument @m@ must be a positive odd integer.
*/
*
* Use: Initializes a Montgomery reduction context ready for use.
* The argument @m@ must be a positive odd integer.
*/
-extern
void
mpmont_create(mpmont */*mm*/, mp */*m*/);
+extern
int
mpmont_create(mpmont */*mm*/, mp */*m*/);
/* --- @mpmont_destroy@ --- *
*
/* --- @mpmont_destroy@ --- *
*