]> git.ipfire.org Git - thirdparty/hostap.git/commit
crypto internal: Make MD4 PADDING array const
authorMikael Kanstrup <mikael.kanstrup@sony.com>
Tue, 19 Jun 2018 11:52:29 +0000 (13:52 +0200)
committerJouni Malinen <j@w1.fi>
Wed, 2 Jan 2019 15:26:57 +0000 (17:26 +0200)
commite5904cf4644bfe3f20cafe49a3dd2e5e5f0cf9f0
tree0c403d56790251b90de4e5414052a69ed5bc22e8
parent6ca4949ae146e84c60563017eb6bfa3c5ac6456c
crypto internal: Make MD4 PADDING array const

The PADDING array used when adding padding bits in MD4 never change
so can be made const. Making it const puts the array in .rodata
section and can save a few bytes of RAM for systems running without
virtual memory.

Signed-off-by: Mikael Kanstrup <mikael.kanstrup@sony.com>
src/crypto/md4-internal.c