summaryrefslogtreecommitdiff
path: root/meta-quanta
diff options
context:
space:
mode:
authorJunLin Chen <Jun-Lin.Chen@quantatw.com>2021-10-04 09:13:31 +0300
committerJun-Lin.Chen <Jun-Lin.Chen@quantatw.com>2021-10-05 04:16:25 +0300
commit1167ada3a1af436b1c72a60bfdae004f01bc8674 (patch)
tree84d4a664e85a67ae31e444ecd70e5358172fd292 /meta-quanta
parentcd2ca2686510fa62bfc3172d2451a78a623c935a (diff)
downloadopenbmc-1167ada3a1af436b1c72a60bfdae004f01bc8674.tar.xz
meta-quanta: gbs: enable hash api for systemd
Kernel crypto/hash API CONFIG_CRYPTO_HMAC CONFIG_CRYPTO_SHA256 CONFIG_CRYPTO_USER_API_HASH The requirement can be found at https://github.com/systemd/systemd/blob/master/README This API is necessary for the UUID feature that you can find the implementation in the bmcweb. https://github.com/openbmc/bmcweb/blob/master/redfish-core/include/utils/systemd_utils.hpp Refer https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/31523 but these were removed in https://gerrit.openbmc-project.xyz/c/openbmc/openbmc/+/41257 Signed-off-by: JunLin Chen <Jun-Lin.Chen@quantatw.com> Change-Id: If2dcc552198da05837659a560871db9084e3da37
Diffstat (limited to 'meta-quanta')
-rw-r--r--meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg
index 0fca8252f..324af83c0 100644
--- a/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg
+++ b/meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg
@@ -119,3 +119,8 @@ CONFIG_MTD_M25P80=y
CONFIG_MUX_MMIO=y
CONFIG_NPCM7XX_LPC_BPC=y
CONFIG_MTD_PARTITIONED_MASTER=y
+
+# Enable hmac api for UUID
+CONFIG_CRYPTO_HMAC=y
+CONFIG_CRYPTO_SHA256=y
+CONFIG_CRYPTO_USER_API_HASH=y