aboutsummaryrefslogtreecommitdiff
path: root/src/hkdf.h
diff options
context:
space:
mode:
authorLibravatar vnugent <public@vaughnnugent.com>2024-08-17 12:18:05 -0400
committerLibravatar vnugent <public@vaughnnugent.com>2024-08-17 12:18:05 -0400
commit0925f5c786badb715d564e991d2306632c2aecad (patch)
treebd46009803c2a136eb85ea9d8566f595ba387291 /src/hkdf.h
parent614c02097f5f173299948df279c2d3e2f9f748f9 (diff)
parent756a184762db4cb0a9945d066b59d0e2f58c18d8 (diff)
Merge branch 'develop' into c-sharp
Diffstat (limited to 'src/hkdf.h')
-rw-r--r--src/hkdf.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/hkdf.h b/src/hkdf.h
index 460e203..50ee6e8 100644
--- a/src/hkdf.h
+++ b/src/hkdf.h
@@ -42,20 +42,20 @@
/* typedefs for hdkf callback functions */
-typedef cstatus_t (*hmac_hash_func)(void* ctx, const cspan_t* data);
+typedef cstatus_t (*hmac_hash_fn)(void* ctx, cspan_t data);
typedef cstatus_t (*hmac_finish_fn)(void* ctx, sha256_t hmacOut32);
struct nc_hkdf_fn_cb_struct
{
- hmac_hash_func update;
+ hmac_hash_fn update;
hmac_finish_fn finish;
};
cstatus_t hkdfExpandProcess(
const struct nc_hkdf_fn_cb_struct* handler,
void* ctx,
- const cspan_t* info,
- span_t* okm
+ cspan_t info,
+ span_t okm
);
#endif /* !_NC_HKDF_H */