Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
ccan
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mirror
ccan
Commits
516148fb
Commit
516148fb
authored
Mar 29, 2016
by
Jon Griffiths
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ripemd160: Fix a name typo
Signed-off-by:
Jon Griffiths
<
jon_p_griffiths@yahoo.com
>
parent
a6bb84ad
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
ccan/crypto/ripemd160/ripemd160.c
ccan/crypto/ripemd160/ripemd160.c
+2
-2
ccan/crypto/ripemd160/ripemd160.h
ccan/crypto/ripemd160/ripemd160.h
+1
-1
No files found.
ccan/crypto/ripemd160/ripemd160.c
View file @
516148fb
...
@@ -341,13 +341,13 @@ void ripemd160_done(struct ripemd160_ctx *ctx, struct ripemd160 *res)
...
@@ -341,13 +341,13 @@ void ripemd160_done(struct ripemd160_ctx *ctx, struct ripemd160 *res)
}
}
#endif
#endif
void
ripemd160
(
struct
ripemd160
*
sha
,
const
void
*
p
,
size_t
size
)
void
ripemd160
(
struct
ripemd160
*
ripemd
,
const
void
*
p
,
size_t
size
)
{
{
struct
ripemd160_ctx
ctx
;
struct
ripemd160_ctx
ctx
;
ripemd160_init
(
&
ctx
);
ripemd160_init
(
&
ctx
);
ripemd160_update
(
&
ctx
,
p
,
size
);
ripemd160_update
(
&
ctx
,
p
,
size
);
ripemd160_done
(
&
ctx
,
sha
);
ripemd160_done
(
&
ctx
,
ripemd
);
}
}
void
ripemd160_u8
(
struct
ripemd160_ctx
*
ctx
,
uint8_t
v
)
void
ripemd160_u8
(
struct
ripemd160_ctx
*
ctx
,
uint8_t
v
)
...
...
ccan/crypto/ripemd160/ripemd160.h
View file @
516148fb
...
@@ -37,7 +37,7 @@ struct ripemd160 {
...
@@ -37,7 +37,7 @@ struct ripemd160 {
* The bytes pointed to by @p is RIPEMD160 hashed into @ripemd160. This is
* The bytes pointed to by @p is RIPEMD160 hashed into @ripemd160. This is
* equivalent to ripemd160_init(), ripemd160_update() then ripemd160_done().
* equivalent to ripemd160_init(), ripemd160_update() then ripemd160_done().
*/
*/
void
ripemd160
(
struct
ripemd160
*
sha
,
const
void
*
p
,
size_t
size
);
void
ripemd160
(
struct
ripemd160
*
ripemd
,
const
void
*
p
,
size_t
size
);
/**
/**
* struct ripemd160_ctx - structure to store running context for ripemd160
* struct ripemd160_ctx - structure to store running context for ripemd160
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment