Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Nicolas Mora
nettle
Commits
6b579ce0
Commit
6b579ce0
authored
Sep 21, 2016
by
Niels Möller
Browse files
Fix a few minor documentation typos.
parent
2370916f
Changes
1
Hide whitespace changes
Inline
Side-by-side
nettle.texinfo
View file @
6b579ce0
...
...
@@ -4260,7 +4260,7 @@ Deallocate storage.
Check that the given coordinates represent a point on the curve. If so,
the coordinates are copied and converted to internal representation, and
the function returns 1. Otherwise, it returns 0. Currently, the
infinity point (or zero point, with additive notation) i
snot allowed.
infinity point (or zero point, with additive notation) is
not allowed.
@end deftypefun
@deftypefun void ecc
_
point
_
get (const struct ecc
_
point *@var
{
p
}
, mpz
_
t @var
{
x
}
, mpz
_
t @var
{
y
}
)
...
...
@@ -4355,11 +4355,11 @@ the the curve equation can be solved for @math{y}. The other half
correspond to points on a related ``twist curve''. The function
@code
{
curve25519
_
mul
}
uses a Montgomery ladder for the scalar
multiplication, as suggested in the curve25519 literature, and required
by @cite
{
RFC 7748
}
.
Its t
he output is therefore well defined for
by @cite
{
RFC 7748
}
.
T
he output is therefore well defined for
@emph
{
all
}
possible inputs, no matter if the input string represents a
valid point on the curve or not.
Note that the curve25519 implementation in earlier versions f
rom
Nettle
Note that the curve25519 implementation in earlier versions
o
f Nettle
deviates slightly from @cite
{
RFC 7748
}
, in that bit 255 of the @math
{
x
}
coordinate of the point input to curve25519
_
mul was not ignored. The
@file
{
nette/curve25519.h
}
defines a preprocessor symbol
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment