summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortb <>2022-11-18 07:28:34 +0000
committertb <>2022-11-18 07:28:34 +0000
commit5673137f00930926e8191aab226a21afaea9ad31 (patch)
tree154235618e5523f5d7010ecc4236fc127f7106aa /src
parent9750e2a87132894524966e967d44d545d9bec7ae (diff)
downloadopenbsd-5673137f00930926e8191aab226a21afaea9ad31.tar.gz
openbsd-5673137f00930926e8191aab226a21afaea9ad31.tar.bz2
openbsd-5673137f00930926e8191aab226a21afaea9ad31.zip
group -> field
discussed with schwarze
Diffstat (limited to 'src')
-rw-r--r--src/lib/libcrypto/man/BN_GF2m_add.310
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/man/BN_GF2m_add.3 b/src/lib/libcrypto/man/BN_GF2m_add.3
index 693d737282..170a7df18a 100644
--- a/src/lib/libcrypto/man/BN_GF2m_add.3
+++ b/src/lib/libcrypto/man/BN_GF2m_add.3
@@ -1,4 +1,4 @@
1.\" $OpenBSD: BN_GF2m_add.3,v 1.2 2022/11/18 07:27:31 tb Exp $ 1.\" $OpenBSD: BN_GF2m_add.3,v 1.3 2022/11/18 07:28:34 tb Exp $
2.\" 2.\"
3.\" Copyright (c) 2022 Ingo Schwarze <schwarze@openbsd.org> 3.\" Copyright (c) 2022 Ingo Schwarze <schwarze@openbsd.org>
4.\" 4.\"
@@ -245,8 +245,8 @@ In particular, if
245and 245and
246.Fa b 246.Fa b
247are elements of the same representation 247are elements of the same representation
248of the same $roman GF left ( 2 sup m right )$ group, 248of the same $roman GF left ( 2 sup m right )$ field,
249the sum of both in that representation of that group is computed 249the sum of both in that representation of that field is computed
250.Po 250.Po
251$r = a + b$ 251$r = a + b$
252.Pc . 252.Pc .
@@ -278,7 +278,7 @@ is an alias for
278.Xr BN_ucmp 3 . 278.Xr BN_ucmp 3 .
279Despite its name, it does not attempt to find out whether the two 279Despite its name, it does not attempt to find out whether the two
280polynomials belong to the same congruence class with respect to some 280polynomials belong to the same congruence class with respect to some
281Galois group. 281Galois field.
282.Pp 282.Pp
283.Fn BN_GF2m_mod_arr 283.Fn BN_GF2m_mod_arr
284and its wrapper 284and its wrapper
@@ -390,7 +390,7 @@ and place the result into
390$r = sqrt a ( roman mod p )$ 390$r = sqrt a ( roman mod p )$
391.Pc . 391.Pc .
392This works because of the identity $a sup {2 sup m} = a$ 392This works because of the identity $a sup {2 sup m} = a$
393which holds for all group elements $a$. 393which holds for all field elements $a$.
394.Pp 394.Pp
395.Fn BN_GF2m_mod_solve_quad_arr 395.Fn BN_GF2m_mod_solve_quad_arr
396and its wrapper 396and its wrapper