~mdw
/
catacomb
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
configure.ac: Recognize `androideabi' as a thing we can support.
[catacomb]
/
math
/
ec-info.c
diff --git
a/math/ec-info.c
b/math/ec-info.c
index
017c498
..
f57f92c
100644
(file)
--- a/
math/ec-info.c
+++ b/
math/ec-info.c
@@
-494,14
+494,14
@@
const char *ec_getinfo(ec_info *ei, const char *p)
/* --- @ec_sameinfop@ --- *
*
/* --- @ec_sameinfop@ --- *
*
- * Arguments: @ec_info *ei, *ej@ = two elliptic curve parameter sets
+ * Arguments: @
const
ec_info *ei, *ej@ = two elliptic curve parameter sets
*
* Returns: Nonzero if the curves are identical (not just isomorphic).
*
* Use: Checks for sameness of curve parameters.
*/
*
* Returns: Nonzero if the curves are identical (not just isomorphic).
*
* Use: Checks for sameness of curve parameters.
*/
-int ec_sameinfop(
ec_info *ei,
ec_info *ej)
+int ec_sameinfop(
const ec_info *ei, const
ec_info *ej)
{
return (ec_samep(ei->c, ej->c) &&
MP_EQ(ei->r, ej->r) && MP_EQ(ei->h, ej->h) &&
{
return (ec_samep(ei->c, ej->c) &&
MP_EQ(ei->r, ej->r) && MP_EQ(ei->h, ej->h) &&