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
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Brian Smith
nettle
Commits
4a1f5240
Commit
4a1f5240
authored
13 years ago
by
Niels Möller
Browse files
Options
Downloads
Patches
Plain Diff
Declare hmac-ripemd160 functions.
Rev: nettle/hmac.h:1.5
parent
6c8fd4de
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hmac.h
+16
-0
16 additions, 0 deletions
hmac.h
with
16 additions
and
0 deletions
hmac.h
+
16
−
0
View file @
4a1f5240
...
@@ -103,6 +103,22 @@ hmac_md5_digest(struct hmac_md5_ctx *ctx,
...
@@ -103,6 +103,22 @@ hmac_md5_digest(struct hmac_md5_ctx *ctx,
unsigned
length
,
uint8_t
*
digest
);
unsigned
length
,
uint8_t
*
digest
);
/* hmac-ripemd160 */
struct
hmac_ripemd160_ctx
HMAC_CTX
(
struct
ripemd160_ctx
);
void
hmac_ripemd160_set_key
(
struct
hmac_ripemd160_ctx
*
ctx
,
unsigned
key_length
,
const
uint8_t
*
key
);
void
hmac_ripemd160_update
(
struct
hmac_ripemd160_ctx
*
ctx
,
unsigned
length
,
const
uint8_t
*
data
);
void
hmac_ripemd160_digest
(
struct
hmac_ripemd160_ctx
*
ctx
,
unsigned
length
,
uint8_t
*
digest
);
/* hmac-sha1 */
/* hmac-sha1 */
struct
hmac_sha1_ctx
HMAC_CTX
(
struct
sha1_ctx
);
struct
hmac_sha1_ctx
HMAC_CTX
(
struct
sha1_ctx
);
...
...
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