Make params struct non-const
Upcoming changes will push lc_*_ctx into the params struct for higher order constructions like HMAC or HKDF.
This commit is contained in:
parent
af3fe8a67a
commit
2b3e390bbf
12 changed files with 88 additions and 89 deletions
5
auth.h
5
auth.h
|
@ -19,11 +19,10 @@
|
|||
|
||||
|
||||
struct lc_auth_impl {
|
||||
int (*init)(void *, const void *);
|
||||
int (*init)(void *, void *);
|
||||
int (*update)(void *, const uint8_t *, size_t);
|
||||
int (*final)(void *, uint8_t *, size_t *);
|
||||
int (*auth)(uint8_t *, size_t *, const void *, const uint8_t *,
|
||||
size_t);
|
||||
int (*auth)(uint8_t *, size_t *, void *, const uint8_t *, size_t);
|
||||
|
||||
void *(*ctx_new)(void);
|
||||
void (*ctx_free)(void *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue