Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libwebsockets
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Fork
libwebsockets
Commits
3be0c5df
Commit
3be0c5df
authored
6 years ago
by
Andy Green
Browse files
Options
Downloads
Patches
Plain Diff
genhmac: expose as VISIBLE
parent
2223bc50
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
include/libwebsockets/lws-genhash.h
+4
-4
4 additions, 4 deletions
include/libwebsockets/lws-genhash.h
with
4 additions
and
4 deletions
include/libwebsockets/lws-genhash.h
+
4
−
4
View file @
3be0c5df
...
...
@@ -138,9 +138,9 @@ lws_genhash_destroy(struct lws_genhash_ctx *ctx, void *result);
* If the return is nonzero, it failed and there is nothing needing to be
* destroyed.
*/
int
LWS_VISIBLE
LWS_EXTERN
int
LWS_WARN_UNUSED_RESULT
lws_genhmac_init
(
struct
lws_genhmac_ctx
*
ctx
,
enum
lws_genhmac_types
type
,
const
uint8_t
*
key
,
size_t
key_len
);
const
uint8_t
*
key
,
size_t
key_len
);
/** lws_genhmac_update() - digest len bytes of the buffer starting at in
*
...
...
@@ -152,7 +152,7 @@ lws_genhmac_init(struct lws_genhmac_ctx *ctx, enum lws_genhmac_types type,
*
* If the return is nonzero, it failed and needs destroying.
*/
int
LWS_VISIBLE
LWS_EXTERN
int
LWS_WARN_UNUSED_RESULT
lws_genhmac_update
(
struct
lws_genhmac_ctx
*
ctx
,
const
void
*
in
,
size_t
len
);
/** lws_genhmac_destroy() - copy out the result digest and destroy the ctx
...
...
@@ -166,6 +166,6 @@ lws_genhmac_update(struct lws_genhmac_ctx *ctx, const void *in, size_t len);
* NULL result is supported so that you can destroy the ctx cleanly on error
* conditions, where there is no valid result.
*/
int
LWS_VISIBLE
LWS_EXTERN
int
lws_genhmac_destroy
(
struct
lws_genhmac_ctx
*
ctx
,
void
*
result
);
///@}
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