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/cxgbe/crypto/t4_keyctx.c | |
parent | 45cd18ec73dcd262612898bf1a263cacde17d348 (diff) | |
download | src-d8787d4f7848bad8bd69325969806e1a76d0c3df.tar.gz src-d8787d4f7848bad8bd69325969806e1a76d0c3df.zip |
crypto: Constify all transform descriptors
No functional change intended.
Reviewed by: ae, jhb
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D31196
Diffstat (limited to 'sys/dev/cxgbe/crypto/t4_keyctx.c')
-rw-r--r-- | sys/dev/cxgbe/crypto/t4_keyctx.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/cxgbe/crypto/t4_keyctx.c b/sys/dev/cxgbe/crypto/t4_keyctx.c index b64eb4ff23d7..136aba759a08 100644 --- a/sys/dev/cxgbe/crypto/t4_keyctx.c +++ b/sys/dev/cxgbe/crypto/t4_keyctx.c @@ -349,7 +349,7 @@ t4_copy_partial_hash(int alg, union authctx *auth_ctx, void *dst) } void -t4_init_hmac_digest(struct auth_hash *axf, u_int partial_digest_len, +t4_init_hmac_digest(const struct auth_hash *axf, u_int partial_digest_len, const char *key, int klen, char *dst) { union authctx auth_ctx; @@ -532,7 +532,7 @@ void t4_tls_key_ctx(const struct ktls_session *tls, int direction, struct tls_keyctx *kctx) { - struct auth_hash *axf; + const struct auth_hash *axf; u_int mac_key_size; char *hash; |