summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/man/EC_POINT_point2oct.3
diff options
context:
space:
mode:
authortb <>2025-05-01 07:27:11 +0000
committertb <>2025-05-01 07:27:11 +0000
commit9e2089cc516b07b9b6396b72935fb723f9356e79 (patch)
treed82098023534ef49b74c439008961b34b0c08d39 /src/lib/libcrypto/man/EC_POINT_point2oct.3
parent083703cccc171f3d393149ace7108601328f47fc (diff)
downloadopenbsd-9e2089cc516b07b9b6396b72935fb723f9356e79.tar.gz
openbsd-9e2089cc516b07b9b6396b72935fb723f9356e79.tar.bz2
openbsd-9e2089cc516b07b9b6396b72935fb723f9356e79.zip
More space around .Dl + a typo on top
Diffstat (limited to '')
-rw-r--r--src/lib/libcrypto/man/EC_POINT_point2oct.36
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libcrypto/man/EC_POINT_point2oct.3 b/src/lib/libcrypto/man/EC_POINT_point2oct.3
index ebb09f8001..7c5ee9923d 100644
--- a/src/lib/libcrypto/man/EC_POINT_point2oct.3
+++ b/src/lib/libcrypto/man/EC_POINT_point2oct.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: EC_POINT_point2oct.3,v 1.2 2025/04/26 09:03:03 tb Exp $ 1.\" $OpenBSD: EC_POINT_point2oct.3,v 1.3 2025/05/01 07:27:11 tb Exp $
2.\" 2.\"
3.\" Copyright (c) 2025 Theo Buehler <tb@openbsd.org> 3.\" Copyright (c) 2025 Theo Buehler <tb@openbsd.org>
4.\" 4.\"
@@ -14,7 +14,7 @@
14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 14.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 15.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
16.\" 16.\"
17.Dd $Mdocdate: April 26 2025 $ 17.Dd $Mdocdate: May 1 2025 $
18.Dt EC_POINT_POINT2OCT 3 18.Dt EC_POINT_POINT2OCT 3
19.Os 19.Os
20.Sh NAME 20.Sh NAME
@@ -95,7 +95,9 @@ object.
95It is either the point at infinity or it has a representation 95It is either the point at infinity or it has a representation
96(x, y) in standard affine coordinates, 96(x, y) in standard affine coordinates,
97in which case it satisfies the curve's Weierstrass equation 97in which case it satisfies the curve's Weierstrass equation
98.Pp
98.Dl y^2 = x^3 + ax + b 99.Dl y^2 = x^3 + ax + b
100.Pp
99in the prime field of size p. 101in the prime field of size p.
100Thus, y is a square root of x^3 + ax + b. 102Thus, y is a square root of x^3 + ax + b.
101Since p > 3 is odd, p - y is another square root 103Since p > 3 is odd, p - y is another square root