The properties of the crypto algorithms never change. Declare them
authorbluhm <bluhm@openbsd.org>
Thu, 8 Jul 2021 09:22:30 +0000 (09:22 +0000)
committerbluhm <bluhm@openbsd.org>
Thu, 8 Jul 2021 09:22:30 +0000 (09:22 +0000)
commit4d13edafd1556c325e8621f0e923cbad9c54e4e5
tree6206ada5e935370157660a9d8973cd757ecd3d25
parent82c893686e8f24841a21b7859da5ed39f6775e2a
The properties of the crypto algorithms never change.  Declare them
constant.  Then they are mapped as read only.
OK deraadt@ dlg@
14 files changed:
sys/arch/amd64/amd64/aesni.c
sys/arch/amd64/amd64/via.c
sys/arch/arm64/arm64/cryptox.c
sys/arch/i386/i386/via.c
sys/arch/i386/pci/glxsb.c
sys/arch/octeon/dev/octcrypto.c
sys/crypto/cryptosoft.c
sys/crypto/cryptosoft.h
sys/crypto/xform.c
sys/crypto/xform.h
sys/netinet/ip_ah.c
sys/netinet/ip_esp.c
sys/netinet/ip_ipcomp.c
sys/netinet/ip_ipsp.h