]> git.baikalelectronics.ru Git - arm-tf.git/commit
refactor(crypto): change CRYPTO_SUPPORT flag to numeric
authorManish V Badarkhe <Manish.Badarkhe@arm.com>
Mon, 20 Jun 2022 14:32:38 +0000 (15:32 +0100)
committerManish V Badarkhe <Manish.Badarkhe@arm.com>
Wed, 5 Oct 2022 14:25:28 +0000 (15:25 +0100)
commit2bf4f27f58ae510d428e3b55f020691a54bcba6f
tree825c3335c97430e33b175ab9c275edfb3c68c78b
parent8b653909b7e2371c6dcddbeac112b9671c886f34
refactor(crypto): change CRYPTO_SUPPORT flag to numeric

Updated CRYPTO_SUPPORT flag to numeric to provide below
supports -
1. CRYPTO_SUPPORT = 1 -> Authentication verification only
2. CRYPTO_SUPPORT = 2 -> Hash calculation only
3. CRYPTO_SUPPORT = 3 -> Authentication verification and
                         hash calculation

Change-Id: Ib34f31457a6c87d2356d736ad2d048dc787da56f
Signed-off-by: Manish V Badarkhe <Manish.Badarkhe@arm.com>
Makefile
drivers/auth/crypto_mod.c
drivers/auth/mbedtls/mbedtls_crypto.c
include/drivers/auth/crypto_mod.h