diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2021-07-26 20:41:05 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2021-07-26 20:41:05 +0000 |
| commit | d8787d4f7848bad8bd69325969806e1a76d0c3df (patch) | |
| tree | e4a527273715df2fa754b500a51a64f1457bd599 /sys/dev/safexcel | |
| parent | 45cd18ec73dcd262612898bf1a263cacde17d348 (diff) | |
Diffstat (limited to 'sys/dev/safexcel')
| -rw-r--r-- | sys/dev/safexcel/safexcel.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/safexcel/safexcel.c b/sys/dev/safexcel/safexcel.c index 71300dcb0393..3940361561d0 100644 --- a/sys/dev/safexcel/safexcel.c +++ b/sys/dev/safexcel/safexcel.c @@ -1318,7 +1318,7 @@ safexcel_setkey_xcbcmac(const uint8_t *key, int klen, uint32_t *hashkey) } static void -safexcel_setkey_hmac_digest(struct auth_hash *ahash, union authctx *ctx, +safexcel_setkey_hmac_digest(const struct auth_hash *ahash, union authctx *ctx, char *buf) { int hashwords, i; @@ -1360,7 +1360,7 @@ safexcel_setkey_hmac(const struct crypto_session_params *csp, const uint8_t *key, int klen, uint8_t *ipad, uint8_t *opad) { union authctx ctx; - struct auth_hash *ahash; + const struct auth_hash *ahash; ahash = crypto_auth_hash(csp); hmac_init_ipad(ahash, key, klen, &ctx); |
