diff options
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/amd64/amd64/aesni.c | 6 | ||||
-rw-r--r-- | sys/arch/amd64/amd64/via.c | 6 | ||||
-rw-r--r-- | sys/arch/arm64/arm64/cryptox.c | 6 | ||||
-rw-r--r-- | sys/arch/i386/i386/via.c | 6 | ||||
-rw-r--r-- | sys/arch/i386/pci/glxsb.c | 10 | ||||
-rw-r--r-- | sys/arch/octeon/dev/octcrypto.c | 6 |
6 files changed, 20 insertions, 20 deletions
diff --git a/sys/arch/amd64/amd64/aesni.c b/sys/arch/amd64/amd64/aesni.c index 17b340194e0..d2e0aa14028 100644 --- a/sys/arch/amd64/amd64/aesni.c +++ b/sys/arch/amd64/amd64/aesni.c @@ -1,4 +1,4 @@ -/* $OpenBSD: aesni.c,v 1.49 2019/03/16 16:33:59 visa Exp $ */ +/* $OpenBSD: aesni.c,v 1.50 2021/07/08 09:22:30 bluhm Exp $ */ /*- * Copyright (c) 2003 Jason Wright * Copyright (c) 2003, 2004 Theo de Raadt @@ -178,7 +178,7 @@ aesni_newsession(u_int32_t *sidp, struct cryptoini *cri) struct aesni_session *ses = NULL; struct aesni_aes_ctx *aes1, *aes2; struct cryptoini *c; - struct auth_hash *axf; + const struct auth_hash *axf; struct swcr_data *swd; int i; @@ -363,7 +363,7 @@ void aesni_free(struct aesni_session *ses) { struct swcr_data *swd; - struct auth_hash *axf; + const struct auth_hash *axf; if (ses->ses_ghash) { explicit_bzero(ses->ses_ghash, sizeof(GHASH_CTX)); diff --git a/sys/arch/amd64/amd64/via.c b/sys/arch/amd64/amd64/via.c index e717def502b..c2b162457d7 100644 --- a/sys/arch/amd64/amd64/via.c +++ b/sys/arch/amd64/amd64/via.c @@ -1,4 +1,4 @@ -/* $OpenBSD: via.c,v 1.33 2020/05/29 04:42:23 deraadt Exp $ */ +/* $OpenBSD: via.c,v 1.34 2021/07/08 09:22:30 bluhm Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -114,7 +114,7 @@ viac3_crypto_newsession(u_int32_t *sidp, struct cryptoini *cri) struct cryptoini *c; struct viac3_softc *sc = vc3_sc; struct viac3_session *ses = NULL; - struct auth_hash *axf; + const struct auth_hash *axf; struct swcr_data *swd; int sesn, i, cw0; @@ -271,7 +271,7 @@ viac3_crypto_freesession(u_int64_t tid) { struct viac3_softc *sc = vc3_sc; struct swcr_data *swd; - struct auth_hash *axf; + const struct auth_hash *axf; int sesn; u_int32_t sid = ((u_int32_t)tid) & 0xffffffff; diff --git a/sys/arch/arm64/arm64/cryptox.c b/sys/arch/arm64/arm64/cryptox.c index 5542a485f16..ab18895752d 100644 --- a/sys/arch/arm64/arm64/cryptox.c +++ b/sys/arch/arm64/arm64/cryptox.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cryptox.c,v 1.1 2021/02/21 14:55:17 tobhe Exp $ */ +/* $OpenBSD: cryptox.c,v 1.2 2021/07/08 09:22:30 bluhm Exp $ */ /* * Copyright (c) 2003 Jason Wright * Copyright (c) 2003, 2004 Theo de Raadt @@ -143,7 +143,7 @@ cryptox_newsession(u_int32_t *sidp, struct cryptoini *cri) { struct cryptox_session *ses = NULL; struct cryptoini *c; - struct auth_hash *axf; + const struct auth_hash *axf; struct swcr_data *swd; int i; @@ -280,7 +280,7 @@ void cryptox_free(struct cryptox_session *ses) { struct swcr_data *swd; - struct auth_hash *axf; + const struct auth_hash *axf; if (ses->ses_swd) { swd = ses->ses_swd; diff --git a/sys/arch/i386/i386/via.c b/sys/arch/i386/i386/via.c index c4bf4cd5952..dd389d29323 100644 --- a/sys/arch/i386/i386/via.c +++ b/sys/arch/i386/i386/via.c @@ -1,4 +1,4 @@ -/* $OpenBSD: via.c,v 1.46 2020/05/29 04:42:24 deraadt Exp $ */ +/* $OpenBSD: via.c,v 1.47 2021/07/08 09:22:30 bluhm Exp $ */ /* $NetBSD: machdep.c,v 1.214 1996/11/10 03:16:17 thorpej Exp $ */ /*- @@ -115,7 +115,7 @@ viac3_crypto_newsession(u_int32_t *sidp, struct cryptoini *cri) struct cryptoini *c; struct viac3_softc *sc = vc3_sc; struct viac3_session *ses = NULL; - struct auth_hash *axf; + const struct auth_hash *axf; struct swcr_data *swd; int sesn, i, cw0; @@ -272,7 +272,7 @@ viac3_crypto_freesession(u_int64_t tid) { struct viac3_softc *sc = vc3_sc; struct swcr_data *swd; - struct auth_hash *axf; + const struct auth_hash *axf; int sesn; u_int32_t sid = ((u_int32_t)tid) & 0xffffffff; diff --git a/sys/arch/i386/pci/glxsb.c b/sys/arch/i386/pci/glxsb.c index ff6047ba78a..6cdb3034d25 100644 --- a/sys/arch/i386/pci/glxsb.c +++ b/sys/arch/i386/pci/glxsb.c @@ -1,4 +1,4 @@ -/* $OpenBSD: glxsb.c,v 1.36 2020/05/29 04:42:24 deraadt Exp $ */ +/* $OpenBSD: glxsb.c,v 1.37 2021/07/08 09:22:30 bluhm Exp $ */ /* * Copyright (c) 2006 Tom Cosgrove <tom@openbsd.org> @@ -357,8 +357,8 @@ glxsb_crypto_newsession(uint32_t *sidp, struct cryptoini *cri) { struct glxsb_softc *sc = glxsb_sc; struct glxsb_session *ses = NULL; - struct auth_hash *axf; - struct enc_xform *txf; + const struct auth_hash *axf; + const struct enc_xform *txf; struct cryptoini *c; struct swcr_data *swd; int sesn, i; @@ -509,8 +509,8 @@ glxsb_crypto_freesession(uint64_t tid) { struct glxsb_softc *sc = glxsb_sc; struct swcr_data *swd; - struct auth_hash *axf; - struct enc_xform *txf; + const struct auth_hash *axf; + const struct enc_xform *txf; int sesn; uint32_t sid = ((uint32_t)tid) & 0xffffffff; diff --git a/sys/arch/octeon/dev/octcrypto.c b/sys/arch/octeon/dev/octcrypto.c index b77f151c319..abfa258dce2 100644 --- a/sys/arch/octeon/dev/octcrypto.c +++ b/sys/arch/octeon/dev/octcrypto.c @@ -1,4 +1,4 @@ -/* $OpenBSD: octcrypto.c,v 1.4 2021/02/25 02:48:19 dlg Exp $ */ +/* $OpenBSD: octcrypto.c,v 1.5 2021/07/08 09:22:30 bluhm Exp $ */ /* * Copyright (c) 2018 Visa Hankala @@ -299,7 +299,7 @@ octcrypto_get(struct octcrypto_softc *sc, uint32_t sid) void octcrypto_free(struct octcrypto_session *ses) { - struct auth_hash *axf; + const struct auth_hash *axf; struct swcr_data *swd; if (ses->ses_swd != NULL) { @@ -333,7 +333,7 @@ int octcrypto_newsession(uint32_t *sidp, struct cryptoini *cri) { uint64_t block[ndwords(HMAC_MAX_BLOCK_LEN)]; - struct auth_hash *axf; + const struct auth_hash *axf; struct cryptoini *c; const struct octcrypto_hmac *hmac = NULL; struct octcrypto_softc *sc = octcrypto_sc; |