summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/ec/ec2_oct.c
diff options
context:
space:
mode:
authortb <>2022-11-19 07:00:57 +0000
committertb <>2022-11-19 07:00:57 +0000
commitb197546e7fd8128aedea248a6196a0d25734b937 (patch)
treeea2ed349b4963d6f17652f4f5e962ee6d7cb2183 /src/lib/libcrypto/ec/ec2_oct.c
parentc85d7e98a77173fe38f0421c7cf06dc09bc9a746 (diff)
downloadopenbsd-b197546e7fd8128aedea248a6196a0d25734b937.tar.gz
openbsd-b197546e7fd8128aedea248a6196a0d25734b937.tar.bz2
openbsd-b197546e7fd8128aedea248a6196a0d25734b937.zip
whitespace
Diffstat (limited to 'src/lib/libcrypto/ec/ec2_oct.c')
-rw-r--r--src/lib/libcrypto/ec/ec2_oct.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libcrypto/ec/ec2_oct.c b/src/lib/libcrypto/ec/ec2_oct.c
index 832083c628..b25084ef58 100644
--- a/src/lib/libcrypto/ec/ec2_oct.c
+++ b/src/lib/libcrypto/ec/ec2_oct.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ec2_oct.c,v 1.16 2021/05/03 14:42:45 tb Exp $ */ 1/* $OpenBSD: ec2_oct.c,v 1.17 2022/11/19 07:00:57 tb Exp $ */
2/* ==================================================================== 2/* ====================================================================
3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. 3 * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED.
4 * 4 *
@@ -90,7 +90,7 @@
90 * the same method, but claim no priority date earlier than July 29, 1994 90 * the same method, but claim no priority date earlier than July 29, 1994
91 * (and additionally fail to cite the EUROCRYPT '92 publication as prior art). 91 * (and additionally fail to cite the EUROCRYPT '92 publication as prior art).
92 */ 92 */
93int 93int
94ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point, 94ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point,
95 const BIGNUM *x_, int y_bit, BN_CTX *ctx) 95 const BIGNUM *x_, int y_bit, BN_CTX *ctx)
96{ 96{
@@ -172,7 +172,7 @@ ec_GF2m_simple_set_compressed_coordinates(const EC_GROUP *group, EC_POINT *point
172 * If buf is NULL, the encoded length will be returned. 172 * If buf is NULL, the encoded length will be returned.
173 * If the length len of buf is smaller than required an error will be returned. 173 * If the length len of buf is smaller than required an error will be returned.
174 */ 174 */
175size_t 175size_t
176ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point, 176ec_GF2m_simple_point2oct(const EC_GROUP *group, const EC_POINT *point,
177 point_conversion_form_t form, 177 point_conversion_form_t form,
178 unsigned char *buf, size_t len, BN_CTX * ctx) 178 unsigned char *buf, size_t len, BN_CTX * ctx)