ltq-deu: make deu hash lock global and remove md5_hmac_ exports
authorDaniel Kestrel <kestrel1974@t-online.de>
Sat, 5 Jun 2021 19:37:53 +0000 (21:37 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Wed, 5 Jan 2022 23:22:48 +0000 (00:22 +0100)
commit87a19c9345db7554441dbd10f8c4460f6629c10a
tree748cf30a44b5ad8261ba3bc1c7ec9d1f89ecc53e
parent536dc6f16467f7f029ddf30fb8d47770b3010190
ltq-deu: make deu hash lock global and remove md5_hmac_ exports

All hash algorithms use the same base IFX_HASH_CON to access the hash unit.
Parallel threads should not be able to call different hash algorithms and
therefor a global lock is required.
Fixed linker warning, that md5_hmac_init, md5_hmac_update and
md5_hmac_final are static export symbols. The export symbols are not
required, because the functions are exposed using shash_alg structure.

Signed-off-by: Daniel Kestrel <kestrel1974@t-online.de>
package/kernel/lantiq/ltq-deu/src/ifxmips_deu.c
package/kernel/lantiq/ltq-deu/src/ifxmips_deu.h
package/kernel/lantiq/ltq-deu/src/ifxmips_md5.c
package/kernel/lantiq/ltq-deu/src/ifxmips_md5_hmac.c
package/kernel/lantiq/ltq-deu/src/ifxmips_sha1.c
package/kernel/lantiq/ltq-deu/src/ifxmips_sha1_hmac.c