Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
N
nettle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nettle
nettle
Commits
7c395bff
Commit
7c395bff
authored
5 years ago
by
Dmitry Baryshkov
Committed by
Niels Möller
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
gost gc512a: rename functions to follow usual pattern
Signed-off-by:
Dmitry Baryshkov
<
dbaryshkov@gmail.com
>
parent
cf4675dc
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ecc-gost-gc512a.c
+7
-7
7 additions, 7 deletions
ecc-gost-gc512a.c
with
7 additions
and
7 deletions
ecc-gost-gc512a.c
+
7
−
7
View file @
7c395bff
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
#include
"ecc-gost-gc512a.h"
#include
"ecc-gost-gc512a.h"
static
void
static
void
ecc_gc512a_modp
(
const
struct
ecc_modulo
*
m
,
mp_limb_t
*
rp
)
ecc_
gost_
gc512a_modp
(
const
struct
ecc_modulo
*
m
,
mp_limb_t
*
rp
)
{
{
mp_size_t
mn
=
m
->
size
;
mp_size_t
mn
=
m
->
size
;
mp_limb_t
hi
;
mp_limb_t
hi
;
...
@@ -54,8 +54,8 @@ ecc_gc512a_modp (const struct ecc_modulo *m, mp_limb_t *rp)
...
@@ -54,8 +54,8 @@ ecc_gc512a_modp (const struct ecc_modulo *m, mp_limb_t *rp)
assert
(
hi
==
0
);
assert
(
hi
==
0
);
}
}
#define ecc_gc512a_modp ecc_gc512a_modp
#define ecc_
gost_
gc512a_modp ecc_
gost_
gc512a_modp
#define ecc_gc512a_modq ecc_mod
#define ecc_
gost_
gc512a_modq ecc_mod
const
struct
ecc_curve
_nettle_gost_gc512a
=
const
struct
ecc_curve
_nettle_gost_gc512a
=
{
{
...
@@ -73,8 +73,8 @@ const struct ecc_curve _nettle_gost_gc512a =
...
@@ -73,8 +73,8 @@ const struct ecc_curve _nettle_gost_gc512a =
ecc_redc_ppm1
,
ecc_redc_ppm1
,
ecc_pp1h
,
ecc_pp1h
,
ecc_gc512a_modp
,
ecc_
gost_
gc512a_modp
,
ecc_gc512a_modp
,
ecc_
gost_
gc512a_modp
,
ecc_mod_inv
,
ecc_mod_inv
,
NULL
,
NULL
,
},
},
...
@@ -92,8 +92,8 @@ const struct ecc_curve _nettle_gost_gc512a =
...
@@ -92,8 +92,8 @@ const struct ecc_curve _nettle_gost_gc512a =
NULL
,
NULL
,
ecc_qp1h
,
ecc_qp1h
,
ecc_gc512a_modq
,
ecc_
gost_
gc512a_modq
,
ecc_gc512a_modq
,
ecc_
gost_
gc512a_modq
,
ecc_mod_inv
,
ecc_mod_inv
,
NULL
,
NULL
,
},
},
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment