diff options
| author | tb <> | 2021-09-08 17:29:21 +0000 |
|---|---|---|
| committer | tb <> | 2021-09-08 17:29:21 +0000 |
| commit | bb3ed186af675577b3dc493706d7c8cceca9243d (patch) | |
| tree | 485cf97ff684d5d16d39d0844f1d400d6316796e /src/lib/libcrypto/ec/ec2_smpl.c | |
| parent | e4796a9e5bd3d12ef6b7466ed42d000a6e20f786 (diff) | |
| download | openbsd-bb3ed186af675577b3dc493706d7c8cceca9243d.tar.gz openbsd-bb3ed186af675577b3dc493706d7c8cceca9243d.tar.bz2 openbsd-bb3ed186af675577b3dc493706d7c8cceca9243d.zip | |
Prepare to provide EC_GROUP_order_bits()
ok jsing
Diffstat (limited to 'src/lib/libcrypto/ec/ec2_smpl.c')
| -rw-r--r-- | src/lib/libcrypto/ec/ec2_smpl.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/lib/libcrypto/ec/ec2_smpl.c b/src/lib/libcrypto/ec/ec2_smpl.c index f99615a0d5..9f3b380bfe 100644 --- a/src/lib/libcrypto/ec/ec2_smpl.c +++ b/src/lib/libcrypto/ec/ec2_smpl.c | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | /* $OpenBSD: ec2_smpl.c,v 1.22 2021/04/20 17:16:37 tb Exp $ */ | 1 | /* $OpenBSD: ec2_smpl.c,v 1.23 2021/09/08 17:29:21 tb Exp $ */ |
| 2 | /* ==================================================================== | 2 | /* ==================================================================== |
| 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. | 3 | * Copyright 2002 Sun Microsystems, Inc. ALL RIGHTS RESERVED. |
| 4 | * | 4 | * |
| @@ -88,17 +88,18 @@ EC_GF2m_simple_method(void) | |||
| 88 | .group_set_curve = ec_GF2m_simple_group_set_curve, | 88 | .group_set_curve = ec_GF2m_simple_group_set_curve, |
| 89 | .group_get_curve = ec_GF2m_simple_group_get_curve, | 89 | .group_get_curve = ec_GF2m_simple_group_get_curve, |
| 90 | .group_get_degree = ec_GF2m_simple_group_get_degree, | 90 | .group_get_degree = ec_GF2m_simple_group_get_degree, |
| 91 | .group_order_bits = ec_group_simple_order_bits, | ||
| 91 | .group_check_discriminant = | 92 | .group_check_discriminant = |
| 92 | ec_GF2m_simple_group_check_discriminant, | 93 | ec_GF2m_simple_group_check_discriminant, |
| 93 | .point_init = ec_GF2m_simple_point_init, | 94 | .point_init = ec_GF2m_simple_point_init, |
| 94 | .point_finish = ec_GF2m_simple_point_finish, | 95 | .point_finish = ec_GF2m_simple_point_finish, |
| 95 | .point_clear_finish = ec_GF2m_simple_point_clear_finish, | 96 | .point_clear_finish = ec_GF2m_simple_point_clear_finish, |
| 96 | .point_copy = ec_GF2m_simple_point_copy, | 97 | .point_copy = ec_GF2m_simple_point_copy, |
| 97 | .point_set_to_infinity = ec_GF2m_simple_point_set_to_infinity, | 98 | .point_set_to_infinity = ec_GF2m_simple_point_set_to_infinity, |
| 98 | .point_set_affine_coordinates = | 99 | .point_set_affine_coordinates = |
| 99 | ec_GF2m_simple_point_set_affine_coordinates, | 100 | ec_GF2m_simple_point_set_affine_coordinates, |
| 100 | .point_get_affine_coordinates = | 101 | .point_get_affine_coordinates = |
| 101 | ec_GF2m_simple_point_get_affine_coordinates, | 102 | ec_GF2m_simple_point_get_affine_coordinates, |
| 102 | .add = ec_GF2m_simple_add, | 103 | .add = ec_GF2m_simple_add, |
| 103 | .dbl = ec_GF2m_simple_dbl, | 104 | .dbl = ec_GF2m_simple_dbl, |
| 104 | .invert = ec_GF2m_simple_invert, | 105 | .invert = ec_GF2m_simple_invert, |
