From 1167ada3a1af436b1c72a60bfdae004f01bc8674 Mon Sep 17 00:00:00 2001 From: JunLin Chen Date: Mon, 4 Oct 2021 14:13:31 +0800 Subject: 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 Change-Id: If2dcc552198da05837659a560871db9084e3da37 --- meta-quanta/meta-gbs/recipes-kernel/linux/linux-nuvoton/gbs.cfg | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-quanta/meta-gbs/recipes-kernel') 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 -- cgit v1.2.3