1
0
mirror of https://github.com/openbsd/src.git synced 2025-01-03 06:45:37 -08:00

One empty line is enough

This commit is contained in:
tb 2024-04-23 10:52:08 +00:00
parent c222e9aef8
commit 5fa462d5a6

View File

@ -1,4 +1,4 @@
/* $OpenBSD: ec_lib.c,v 1.66 2024/04/10 15:01:31 beck Exp $ */
/* $OpenBSD: ec_lib.c,v 1.67 2024/04/23 10:52:08 tb Exp $ */
/*
* Originally written by Bodo Moeller for the OpenSSL project.
*/
@ -112,7 +112,6 @@ EC_GROUP_new(const EC_METHOD *meth)
}
LCRYPTO_ALIAS(EC_GROUP_new);
void
EC_GROUP_free(EC_GROUP *group)
{
@ -188,12 +187,10 @@ EC_GROUP_copy(EC_GROUP *dest, const EC_GROUP *src)
dest->seed_len = 0;
}
return dest->meth->group_copy(dest, src);
}
LCRYPTO_ALIAS(EC_GROUP_copy);
EC_GROUP *
EC_GROUP_dup(const EC_GROUP *a)
{
@ -208,7 +205,6 @@ EC_GROUP_dup(const EC_GROUP *a)
}
LCRYPTO_ALIAS(EC_GROUP_dup);
const EC_METHOD *
EC_GROUP_method_of(const EC_GROUP *group)
{
@ -216,7 +212,6 @@ EC_GROUP_method_of(const EC_GROUP *group)
}
LCRYPTO_ALIAS(EC_GROUP_method_of);
int
EC_METHOD_get_field_type(const EC_METHOD *meth)
{
@ -358,7 +353,6 @@ EC_GROUP_set_generator(EC_GROUP *group, const EC_POINT *generator,
}
LCRYPTO_ALIAS(EC_GROUP_set_generator);
const EC_POINT *
EC_GROUP_get0_generator(const EC_GROUP *group)
{
@ -399,7 +393,6 @@ EC_GROUP_get_cofactor(const EC_GROUP *group, BIGNUM *cofactor, BN_CTX *ctx)
}
LCRYPTO_ALIAS(EC_GROUP_get_cofactor);
void
EC_GROUP_set_curve_name(EC_GROUP *group, int nid)
{
@ -407,7 +400,6 @@ EC_GROUP_set_curve_name(EC_GROUP *group, int nid)
}
LCRYPTO_ALIAS(EC_GROUP_set_curve_name);
int
EC_GROUP_get_curve_name(const EC_GROUP *group)
{
@ -415,7 +407,6 @@ EC_GROUP_get_curve_name(const EC_GROUP *group)
}
LCRYPTO_ALIAS(EC_GROUP_get_curve_name);
void
EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag)
{
@ -423,7 +414,6 @@ EC_GROUP_set_asn1_flag(EC_GROUP *group, int flag)
}
LCRYPTO_ALIAS(EC_GROUP_set_asn1_flag);
int
EC_GROUP_get_asn1_flag(const EC_GROUP *group)
{
@ -431,7 +421,6 @@ EC_GROUP_get_asn1_flag(const EC_GROUP *group)
}
LCRYPTO_ALIAS(EC_GROUP_get_asn1_flag);
void
EC_GROUP_set_point_conversion_form(EC_GROUP *group,
point_conversion_form_t form)
@ -440,7 +429,6 @@ EC_GROUP_set_point_conversion_form(EC_GROUP *group,
}
LCRYPTO_ALIAS(EC_GROUP_set_point_conversion_form);
point_conversion_form_t
EC_GROUP_get_point_conversion_form(const EC_GROUP *group)
{
@ -448,7 +436,6 @@ EC_GROUP_get_point_conversion_form(const EC_GROUP *group)
}
LCRYPTO_ALIAS(EC_GROUP_get_point_conversion_form);
size_t
EC_GROUP_set_seed(EC_GROUP *group, const unsigned char *p, size_t len)
{
@ -469,7 +456,6 @@ EC_GROUP_set_seed(EC_GROUP *group, const unsigned char *p, size_t len)
}
LCRYPTO_ALIAS(EC_GROUP_set_seed);
unsigned char *
EC_GROUP_get0_seed(const EC_GROUP *group)
{
@ -477,7 +463,6 @@ EC_GROUP_get0_seed(const EC_GROUP *group)
}
LCRYPTO_ALIAS(EC_GROUP_get0_seed);
size_t
EC_GROUP_get_seed_len(const EC_GROUP *group)
{
@ -564,7 +549,6 @@ EC_GROUP_get_degree(const EC_GROUP *group)
}
LCRYPTO_ALIAS(EC_GROUP_get_degree);
int
EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx_in)
{
@ -590,7 +574,6 @@ EC_GROUP_check_discriminant(const EC_GROUP *group, BN_CTX *ctx_in)
}
LCRYPTO_ALIAS(EC_GROUP_check_discriminant);
int
EC_GROUP_cmp(const EC_GROUP *a, const EC_GROUP *b, BN_CTX *ctx)
{